Author: adietish
Date: 2010-12-08 07:45:41 -0500 (Wed, 08 Dec 2010)
New Revision: 27226
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
Log:
[JBIDE-7836] corrected tab order (bad widget creation order)
Modified: trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog
===================================================================
--- trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-12-08 12:40:43
UTC (rev 27225)
+++ trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/ChangeLog 2010-12-08 12:45:41
UTC (rev 27226)
@@ -1,5 +1,7 @@
2010-12-08 André Dietisheim <adietish(a)redhat.com>
+ * src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
(createWidgets):
+ [JBIDE-7836] corrected tab order (bad widget creation order)
* src/org/jboss/tools/internal/deltacloud/ui/wizards/FindImageWizard.java:
renamed FindImage to FindImageWizard since it is a wizard
Modified:
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java
===================================================================
---
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2010-12-08
12:40:43 UTC (rev 27225)
+++
trunk/deltacloud/plugins/org.jboss.tools.deltacloud.ui/src/org/jboss/tools/internal/deltacloud/ui/wizards/NewInstancePage.java 2010-12-08
12:45:41 UTC (rev 27226)
@@ -103,7 +103,6 @@
private DeltaCloudHardwareProfile[] allProfiles;
private List<DeltaCloudRealm> realms;
- private Label imageLabel, archLabel, nameLabel, realmLabel;
private Group groupContainer;
private ModifyListener comboListener = new ModifyListener() {
@@ -317,29 +316,27 @@
container.setLayout(layout);
Label dummyLabel = new Label(container, SWT.NULL);
- imageLabel = new Label(container, SWT.NULL);
- imageLabel.setText(WizardMessages.getString(IMAGE_LABEL));
- archLabel = new Label(container, SWT.NULL);
- archLabel.setText(WizardMessages.getString(ARCH_LABEL));
-
- nameLabel = new Label(container, SWT.NULL);
+ Label nameLabel = new Label(container, SWT.NULL);
nameLabel.setText(WizardMessages.getString(NAME_LABEL));
+ nameText = new Text(container, SWT.BORDER | SWT.SINGLE);
- realmLabel = new Label(container, SWT.NULL);
+ Label imageLabel = new Label(container, SWT.NULL);
+ imageLabel.setText(WizardMessages.getString(IMAGE_LABEL));
+ imageText = new Text(container, SWT.BORDER | SWT.SINGLE);
+
+ Label realmLabel = new Label(container, SWT.NULL);
realmLabel.setText(WizardMessages.getString(REALM_LABEL));
- nameText = new Text(container, SWT.BORDER | SWT.SINGLE);
-
// createRealmsControl(container, getRealmNames(realms));
createRealmsControl(container);
- imageText = new Text(container, SWT.BORDER | SWT.SINGLE);
-
findImage = new Button(container, SWT.NULL);
findImage.setText(WizardMessages.getString(FIND_BUTTON_LABEL));
findImage.addSelectionListener(findListener);
+ Label archLabel = new Label(container, SWT.NULL);
+ archLabel.setText(WizardMessages.getString(ARCH_LABEL));
arch = new Label(container, SWT.NULL);
Label hardwareLabel = new Label(container, SWT.NULL);
Show replies by date