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)])
Beispiel #2
0
    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)])
Beispiel #3
0
    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),
        ])
Beispiel #4
0
    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), 
                ])