X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.ui%2Fsrc%2Forg%2Fsimantics%2Fui%2Fworkbench%2Feditor%2FEditorAdapter.java;h=59e282dd04de5f2ee953eb922767c5e93bb72e6f;hb=refs%2Fchanges%2F17%2F4617%2F1;hp=62be237631d80bd1c0df14dc2df460853073631f;hpb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapter.java b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapter.java index 62be23763..59e282dd0 100644 --- a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapter.java +++ b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/editor/EditorAdapter.java @@ -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(); }