def _open_file(self, filename):
        if self._prompt_for_save():
            self.window.central_pane.editor.path = filename
            self.activated()
Opens the file at the specified path in the editor.
dataset/ETHPy150Open enthought/pyface/examples/tasks/basic/example_task.py/ExampleTask._open_file