Author: adietish
Date: 2011-10-25 11:58:59 -0400 (Tue, 25 Oct 2011)
New Revision: 35982
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java
Log:
[JBIDE-10031] only checking 'create server adapter' if a compatible server adapter
was found
Modified:
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java
===================================================================
---
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java 2011-10-25
15:37:05 UTC (rev 35981)
+++
trunk/openshift/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java 2011-10-25
15:58:59 UTC (rev 35982)
@@ -519,7 +519,7 @@
boolean canCreateServer = serverTypeToCreate != null;
serverAdapterCheckbox.setEnabled(canCreateServer);
// serverAdapterCheckbox.setSelection(canCreateServer);
- serverAdapterCheckboxObservable.setValue(true);
+ serverAdapterCheckboxObservable.setValue(canCreateServer);
enableServerWidgets(canCreateServer);
refreshValidRuntimes();
model.getParentModel().setProperty(AdapterWizardPageModel.SERVER_TYPE,
serverTypeToCreate);
Show replies by date