3 importJava "org.simantics.ui.workbench.editor.EditorAdapter" where
5 openEditor :: EditorAdapter -> a -> <Proc> ()
7 importJava "org.simantics.ui.workbench.editor.EditorRegistry" where
11 getEditorRegistryInstance :: IEditorRegistry
13 importJava "org.simantics.ui.workbench.editor.IEditorRegistry" where
17 @JavaName getAdaptersFor
18 editorAdapters_ :: IEditorRegistry -> a -> <ReadGraph> Vector EditorAdapter
20 editorAdapters :: a -> <ReadGraph> [EditorAdapter]
21 editorAdapters object = vectorToList $ editorAdapters_ getEditorRegistryInstance object