[Zope-Checkins] CVS: Zope2 - __init__.py:1.1.2.11
andreas@digicool.com
andreas@digicool.com
Mon, 14 May 2001 14:52:24 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes
In directory korak.digicool.com:/tmp/cvs-serv26071
Modified Files:
Tag: ajung-dropin-registry
__init__.py
Log Message:
major rework
--- Updated File __init__.py in package Zope2 --
--- __init__.py 2001/05/14 18:06:34 1.1.2.10
+++ __init__.py 2001/05/14 18:51:53 1.1.2.11
@@ -1,10 +1,10 @@
from Globals import DTMLFile
#import FieldIndex, KeywordIndex, TextIndex
-import PathIndex.PluggablePathIndex
-import TextIndex.PluggableTextIndex
-import FieldIndex.PluggableFieldIndex
-import KeywordIndex.PluggableKeywordIndex
+import PathIndex.PathIndex
+import TextIndex.TextIndex
+import FieldIndex.FieldIndex
+import KeywordIndex.KeywordIndex
def initialize(context):
@@ -36,38 +36,38 @@
# )
context.registerClass(
- PathIndex.PluggablePathIndex.PathIndex,
+ PathIndex.PathIndex.PathIndex,
permission='Add Pluggable Index',
- constructors=(manage_addPluggablePathIndexForm,
- manage_addPluggablePathIndex),
+ constructors=(manage_addPathIndexForm,
+ manage_addPathIndex),
icon="www/index.gif",
visibility=None
)
context.registerClass(
- TextIndex.PluggableTextIndex.TextIndex,
+ TextIndex.TextIndex.TextIndex,
permission='Add Pluggable Index',
- constructors=(manage_addPluggableTextIndexForm,
- manage_addPluggableTextIndex),
+ constructors=(manage_addTextIndexForm,
+ manage_addTextIndex),
icon="www/index.gif",
visibility=None
)
context.registerClass(
- FieldIndex.PluggableFieldIndex.FieldIndex,
+ FieldIndex.FieldIndex.FieldIndex,
permission='Add Pluggable Index',
- constructors=(manage_addPluggableFieldIndexForm,
- manage_addPluggableFieldIndex),
+ constructors=(manage_addFieldIndexForm,
+ manage_addFieldIndex),
icon="www/index.gif",
visibility=None
)
context.registerClass(
- KeywordIndex.PluggableKeywordIndex.KeywordIndex,
+ KeywordIndex.KeywordIndex.KeywordIndex,
permission='Add Pluggable Index',
- constructors=(manage_addPluggableKeywordIndexForm,
- manage_addPluggableKeywordIndex),
+ constructors=(manage_addKeywordIndexForm,
+ manage_addKeywordIndex),
icon="www/index.gif",
visibility=None
)
@@ -85,16 +85,16 @@
#manage_addTextIndexForm = TextIndex.manage_addTextIndexForm
#manage_addTextIndex = TextIndex.manage_addTextIndex
#
-manage_addPluggableTextIndexForm = TextIndex.PluggableTextIndex.manage_addPluggableTextIndexForm
-manage_addPluggableTextIndex = TextIndex.PluggableTextIndex.manage_addPluggableTextIndex
+manage_addTextIndexForm = TextIndex.TextIndex.manage_addTextIndexForm
+manage_addTextIndex = TextIndex.TextIndex.manage_addTextIndex
-manage_addPluggablePathIndexForm = PathIndex.PluggablePathIndex.manage_addPluggablePathIndexForm
-manage_addPluggablePathIndex = PathIndex.PluggablePathIndex.manage_addPluggablePathIndex
+manage_addPathIndexForm = PathIndex.PathIndex.manage_addPathIndexForm
+manage_addPathIndex = PathIndex.PathIndex.manage_addPathIndex
-manage_addPluggableFieldIndexForm = FieldIndex.PluggableFieldIndex.manage_addPluggableFieldIndexForm
-manage_addPluggableFieldIndex = FieldIndex.PluggableFieldIndex.manage_addPluggableFieldIndex
+manage_addFieldIndexForm = FieldIndex.FieldIndex.manage_addFieldIndexForm
+manage_addFieldIndex = FieldIndex.FieldIndex.manage_addFieldIndex
-manage_addPluggableKeywordIndexForm = KeywordIndex.PluggableKeywordIndex.manage_addPluggableKeywordIndexForm
-manage_addPluggableKeywordIndex = KeywordIndex.PluggableKeywordIndex.manage_addPluggableKeywordIndex
+manage_addKeywordIndexForm = KeywordIndex.KeywordIndex.manage_addKeywordIndexForm
+manage_addKeywordIndex = KeywordIndex.KeywordIndex.manage_addKeywordIndex
print 'end of init'