Author: adietish
Date: 2011-10-05 20:06:18 -0400 (Wed, 05 Oct 2011)
New Revision: 35408
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationDetailsDialog.java
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewApplicationWizardPage.java
Log:
[JBIDE-9793] added link to application url (public url), tried to fix combo selection in
"NewApplicationWizardPage" (is still not working: no initial selection, no
validation)
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationDetailsDialog.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationDetailsDialog.java 2011-10-05
23:54:27 UTC (rev 35407)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/ApplicationDetailsDialog.java 2011-10-06
00:06:18 UTC (rev 35408)
@@ -114,7 +114,7 @@
Label label = new Label(container, SWT.None);
label.setText(name);
GridDataFactory.fillDefaults().align(SWT.LEFT, SWT.CENTER).applyTo(label);
- Text text = new Text(container, SWT.BORDER);
+ Text text = new Text(container, SWT.NONE);
text.setEditable(false);
text.setBackground(container.getBackground());
GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).grab(true,
false).applyTo(text);
Modified:
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewApplicationWizardPage.java
===================================================================
---
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewApplicationWizardPage.java 2011-10-05
23:54:27 UTC (rev 35407)
+++
trunk/as/plugins/org.jboss.tools.openshift.express.ui/src/org/jboss/tools/openshift/express/internal/ui/wizard/NewApplicationWizardPage.java 2011-10-06
00:06:18 UTC (rev 35408)
@@ -96,7 +96,8 @@
@Override
public Object convert(Object fromObject) {
- if (fromObject instanceof String) {
+ if (fromObject instanceof String
+ && ((String) fromObject).length() > 0) {
return new Cartridge(((String) fromObject));
}
return null;
Show replies by date