]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapter.java
Allow OpenWithMenuContribution to filter out currently active editor.
[simantics/platform.git] / bundles / org.simantics.ui / src / org / simantics / ui / workbench / editor / EditorAdapter.java
index 62be237631d80bd1c0df14dc2df460853073631f..59e282dd04de5f2ee953eb922767c5e93bb72e6f 100644 (file)
@@ -90,5 +90,11 @@ public interface EditorAdapter {
      *         while performing the action may be thrown
      */
     void openEditor(Object input) throws Exception;
+    
+    /**
+     * Returns id of the editor.
+     * @return id of the editor or null.
+     */
+    String getEditorId();
 
 }