def register_tree_actions(self): actions = ActionInfoCollection(tree_actions, self, self._tree) self._action_registerer.register_actions(actions) self._action_registerer.register_action(ActionInfo(menu_name='Edit', name='Add Tag to selected', action=self.OnAddTagToSelected)) self._action_registerer.register_action(ActionInfo(menu_name='Edit', name='Clear Selected', action=self.OnClearSelected))