[Zope-Checkins] CVS: Zope2 - PluggableKeywordIndex.py:1.1.2.2 PluggableTextIndex.py:1.1.2.4 __init__.py:1.1.2.9
andreas@digicool.com
andreas@digicool.com
Mon, 14 May 2001 13:04:05 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes
In directory korak.digicool.com:/tmp/cvs-serv25235
Modified Files:
Tag: ajung-dropin-registry
PluggableKeywordIndex.py PluggableTextIndex.py __init__.py
Log Message:
savepoint
--- Updated File PluggableKeywordIndex.py in package Zope2 --
--- PluggableKeywordIndex.py 2001/05/14 14:18:52 1.1.2.1
+++ PluggableKeywordIndex.py 2001/05/14 17:04:04 1.1.2.2
@@ -188,7 +188,7 @@
index_html = DTMLFile('dtml/index', globals())
- manage_workspace = DTMLFile('dtml/manageKeywordIndex', globals())
+ manage_workspace = DTMLFile('dtml/managePluggableKeywordIndex', globals())
manage_addPluggableKeywordIndexForm = DTMLFile('dtml/addPluggableKeywordIndex', globals())
--- Updated File PluggableTextIndex.py in package Zope2 --
--- PluggableTextIndex.py 2001/05/14 14:18:52 1.1.2.3
+++ PluggableTextIndex.py 2001/05/14 17:04:04 1.1.2.4
@@ -671,7 +671,7 @@
index_html = DTMLFile('dtml/index', globals())
- manage_workspace = DTMLFile('dtml/manageTextIndex', globals())
+ manage_workspace = DTMLFile('dtml/managePluggableTextIndex', globals())
def parse(s):
--- Updated File __init__.py in package Zope2 --
--- __init__.py 2001/05/14 14:18:52 1.1.2.8
+++ __init__.py 2001/05/14 17:04:04 1.1.2.9
@@ -1,37 +1,37 @@
from Globals import DTMLFile
-import FieldIndex, KeywordIndex, TextIndex
+#import FieldIndex, KeywordIndex, TextIndex
import PluggablePathIndex, PluggableTextIndex, PluggableFieldIndex
import PluggableKeywordIndex
def initialize(context):
- context.registerClass(
- FieldIndex.FieldIndex,
- permission='Add Pluggable Index',
- constructors=(manage_addFieldIndexForm,
- manage_addFieldIndex),
- icon="www/index.gif",
- visibility=None
- )
-
- context.registerClass(
- KeywordIndex.KeywordIndex,
- permission='Add Pluggable Index',
- constructors=(manage_addKeywordIndexForm,
- manage_addKeywordIndex),
- icon="www/index.gif",
- visibility=None
- )
-
- context.registerClass(
- TextIndex.TextIndex,
- permission='Add Pluggable Index',
- constructors=(manage_addTextIndexForm,
- manage_addTextIndex),
- icon="www/index.gif",
- visibility=None
- )
+# context.registerClass(
+# FieldIndex.FieldIndex,
+# permission='Add Pluggable Index',
+# constructors=(manage_addFieldIndexForm,
+# manage_addFieldIndex),
+# icon="www/index.gif",
+# visibility=None
+# )
+
+# context.registerClass(
+# KeywordIndex.KeywordIndex,
+# permission='Add Pluggable Index',
+# constructors=(manage_addKeywordIndexForm,
+# manage_addKeywordIndex),
+# icon="www/index.gif",
+# visibility=None
+# )
+
+# context.registerClass(
+# TextIndex.TextIndex,
+# permission='Add Pluggable Index',
+# constructors=(manage_addTextIndexForm,
+# manage_addTextIndex),
+# icon="www/index.gif",
+# visibility=None
+# )
context.registerClass(
PluggablePathIndex.PathIndex,
@@ -73,16 +73,16 @@
context.registerHelp()
context.registerHelpTitle('Indexes (Pluggable)')
-
-manage_addFieldIndexForm = FieldIndex.manage_addFieldIndexForm
-manage_addFieldIndex = FieldIndex.manage_addFieldIndex
-
-manage_addKeywordIndexForm = KeywordIndex.manage_addKeywordIndexForm
-manage_addKeywordIndex = KeywordIndex.manage_addKeywordIndex
-
-manage_addTextIndexForm = TextIndex.manage_addTextIndexForm
-manage_addTextIndex = TextIndex.manage_addTextIndex
+#manage_addFieldIndexForm = FieldIndex.manage_addFieldIndexForm
+#manage_addFieldIndex = FieldIndex.manage_addFieldIndex
+#
+#manage_addKeywordIndexForm = KeywordIndex.manage_addKeywordIndexForm
+#manage_addKeywordIndex = KeywordIndex.manage_addKeywordIndex
+#
+#manage_addTextIndexForm = TextIndex.manage_addTextIndexForm
+#manage_addTextIndex = TextIndex.manage_addTextIndex
+#
manage_addPluggableTextIndexForm = PluggableTextIndex.manage_addPluggableTextIndexForm
manage_addPluggableTextIndex = PluggableTextIndex.manage_addPluggableTextIndex