Author: dennyxu
Date: 2009-01-22 04:37:35 -0500 (Thu, 22 Jan 2009)
New Revision: 13181
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
Log:
JBIDE-3609:Warning message should disappear after select ESB runtime from drop-down list
in ESB Project creation wizard
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2009-01-22
08:24:49 UTC (rev 13180)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2009-01-22
09:37:35 UTC (rev 13181)
@@ -35,3 +35,4 @@
org.eclipse.jdt.ui;bundle-version="3.4.1"
Eclipse-LazyStart: true
Bundle-Vendor: %Bundle-Vendor.0
+Export-Package: org.jboss.tools.esb.project.ui
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java
===================================================================
---
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2009-01-22
08:24:49 UTC (rev 13180)
+++
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/wizards/pages/ESBFacetInstallationPage.java 2009-01-22
09:37:35 UTC (rev 13181)
@@ -387,7 +387,8 @@
ESBProjectPlugin.getDefault().getLog().log(e.getStatus());
return false;
}
-
+ // remove the warning message when users change server runtime to a server runtime that
contains ESB runtime
+ setMessage(null);
return true;
}
@@ -532,6 +533,10 @@
return;
}else{
setErrorMessage(null);
+ // try to remove the warning message once the target server runtime doesn't
contains a ESB runtime.
+ if(btnUserSupplied.getSelection()){
+ setMessage(null);
+ }
hasRuntime = true;
hasValidSrc = true;
hasValidContentFolder = true;