[Zope-Checkins] SVN: Zope/branches/andig-compositeindex/src/Products/PluginIndexes/__init__.py initialize CompositeIndex

Andreas Gabriel gabriel at hrz.uni-marburg.de
Tue Sep 28 16:38:32 EDT 2010


Log message for revision 117034:
  initialize CompositeIndex
  

Changed:
  U   Zope/branches/andig-compositeindex/src/Products/PluginIndexes/__init__.py

-=-
Modified: Zope/branches/andig-compositeindex/src/Products/PluginIndexes/__init__.py
===================================================================
--- Zope/branches/andig-compositeindex/src/Products/PluginIndexes/__init__.py	2010-09-28 20:27:49 UTC (rev 117033)
+++ Zope/branches/andig-compositeindex/src/Products/PluginIndexes/__init__.py	2010-09-28 20:38:32 UTC (rev 117034)
@@ -105,3 +105,19 @@
                           icon='www/index.gif',
                           visibility=None,
                          )
+    from Products.PluginIndexes.CompositeIndex.CompositeIndex import CompositeIndex
+    from Products.PluginIndexes.CompositeIndex.CompositeIndex import \
+        manage_addCompositeIndex
+    from Products.PluginIndexes.CompositeIndex.CompositeIndex import \
+        manage_addCompositeIndexForm
+
+
+    context.registerClass(
+        CompositeIndex,
+        permission = 'Add Pluggable Index',
+        constructors = (manage_addCompositeIndexForm,
+                        manage_addCompositeIndex,
+                        ),
+        icon='www/index.gif',
+        visibility=None
+        )



More information about the Zope-Checkins mailing list