GEPS 014: Plugin registration and management

Also views are now plugins belonging to view category


svn: r13528
This commit is contained in:
Benny Malengier
2009-11-08 16:41:49 +00:00
parent eea7ba35c7
commit 19522ec975
51 changed files with 588 additions and 354 deletions

View File

@ -144,6 +144,12 @@ class GuiPluginManager(gen.utils.Callback):
"""
return [plg for plg in self.basemgr.get_reg_tools(gui)
if plg.id not in self.__hidden_plugins]
def get_reg_views(self):
""" Return list of non hidden registered views
"""
return [plg for plg in self.basemgr.get_reg_views()
if plg.id not in self.__hidden_plugins]
def get_reg_quick_reports(self):
""" Return list of non hidden registered quick reports