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 hostLabel.setData(".uid", "EmulationMainTab.hostLabel"); //$NON-NLS-1$ //$NON-NLS-2$ |
113 |
113 |
114 hostText = new Text(projComp, SWT.SINGLE | SWT.BORDER); |
114 hostText = new Text(projComp, SWT.SINGLE | SWT.BORDER); |
115 gd = new GridData(GridData.FILL_HORIZONTAL); |
115 gd = new GridData(GridData.FILL_HORIZONTAL); |
116 hostText.setLayoutData(gd); |
116 hostText.setLayoutData(gd); |
117 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"); |
118 hostText.setData(".uid", "EmulationMainTab.hostText"); //$NON-NLS-1$ //$NON-NLS-2$ |
119 hostText.addModifyListener(new ModifyListener() { |
119 hostText.addModifyListener(new ModifyListener() { |
120 |
120 |
121 public void modifyText(ModifyEvent evt) { |
121 public void modifyText(ModifyEvent evt) { |
122 updateLaunchConfigurationDialog(); |
122 updateLaunchConfigurationDialog(); |
123 } |
123 } |
124 }); |
124 }); |
125 |
125 |
126 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"); |
127 hostBrowse.setData(".uid", "EmulationMainTab.hostBrowse"); //$NON-NLS-1$ //$NON-NLS-2$ |
128 hostBrowse.addSelectionListener(new SelectionAdapter() { |
128 hostBrowse.addSelectionListener(new SelectionAdapter() { |
129 public void widgetSelected(SelectionEvent evt) { |
129 public void widgetSelected(SelectionEvent evt) { |
130 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
130 FileDialog dialog = new FileDialog(getShell(), SWT.NONE); |
131 |
131 |
132 dialog.setText(Messages.getString("EmulationMainTab.5")); //$NON-NLS-1$ |
132 dialog.setText(Messages.getString("EmulationMainTab.5")); //$NON-NLS-1$ |