Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 # Copyright (c) 2004 Zope Corporation and Plone Solutions
00002 # ZPL 2.1 license
00003 
00004 def initialize(context):
00005     from Products.ExtendedPathIndex.ExtendedPathIndex import ExtendedPathIndex
00006     from Products.ExtendedPathIndex.ExtendedPathIndex import manage_addExtendedPathIndex
00007     from Products.ExtendedPathIndex.ExtendedPathIndex import manage_addExtendedPathIndexForm
00008 
00009     context.registerClass(
00010         ExtendedPathIndex,
00011         permission='Add Pluggable Index',
00012         constructors=(manage_addExtendedPathIndexForm,
00013                       manage_addExtendedPathIndex),
00014         icon='www/index.gif',
00015         visibility=None
00016     )