Author: akazakov
Date: 2008-07-22 14:32:15 -0400 (Tue, 22 Jul 2008)
New Revision: 9220
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/DataModelValidatorDelegate.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2557 Fixed
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/DataModelValidatorDelegate.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/DataModelValidatorDelegate.java 2008-07-22
17:18:12 UTC (rev 9219)
+++
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/internal/project/facet/DataModelValidatorDelegate.java 2008-07-22
18:32:15 UTC (rev 9220)
@@ -75,16 +75,20 @@
public void propertyChanged(DataModelEvent event) {
validateUntillError();
}
-
+
/**
*
*/
public void validateUntillError() {
page.setErrorMessage(getFirstValidationError());
- page.setPageComplete(page.getErrorMessage()==null);
+ Display.getDefault().asyncExec(new Runnable() {
+ public void run() {
+ page.setPageComplete(page.getErrorMessage()==null);
+ }
+ });
if(page.getErrorMessage()==null) page.setMessage(null);
}
-
+
/**
*
* @return