String fileName;
public FileSelectionPage() {
- super("FileSelction","Select a file",null);
+ super(Messages.FileSelectionPage_FileSelection,Messages.FileSelectionPage_SelectAFile,null);
}
@Override
parent.setLayout(new GridLayout(3,false));
fileText = new Text(parent,SWT.BORDER|SWT.SINGLE);
browseButton = new Button(parent, SWT.PUSH);
- browseButton.setText("Browse");
+ browseButton.setText(Messages.FileSelectionPage_Browse);
GridData data;
data = new GridData();
// TODO : is there any way to read file/executable bindings from OS?
// if is, use those extensions to filter this list.
// note: in windows using "reg query ..." to read bindings form registry would work.
- dialog.setFilterExtensions(new String[]{"*.*"});
+ dialog.setFilterExtensions(new String[]{"*.*"}); //$NON-NLS-1$
String name = dialog.open();
if (name != null) {
fileText.setText(name);