envisage.ui.workbench.workbench_editor_manager module

An editor manager that uses contributed editors.

class envisage.ui.workbench.workbench_editor_manager.WorkbenchEditorManager(**traits)[source]

Bases: EditorManager

An editor manager that uses contributed editors.

create_editor(window, obj, kind)[source]

Create an editor for an object.

For now, the ‘kind’ is actually a factory that produces editors. It should be a callable with the following signature:

callable(window=window, obj=obj) -> IEditor