def add_editor(self, editor, kind):

        self._editor_to_kind_map[editor] = kind
Registers an existing editor.
dataset/ETHPy150Open enthought/pyface/pyface/workbench/editor_manager.py/EditorManager.add_editor