]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/GraphEditorAdapterDescriptor.java
Allow OpenWithMenuContribution to filter out currently active editor.
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / editor / GraphEditorAdapterDescriptor.java
index ae9d80a82e774de2f9e56a11a3136f11f7cc248c..17bc6309da4f3f81249a689bdf40a86182d4af74 100644 (file)
@@ -67,6 +67,11 @@ public class GraphEditorAdapterDescriptor implements EditorAdapterDescriptor {
                        public int getPriority() {
                                return priority;
                        }
+                       
+                       @Override
+                       public String getEditorId() {
+                               return editorId;
+                       }
 
                        @Override
                        public boolean canHandle(ReadGraph graph, Resource input) throws DatabaseException {