Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 from Products.CMFCore.utils import ToolInit
00002 from Products.CMFCore.DirectoryView import registerDirectory
00003 
00004 from Products.ResourceRegistries.tools import CSSRegistry, KSSRegistry, JSRegistry
00005 from Products.ResourceRegistries import config
00006 
00007 registerDirectory(config.SKINS_DIR, config.GLOBALS)
00008 
00009 def initialize(context):
00010 
00011     TOOLS = (
00012         CSSRegistry.CSSRegistryTool,
00013         KSSRegistry.KSSRegistryTool,
00014         JSRegistry.JSRegistryTool,
00015     )
00016 
00017     ToolInit(
00018         config.PROJECTNAME + ' Tool',
00019         tools = TOOLS,
00020         icon = 'tool.gif',
00021     ).initialize(context)