Example #1
0
 def __init__(self, pdata, dbstate, uistate):
     PlaceBaseView.__init__(self,
                            pdata,
                            dbstate,
                            uistate,
                            _('Place Tree View'),
                            PlaceTreeModel,
                            nav_group=0)
Example #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)
Example #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', 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)
Example #4
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)
Example #6
0
 def __init__(self, pdata, dbstate, uistate):
     PlaceBaseView.__init__(self, pdata, dbstate, uistate,
                            _('Place Tree View'), PlaceTreeModel,
                            nav_group=0)
Example #7
0
 def __init__(self, pdata, dbstate, uistate):
     PlaceBaseView.__init__(self, pdata, dbstate, uistate, _("Place View"), PlaceListModel, nav_group=0)