#NEWLINE# def _add_view_to_menu( self , view ) : #NEWLINE# #INDENT# '\n            Add a view to the menu tree\n\n            :param view:\n                View to add\n        ' #NEWLINE# self . add_menu_item ( MenuView ( view . name , self ) , view . category )