Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/sections/GeneralInformationSection.java12
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/pages/NewTargetWizardPage.java12
2 files changed, 12 insertions, 12 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/sections/GeneralInformationSection.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/sections/GeneralInformationSection.java
index 0733c6bc2..4149842cc 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/sections/GeneralInformationSection.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/editor/sections/GeneralInformationSection.java
@@ -118,18 +118,18 @@ public class GeneralInformationSection extends AbstractSection {
Assert.isNotNull(client);
section.setClient(client);
- // Create the peer id control
- idControl = new InfoSectionPeerIdControl(this);
- idControl.setFormToolkit(toolkit);
- idControl.setParentControlIsInnerPanel(true);
- idControl.setupPanel(client);
-
// Create the peer name control
nameControl = new InfoSectionPeerNameControl(this);
nameControl.setFormToolkit(toolkit);
nameControl.setParentControlIsInnerPanel(true);
nameControl.setupPanel(client);
+ // Create the peer id control
+ idControl = new InfoSectionPeerIdControl(this);
+ idControl.setFormToolkit(toolkit);
+ idControl.setParentControlIsInnerPanel(true);
+ idControl.setupPanel(client);
+
// Create the peer link state control
Label label = new Label(client, SWT.HORIZONTAL);
label.setText(Messages.GeneralInformationSection_state);
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/pages/NewTargetWizardPage.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/pages/NewTargetWizardPage.java
index 971f58321..5efc47101 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/pages/NewTargetWizardPage.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.ui/src/org/eclipse/tcf/te/tcf/ui/wizards/pages/NewTargetWizardPage.java
@@ -209,6 +209,12 @@ public class NewTargetWizardPage extends AbstractValidatingWizardPage {
client.setBackground(parent.getBackground());
// Add the controls
+ peerNameControl = new PeerNameControl(this);
+ peerNameControl.setFormToolkit(toolkit);
+ peerNameControl.setParentControlIsInnerPanel(true);
+ peerNameControl.setupPanel(client);
+ peerNameControl.getEditFieldControl().setFocus();
+
peerIdControl = new PeerIdControl(this);
peerIdControl.setFormToolkit(toolkit);
peerIdControl.setParentControlIsInnerPanel(true);
@@ -216,12 +222,6 @@ public class NewTargetWizardPage extends AbstractValidatingWizardPage {
peerIdControl.getEditFieldControl().setEnabled(false);
peerIdControl.setEditFieldControlText(UUID.randomUUID().toString());
- peerNameControl = new PeerNameControl(this);
- peerNameControl.setFormToolkit(toolkit);
- peerNameControl.setParentControlIsInnerPanel(true);
- peerNameControl.setupPanel(client);
- peerNameControl.getEditFieldControl().setFocus();
-
createEmptySpace(client, 5, 2, toolkit);
// Create and configure the transport type section

Back to the top