Author: adietish
Date: 2011-10-25 11:59:20 -0400 (Tue, 25 Oct 2011)
New Revision: 35983
Modified:
trunk/as/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/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java
===================================================================
---
trunk/as/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)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/AdapterWizardPage.java 2011-10-25
15:59:20 UTC (rev 35983)
@@ -518,8 +518,7 @@
serverTypeToCreate = getServerTypeToCreate();
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