Author: adietish
Date: 2011-02-04 09:10:25 -0500 (Fri, 04 Feb 2011)
New Revision: 29003
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
Log:
[JBIDE-8093] added field decorations and appropriate error texts
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-02-04
14:08:44 UTC (rev 29002)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.integration/src/org/jboss/tools/deltacloud/integration/wizard/RSEandASWizardPage.java 2011-02-04
14:10:25 UTC (rev 29003)
@@ -293,19 +293,15 @@
deployFolderDeco.show();
}
} else if (autoScanCheck.getSelection()) {
- if (autoLocalRuntimeCombo.getSelectionIndex() < 0) {
- autoLocalRuntimeDeco.show();
- error = SELECT_RUNTIME_ERROR;
- }
if (remoteDetailsLoc.getText().equals("")) {
remoteDetailsLocDeco.show();
error = REMOTE_DETAILS_LOC_ERROR;
}
- } else if (hardCodeServerDetails.getSelection()) {
- if (localRuntimeCombo.getSelectionIndex() < 0) {
- localRuntimeDeco.show();
+ if (autoLocalRuntimeCombo.getSelectionIndex() < 0) {
+ autoLocalRuntimeDeco.show();
error = SELECT_RUNTIME_ERROR;
}
+ } else if (hardCodeServerDetails.getSelection()) {
if (serverHomeText.getText().equals("")) {
serverHomeDeco.show();
error = SERVER_HOME_ERROR;
@@ -314,6 +310,10 @@
serverConfigDeco.show();
error = SERVER_CONFIG_ERROR;
}
+ if (localRuntimeCombo.getSelectionIndex() < 0) {
+ localRuntimeDeco.show();
+ error = SELECT_RUNTIME_ERROR;
+ }
}
}
setErrorMessage(error);
Show replies by date