Module Simantics/Workbench

This module is undocumented. This is a list of its definitions.

editorAdapters :: a -> <ReadGraph> [EditorAdapter]

Returns the editor adapters that can open an editor for the given object.

openEditor :: EditorAdapter -> a -> <Proc> ()

Opens the editor of the given adapter for the given input object. The adapter should be one that editorAdapters returned for that input, and opening may still fail if the data has changed since.