<s> """<STR_LIT>""" <EOL> from traits . api import Unicode <EOL> from pyface . action . action_manager import ActionManager <EOL> from pyface . action . action_manager_item import ActionManagerItem <EOL> from pyface . action . group import Group <EOL> class MenuManager ( ActionManager , ActionManagerItem ) : <EOL> """<STR_LIT>""" <EOL> name = Unicode <EOL> def create_menu ( self , parent , controller = None ) : <EOL> """<STR_LIT>""" <EOL> if controller is None : <EOL> controller = self . controller <EOL> return None <EOL> def add_to_menu ( self , parent , menu , controller ) : <EOL> """<STR_LIT>""" <EOL> return <EOL> def add_to_toolbar ( self , parent , tool_bar , image_cache , controller ) : <EOL> """<STR_LIT>""" <EOL> raise ValueError ( "<STR_LIT>" ) </s>
