Esempio n. 1
0
    def define_actions(self):
        """
        Define actions for the popup menu specific to the tree view.
        """
        PlaceBaseView.define_actions(self)

        self._add_action('OpenBranch', self.open_branch)
        self._add_action('CloseBranch', self.close_branch)
        self._add_action('OpenAllNodes', self.open_all_nodes)
        self._add_action('CloseAllNodes', self.close_all_nodes)
Esempio n. 2
0
    def define_actions(self):
        """
        Define actions for the popup menu specific to the tree view.
        """
        PlaceBaseView.define_actions(self)

        self._add_action('OpenBranch', self.open_branch)
        self._add_action('CloseBranch', self.close_branch)
        self._add_action('OpenAllNodes', self.open_all_nodes)
        self._add_action('CloseAllNodes', self.close_all_nodes)
Esempio n. 3
0
 def define_actions(self):
     """
     Define actions for the popup menu specific to the tree view.
     """
     PlaceBaseView.define_actions(self)
     
     self._add_action('OpenBranch', None, _("Expand this Entire Group"),
                      callback=self.open_branch)
     self._add_action('CloseBranch', None, _("Collapse this Entire Group"),
                      callback=self.close_branch)
     self._add_action('OpenAllNodes', None, _("Expand all Nodes"),
                      callback=self.open_all_nodes)
     self._add_action('CloseAllNodes', None, _("Collapse all Nodes"),
                      callback=self.close_all_nodes)
    def define_actions(self):
        """
        Define actions for the popup menu specific to the tree view.
        """
        PlaceBaseView.define_actions(self)

        self._add_action('OpenBranch', None, _("Expand this Entire Group"),
                         callback=self.open_branch)
        self._add_action('CloseBranch', None, _("Collapse this Entire Group"),
                         callback=self.close_branch)
        self._add_action('OpenAllNodes', None, _("Expand all Nodes"),
                         callback=self.open_all_nodes)
        self._add_action('CloseAllNodes', None, _("Collapse all Nodes"),
                         callback=self.close_all_nodes)