GridDataFactory.fillDefaults().hint(500, 500).applyTo(composite);
Label label = new Label(composite, SWT.NONE);
- label.setText("File:");
+ label.setText(Messages.FileDetailDialog_File);
fileText = new Text(composite, SWT.SINGLE|SWT.BORDER);
Button browseButton = new Button(composite, SWT.PUSH);
- browseButton.setText("Browse");
+ browseButton.setText(Messages.FileDetailDialog_Browse);
label = new Label(composite, SWT.NONE);
- label.setText("Name:");
+ label.setText(Messages.FileDetailDialog_Name);
nameText = new Text(composite, SWT.SINGLE|SWT.BORDER);
label = new Label(composite, SWT.NONE);
label = new Label(composite, SWT.NONE);
- label.setText("Annotations:");
+ label.setText(Messages.FileDetailDialog_Annotations);
annotationComposite = new Composite(composite, SWT.NONE);
annotationComposite.setLayout(new FillLayout());
@Override
public void widgetSelected(SelectionEvent e) {
FileDialog dialog = new FileDialog(e.display.getActiveShell(),SWT.OPEN);
- dialog.setFilterExtensions(new String[]{"*.*"});
+ dialog.setFilterExtensions(new String[]{"*.*"}); //$NON-NLS-1$
String s = dialog.open();
if (s != null) {
name = null;