107 hostLabel.setText(Messages.getString("EmulationMainTab.2")); //$NON-NLS-1$ |
107 hostLabel.setText(Messages.getString("EmulationMainTab.2")); //$NON-NLS-1$ |
108 gd = new GridData(); |
108 gd = new GridData(); |
109 gd.horizontalSpan = 2; |
109 gd.horizontalSpan = 2; |
110 hostLabel.setLayoutData(gd); |
110 hostLabel.setLayoutData(gd); |
111 hostLabel.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ |
111 hostLabel.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ |
|
112 hostLabel.setData(".uid", "EmulationMainTab.hostLabel"); |
112 |
113 |
113 hostText = new Text(projComp, SWT.SINGLE | SWT.BORDER); |
114 hostText = new Text(projComp, SWT.SINGLE | SWT.BORDER); |
114 gd = new GridData(GridData.FILL_HORIZONTAL); |
115 gd = new GridData(GridData.FILL_HORIZONTAL); |
115 hostText.setLayoutData(gd); |
116 hostText.setLayoutData(gd); |
116 hostText.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ |
117 hostText.setToolTipText(Messages.getString("EmulationMainTab.3")); //$NON-NLS-1$ |
|
118 hostText.setData(".uid", "EmulationMainTab.hostText"); |
117 hostText.addModifyListener(new ModifyListener() { |
119 hostText.addModifyListener(new ModifyListener() { |
118 |
120 |
119 public void modifyText(ModifyEvent evt) { |
121 public void modifyText(ModifyEvent evt) { |
120 updateLaunchConfigurationDialog(); |
122 updateLaunchConfigurationDialog(); |
121 } |
123 } |
122 }); |
124 }); |
123 |
125 |
124 hostBrowse = createPushButton(projComp, Messages.getString("EmulationMainTab.4"), null); //$NON-NLS-1$ |
126 hostBrowse = createPushButton(projComp, Messages.getString("EmulationMainTab.4"), null); //$NON-NLS-1$ |
|
127 hostBrowse.setData(".uid", "EmulationMainTab.hostBrowse"); |
125 hostBrowse.addSelectionListener(new SelectionAdapter() { |
128 hostBrowse.addSelectionListener(new SelectionAdapter() { |
126 |
|
127 public void widgetSelected(SelectionEvent evt) { |
129 public void widgetSelected(SelectionEvent evt) { |
128 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
130 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
129 |
131 |
130 dialog.setText(Messages.getString("EmulationMainTab.5")); //$NON-NLS-1$ |
132 dialog.setText(Messages.getString("EmulationMainTab.5")); //$NON-NLS-1$ |
131 String result = dialog.open(); |
133 String result = dialog.open(); |