X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.modeling.ui%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2Fui%2FdiagramEditor%2FOpenDiagramFromIssue.java;h=7bb39804c431109706ad71fe49fd1dc15548017e;hp=9214082f24079d2ced9ffcbe8bf355172d47e9e0;hb=47269fe0acb894f346810417d950a1ab59cdc0ea;hpb=11309f6516278203264b680235cbbe1dc2bde98e diff --git a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/OpenDiagramFromIssue.java b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/OpenDiagramFromIssue.java index 9214082f2..7bb39804c 100644 --- a/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/OpenDiagramFromIssue.java +++ b/bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/OpenDiagramFromIssue.java @@ -45,10 +45,10 @@ import org.simantics.utils.ui.ISelectionUtils; */ public class OpenDiagramFromIssue extends AbstractResourceEditorAdapter { - private static final String EDITOR_ID = "org.simantics.modeling.ui.plainDiagramEditor"; + private static final String EDITOR_ID = "org.simantics.modeling.ui.plainDiagramEditor"; //$NON-NLS-1$ public OpenDiagramFromIssue() { - super("Open Diagram Containing Referenced Component", Activator.COMPOSITE_ICON); + super(Messages.OpenDiagramFromIssue_OpenDiagramRefComponent, Activator.COMPOSITE_ICON); } protected String getEditorId(ReadGraph g, Resource diagram) throws DatabaseException { @@ -157,7 +157,7 @@ public class OpenDiagramFromIssue extends AbstractResourceEditorAdapter { } protected static Collection findElementObjects(ReadGraph g, Resource component) throws DatabaseException { - Collection result = findElementObjects(g, component, ""); + Collection result = findElementObjects(g, component, ""); //$NON-NLS-1$ ModelingResources MOD = ModelingResources.getInstance(g); for (Resource element : g.getObjects(component, MOD.HasParentComponent_Inverse)) result.add(element);