public Object execute(ExecutionEvent event) throws ExecutionException {
Display display = PlatformUI.getWorkbench().getDisplay();
Shell shell = new Shell(display);
- shell.setText("SCL Documentation browser");
+ shell.setText(Messages.LaunchSCLDocumentationBrowser_SCLDocumentationBrowser);
shell.setLayout(new FillLayout());
SCLDocumentationBrowser browser;
try {
browser = new SCLDocumentationBrowser(shell);
} catch (SWTError e) {
- System.out.println("Could not instantiate the browser: " + e.getMessage());
+ System.out.println("Could not instantiate the browser: " + e.getMessage()); //$NON-NLS-1$
display.dispose();
return null;
}
- browser.setLocation("Prelude");
+ browser.setLocation("Prelude"); //$NON-NLS-1$
shell.open();
return null;