Back to index

plone3  3.1.7
QuickInstallerTool.py
Go to the documentation of this file.
00001 from AccessControl import ClassSecurityInfo
00002 from Globals import InitializeClass
00003 from Products.CMFCore.utils import registerToolInterface
00004 from Products.CMFPlone.PloneBaseTool import PloneBaseTool
00005 from Products.CMFPlone import ToolNames
00006 from Products.CMFQuickInstallerTool.QuickInstallerTool \
00007    import QuickInstallerTool as BaseTool
00008 from Products.CMFQuickInstallerTool.interfaces import IQuickInstallerTool
00009 
00010 
00011 class QuickInstallerTool(PloneBaseTool, BaseTool):
00012     """ A tool to ease installing/uninstalling all sorts of products """
00013 
00014     meta_type = ToolNames.QuickInstallerTool
00015     security = ClassSecurityInfo()
00016     toolicon = 'skins/plone_images/product_icon.gif'
00017 
00018     __implements__ = (PloneBaseTool.__implements__, BaseTool.__implements__, )
00019 
00020 QuickInstallerTool.__doc__ = BaseTool.__doc__
00021 
00022 InitializeClass(QuickInstallerTool)
00023 registerToolInterface('portal_quickinstaller', IQuickInstallerTool)