Author: dmaliarevich
Date: 2009-08-19 08:51:09 -0400 (Wed, 19 Aug 2009)
New Revision: 17159
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.resref/src/org/jboss/tools/vpe/resref/core/ELReferenceWizardPage.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4788, validation listener for EL value field was
added.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.resref/src/org/jboss/tools/vpe/resref/core/ELReferenceWizardPage.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.resref/src/org/jboss/tools/vpe/resref/core/ELReferenceWizardPage.java 2009-08-19
12:45:45 UTC (rev 17158)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.resref/src/org/jboss/tools/vpe/resref/core/ELReferenceWizardPage.java 2009-08-19
12:51:09 UTC (rev 17159)
@@ -77,6 +77,8 @@
gd = new GridData(SWT.FILL, SWT.NONE, true, false);
elValue.setLayoutData(gd);
elValue.setText(elValueStr);
+ elValue.addListener(SWT.Selection, this);
+ elValue.addListener(SWT.Modify, this);
/*
* Dialog's control should be initialized.