Lines 221-228
Link Here
|
221 |
|
221 |
|
222 |
text = new Combo(panel, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN); |
222 |
text = new Combo(panel, SWT.BORDER | SWT.LEAD | SWT.DROP_DOWN); |
223 |
text.setFocus(); |
223 |
text.setFocus(); |
224 |
text.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL |
224 |
text.setLayoutData(new GridData(400,SWT.DEFAULT)); |
225 |
| GridData.FILL_HORIZONTAL)); |
225 |
|
226 |
text.addModifyListener(new ModifyListener(){ |
226 |
text.addModifyListener(new ModifyListener(){ |
227 |
public void modifyText(ModifyEvent e) { |
227 |
public void modifyText(ModifyEvent e) { |
228 |
Button okButton = getButton(Window.OK); |
228 |
Button okButton = getButton(Window.OK); |
Lines 239-246
Link Here
|
239 |
} |
239 |
} |
240 |
} |
240 |
} |
241 |
}); |
241 |
}); |
242 |
setInitialTextValues(text); |
242 |
setInitialTextValues(text); |
243 |
|
243 |
|
244 |
Button browseButton = new Button(panel, SWT.PUSH); |
244 |
Button browseButton = new Button(panel, SWT.PUSH); |
245 |
browseButton.setText(IDEWorkbenchMessages.ChooseWorkspaceDialog_browseLabel); |
245 |
browseButton.setText(IDEWorkbenchMessages.ChooseWorkspaceDialog_browseLabel); |
246 |
setButtonLayoutData(browseButton); |
246 |
setButtonLayoutData(browseButton); |