def register_factory(self, factory, filter):
        self._factory_map.setdefault(factory, []).append(filter)
Registers a factory for creating editors.
dataset/ETHPy150Open enthought/pyface/pyface/tasks/i_editor_area_pane.py/MEditorAreaPane.register_factory