Back to index

plone3  3.1.7
Namespaces | Functions | Variables
GenericSetup Namespace Reference

Namespaces

namespace  bbb
namespace  browser
namespace  components
namespace  content
namespace  context
namespace  differ
namespace  events
namespace  exceptions
namespace  interfaces
namespace  MailHost
namespace  OFSP
namespace  PageTemplates
namespace  permissions
namespace  PluginIndexes
namespace  PythonScripts
namespace  registry
namespace  rolemap
namespace  testing
namespace  tests
namespace  tool
namespace  upgrade
namespace  utils
namespace  ZCatalog
namespace  zcml
namespace  ZCTextIndex

Functions

def initialize

Variables

tuple security = ModuleSecurityInfo('Products.GenericSetup')
tuple __module_aliases__

Detailed Description

GenericSetup product initialization.

$Id: __init__.py 81996 2007-11-27 21:46:16Z yuppie $

Function Documentation

def GenericSetup.initialize (   context)

Definition at line 15 of file __init__.py.

00015 
00016 def initialize(context):
00017 
00018     import tool
00019 
00020     context.registerClass(tool.SetupTool,
00021                           constructors=(#tool.addSetupToolForm,
00022                                         tool.addSetupTool,
00023                                         ),
00024                           permissions=(ManagePortal,),
00025                           interfaces=None,
00026                           icon='www/tool.png',
00027                          )
00028 
00029 # BBB: for setup tools created with CMF 1.5 if CMFSetup isn't installed
00030 try:
    import Products.CMFSetup

Variable Documentation

Initial value:
00001 (('Products.CMFSetup', bbb),
00002                           ('Products.CMFSetup.registry', bbb.registry),
00003                           ('Products.CMFSetup.tool', bbb.tool))

Definition at line 36 of file __init__.py.

tuple GenericSetup.security = ModuleSecurityInfo('Products.GenericSetup')

Definition at line 12 of file __init__.py.