X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.ui%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fui%2Fbrowser%2FLaunchSCLDocumentationBrowser.java;fp=bundles%2Forg.simantics.scl.ui%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fui%2Fbrowser%2FLaunchSCLDocumentationBrowser.java;h=3a687e0d921c0abba54cc10afb88f88d416dc501;hp=7ecbaa371161873fd7eabd156a2291fc99e7ac40;hb=9712014e959584157b02e594be8719c151b8f5b0;hpb=d14bfb83fddf30539f401de54ce9f61bd0aff25c diff --git a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/browser/LaunchSCLDocumentationBrowser.java b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/browser/LaunchSCLDocumentationBrowser.java index 7ecbaa371..3a687e0d9 100644 --- a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/browser/LaunchSCLDocumentationBrowser.java +++ b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/browser/LaunchSCLDocumentationBrowser.java @@ -15,17 +15,17 @@ public class LaunchSCLDocumentationBrowser extends AbstractHandler { 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;