def get_editor(self, obj):
        for editor in self.editors:
            if editor.obj == obj:
                return editor
        return None
The method is called after construction to initialize the object.
dataset/ETHPy150Open enthought/pyface/pyface/tasks/i_editor_area_pane.py/MEditorAreaPane.get_editor--crossover with--dataset/ETHPy150Open google/grr/grr/lib/aff4.py/AFF4Object.Initialize