<s> """<STR_LIT>""" <EOL> import pyface . action . api as pyface <EOL> from traits . api import Instance <EOL> from . action_controller import ActionController <EOL> class ToolBarManager ( pyface . ToolBarManager ) : <EOL> """<STR_LIT>""" <EOL> window = Instance ( '<STR_LIT>' ) <EOL> def create_tool_bar ( self , parent , controller = None ) : <EOL> """<STR_LIT>""" <EOL> if controller is None : <EOL> controller = ActionController ( window = self . window ) <EOL> tool_bar = super ( ToolBarManager , self ) . create_tool_bar ( <EOL> parent , controller = controller <EOL> ) <EOL> return tool_bar </s>
