Module Expr Str ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Return TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore ListLoad Call NameLoad keyword Str keyword ListLoad Call NameLoad keyword Str keyword Str keyword Num Call NameLoad keyword Str keyword Str keyword Num Call NameLoad keyword Str keyword ListLoad Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Call NameLoad keyword Str keyword Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword NameLoad Return Call NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListComp Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad NameLoad comprehension NameStore Call NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Return ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return ListComp Call NameLoad keyword NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad keyword Str keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad keyword Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad keyword Str keyword Num Return decorator_list decorator_list
N/A N/A  A simple example of using the workbench window.  pyface.action.api Action MenuManager pyface.workbench.api EditorManager WorkbenchWindow pyface.workbench.api Perspective PerspectiveItem pyface.workbench.action.api MenuBarManager pyface.workbench.action.api ToolBarManager pyface.workbench.action.api ViewMenuManager traits.api Callable List Instance black_view BlackView blue_view BlueView green_view GreenView red_view RedView yellow_view YellowView person Person ExampleEditorManager N/A EditorManager N/A N/A  An editor manager that supports the editor memento protocol.  get_editor_memento N/A N/A self editor N/A N/A N/A  Return the state of the editor contents.  N/A N/A N/A N/A editor obj name N/A N/A editor obj age N/A set_editor_memento N/A N/A self memento N/A N/A N/A  Restore an editor from a memento and return it.  N/A N/A name age memento N/A person N/A Person name name age age N/A N/A N/A self create_editor N/A self window person None N/A N/A ExampleWorkbenchWindow N/A WorkbenchWindow N/A N/A  A simple example of using the workbench window.  N/A perspectives N/A N/A Perspective name Foo contents N/A N/A PerspectiveItem id Black position bottom height 0.1 N/A PerspectiveItem id Debug position left width 0.25 N/A Perspective name Bar contents N/A N/A PerspectiveItem id Black position top N/A PerspectiveItem id Blue position bottom N/A PerspectiveItem id Green position left N/A PerspectiveItem id Red position right N/A PerspectiveItem id Debug position left N/A view_factories N/A List Callable N/A _exit_action N/A Instance Action N/A _new_person_action N/A Instance Action _editor_manager_default N/A N/A self N/A N/A N/A  Trait initializer.

        Here we return the replacement editor manager.
         N/A N/A ExampleEditorManager N/A _menu_bar_manager_default N/A N/A self N/A N/A N/A  Trait initializer.  N/A file_menu N/A MenuManager N/A self _new_person_action N/A self _exit_action name &File id FileMenu N/A view_menu N/A ViewMenuManager name &View id ViewMenu window self N/A N/A MenuBarManager file_menu view_menu window self N/A _tool_bar_managers_default N/A N/A self N/A N/A N/A  Trait initializer.  N/A tool_bar_managers N/A N/A ToolBarManager N/A self _exit_action show_tool_names False name N/A str i N/A i N/A range 5 N/A tool_bar_managers N/A _view_factories_default N/A N/A self N/A N/A N/A  Trait initializer.  pyface.workbench.debug.api DebugView N/A N/A DebugView BlackView BlueView GreenView RedView YellowView N/A _views_default N/A N/A self N/A N/A N/A  Trait initializer.  N/A N/A N/A factory window self N/A factory N/A self view_factories N/A __exit_action_default N/A N/A self N/A N/A N/A  Trait initializer.  N/A N/A Action name E&xit on_perform N/A N/A self workbench exit N/A __new_person_action_default N/A N/A self N/A N/A N/A  Trait initializer.  N/A N/A Action name New Person on_perform N/A self _new_person N/A _new_person N/A N/A self N/A N/A N/A  Create a new person.  person Person N/A N/A N/A N/A self workbench edit N/A Person name New age 100 N/A N/A N/A