X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.help.ui%2Fsrc%2Forg%2Fsimantics%2Fhelp%2Fui%2FOpenHelpFileAdapter.java;h=33b347aaa0eed8a500c96b4f52630749fc010d40;hb=857e30cfe60e890a21cdc1a63cdef5f681cb5a29;hp=38d33e0a230fd8a52d9a85829521f8d24f5305bf;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.help.ui/src/org/simantics/help/ui/OpenHelpFileAdapter.java b/bundles/org.simantics.help.ui/src/org/simantics/help/ui/OpenHelpFileAdapter.java index 38d33e0a2..33b347aaa 100644 --- a/bundles/org.simantics.help.ui/src/org/simantics/help/ui/OpenHelpFileAdapter.java +++ b/bundles/org.simantics.help.ui/src/org/simantics/help/ui/OpenHelpFileAdapter.java @@ -22,7 +22,7 @@ public class OpenHelpFileAdapter extends AbstractResourceEditorAdapter { private static final Logger LOGGER = LoggerFactory.getLogger(OpenHelpFileAdapter.class); public OpenHelpFileAdapter() { - super("Help File Editor"); + super(Messages.OpenHelpFileAdapter_HelpFileEditor); } protected String getEditorId() { @@ -51,7 +51,7 @@ public class OpenHelpFileAdapter extends AbstractResourceEditorAdapter { String editorId = getEditorId(); WorkbenchUtils.openEditor(editorId, new ResourceEditorInput2(editorId, input, model, rvi)); } catch (PartInitException e) { - LOGGER.error("Failed to open an editor for help file.", e); + LOGGER.error("Failed to open an editor for help file.", e); //$NON-NLS-1$ } } });