def define_actions(self): """ Define actions for the popup menu specific to the tree view. """ BasePersonView.define_actions(self) self.action_list.extend([('OpenAllNodes', self.open_all_nodes), ('CloseAllNodes', self.close_all_nodes)])
def define_actions(self): """ Define actions for the popup menu specific to the tree view. """ BasePersonView.define_actions(self) self.action_list.extend([ ('OpenAllNodes', self.open_all_nodes), ('CloseAllNodes', self.close_all_nodes)])
def define_actions(self): """ Define actions for the popup menu specific to the tree view. """ BasePersonView.define_actions(self) self.all_action.add_actions([ ('OpenAllNodes', None, _("Expand all Nodes"), None, None, self.open_all_nodes), ('CloseAllNodes', None, _("Collapse all Nodes"), None, None, self.close_all_nodes), ])
def define_actions(self): """ Define actions for the popup menu specific to the tree view. """ BasePersonView.define_actions(self) self.all_action.add_actions([ ('OpenAllNodes', None, _("Expand all Nodes"), None, None, self.open_all_nodes), ('CloseAllNodes', None, _("Collapse all Nodes"), None, None, self.close_all_nodes), ])