2 This page is in the table of contents.
3 Meta is a script to access the plugins which handle meta information.
7 from __future__ import absolute_import
8 #Init has to be imported first because it has code to workaround the python bug where relative imports don't work if the module is imported as a main module.
11 from fabmetheus_utilities import archive
12 from fabmetheus_utilities import settings
13 from skeinforge_application.skeinforge_utilities import skeinforge_meta
16 __author__ = 'Enrique Perez (perez_enrique@yahoo.com)'
17 __date__ = '$Date: 2008/21/04 $'
18 __license__ = 'GNU Affero General Public License http://www.gnu.org/licenses/agpl.html'
21 def addToMenu( master, menu, repository, window ):
22 "Add a tool plugin menu."
23 metaFilePath = archive.getSkeinforgePluginsPath('meta.py')
24 settings.addPluginsParentToMenu(skeinforge_meta.getPluginsDirectoryPath(), menu, metaFilePath, skeinforge_meta.getPluginFileNames())
26 def getNewRepository():
28 return skeinforge_meta.MetaRepository()
32 "Display the meta dialog."
33 settings.startMainLoopFromConstructor(getNewRepository())
35 if __name__ == "__main__":