[Zope-Checkins] CVS: Zope2 - __init__.py:1.1.2.10
andreas@digicool.com
andreas@digicool.com
Mon, 14 May 2001 14:07:05 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes
In directory korak.digicool.com:/tmp/cvs-serv25620
Modified Files:
Tag: ajung-dropin-registry
__init__.py
Log Message:
directory structure rework
--- Updated File __init__.py in package Zope2 --
--- __init__.py 2001/05/14 17:04:04 1.1.2.9
+++ __init__.py 2001/05/14 18:06:34 1.1.2.10
@@ -1,8 +1,10 @@
from Globals import DTMLFile
#import FieldIndex, KeywordIndex, TextIndex
-import PluggablePathIndex, PluggableTextIndex, PluggableFieldIndex
-import PluggableKeywordIndex
+import PathIndex.PluggablePathIndex
+import TextIndex.PluggableTextIndex
+import FieldIndex.PluggableFieldIndex
+import KeywordIndex.PluggableKeywordIndex
def initialize(context):
@@ -34,7 +36,7 @@
# )
context.registerClass(
- PluggablePathIndex.PathIndex,
+ PathIndex.PluggablePathIndex.PathIndex,
permission='Add Pluggable Index',
constructors=(manage_addPluggablePathIndexForm,
manage_addPluggablePathIndex),
@@ -43,7 +45,7 @@
)
context.registerClass(
- PluggableTextIndex.TextIndex,
+ TextIndex.PluggableTextIndex.TextIndex,
permission='Add Pluggable Index',
constructors=(manage_addPluggableTextIndexForm,
manage_addPluggableTextIndex),
@@ -52,7 +54,7 @@
)
context.registerClass(
- PluggableFieldIndex.FieldIndex,
+ FieldIndex.PluggableFieldIndex.FieldIndex,
permission='Add Pluggable Index',
constructors=(manage_addPluggableFieldIndexForm,
manage_addPluggableFieldIndex),
@@ -62,7 +64,7 @@
context.registerClass(
- PluggableKeywordIndex.KeywordIndex,
+ KeywordIndex.PluggableKeywordIndex.KeywordIndex,
permission='Add Pluggable Index',
constructors=(manage_addPluggableKeywordIndexForm,
manage_addPluggableKeywordIndex),
@@ -83,16 +85,16 @@
#manage_addTextIndexForm = TextIndex.manage_addTextIndexForm
#manage_addTextIndex = TextIndex.manage_addTextIndex
#
-manage_addPluggableTextIndexForm = PluggableTextIndex.manage_addPluggableTextIndexForm
-manage_addPluggableTextIndex = PluggableTextIndex.manage_addPluggableTextIndex
+manage_addPluggableTextIndexForm = TextIndex.PluggableTextIndex.manage_addPluggableTextIndexForm
+manage_addPluggableTextIndex = TextIndex.PluggableTextIndex.manage_addPluggableTextIndex
-manage_addPluggablePathIndexForm = PluggablePathIndex.manage_addPluggablePathIndexForm
-manage_addPluggablePathIndex = PluggablePathIndex.manage_addPluggablePathIndex
+manage_addPluggablePathIndexForm = PathIndex.PluggablePathIndex.manage_addPluggablePathIndexForm
+manage_addPluggablePathIndex = PathIndex.PluggablePathIndex.manage_addPluggablePathIndex
-manage_addPluggableFieldIndexForm = PluggableFieldIndex.manage_addPluggableFieldIndexForm
-manage_addPluggableFieldIndex = PluggableFieldIndex.manage_addPluggableFieldIndex
+manage_addPluggableFieldIndexForm = FieldIndex.PluggableFieldIndex.manage_addPluggableFieldIndexForm
+manage_addPluggableFieldIndex = FieldIndex.PluggableFieldIndex.manage_addPluggableFieldIndex
-manage_addPluggableKeywordIndexForm = PluggableKeywordIndex.manage_addPluggableKeywordIndexForm
-manage_addPluggableKeywordIndex = PluggableKeywordIndex.manage_addPluggableKeywordIndex
+manage_addPluggableKeywordIndexForm = KeywordIndex.PluggableKeywordIndex.manage_addPluggableKeywordIndexForm
+manage_addPluggableKeywordIndex = KeywordIndex.PluggableKeywordIndex.manage_addPluggableKeywordIndex
print 'end of init'