[CMF-checkins] SVN: CMF/trunk/ - split configure.zcml files, making it easier to use only parts

Yvo Schubbe y.2006_ at wcm-solutions.de
Mon Nov 20 04:35:22 EST 2006


Log message for revision 71189:
  - split configure.zcml files, making it easier to use only parts

Changed:
  U   CMF/trunk/CMFCore/configure.zcml
  A   CMF/trunk/CMFCore/tool.zcml
  U   CMF/trunk/DCWorkflow/configure.zcml
  A   CMF/trunk/DCWorkflow/exportimport.zcml
  A   CMF/trunk/DCWorkflow/tool.zcml

-=-
Modified: CMF/trunk/CMFCore/configure.zcml
===================================================================
--- CMF/trunk/CMFCore/configure.zcml	2006-11-20 08:21:18 UTC (rev 71188)
+++ CMF/trunk/CMFCore/configure.zcml	2006-11-20 09:35:19 UTC (rev 71189)
@@ -1,7 +1,5 @@
 <configure
-    xmlns="http://namespaces.zope.org/zope"
-    xmlns:five="http://namespaces.zope.org/five"
-    >
+    xmlns="http://namespaces.zope.org/zope">
 
   <include package=".browser"/>
 
@@ -11,36 +9,6 @@
 
   <include file="event.zcml"/>
 
-  <five:registerClass
-      class=".ActionInformation.ActionCategory"
-      meta_type="CMF Action Category"
-      addview="addActionCategory.html"
-      permission="cmf.ManagePortal"
-      global="False"
-      />
+  <include file="tool.zcml"/>
 
-  <five:registerClass
-      class=".ActionInformation.Action"
-      meta_type="CMF Action"
-      addview="addAction.html"
-      permission="cmf.ManagePortal"
-      global="False"
-      />
-
-  <five:registerClass
-      class=".TypesTool.FactoryTypeInformation"
-      meta_type="Factory-based Type Information"
-      addview="addFactoryTypeInformation.html"
-      permission="cmf.ManagePortal"
-      global="False"
-      />
-
-  <five:registerClass
-      class=".TypesTool.ScriptableTypeInformation"
-      meta_type="Scriptable Type Information"
-      addview="addScriptableTypeInformation.html"
-      permission="cmf.ManagePortal"
-      global="False"
-      />
-
 </configure>

Added: CMF/trunk/CMFCore/tool.zcml
===================================================================
--- CMF/trunk/CMFCore/tool.zcml	2006-11-20 08:21:18 UTC (rev 71188)
+++ CMF/trunk/CMFCore/tool.zcml	2006-11-20 09:35:19 UTC (rev 71189)
@@ -0,0 +1,37 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:five="http://namespaces.zope.org/five">
+
+  <five:registerClass
+      class=".ActionInformation.ActionCategory"
+      meta_type="CMF Action Category"
+      addview="addActionCategory.html"
+      permission="cmf.ManagePortal"
+      global="False"
+      />
+
+  <five:registerClass
+      class=".ActionInformation.Action"
+      meta_type="CMF Action"
+      addview="addAction.html"
+      permission="cmf.ManagePortal"
+      global="False"
+      />
+
+  <five:registerClass
+      class=".TypesTool.FactoryTypeInformation"
+      meta_type="Factory-based Type Information"
+      addview="addFactoryTypeInformation.html"
+      permission="cmf.ManagePortal"
+      global="False"
+      />
+
+  <five:registerClass
+      class=".TypesTool.ScriptableTypeInformation"
+      meta_type="Scriptable Type Information"
+      addview="addScriptableTypeInformation.html"
+      permission="cmf.ManagePortal"
+      global="False"
+      />
+
+</configure>


Property changes on: CMF/trunk/CMFCore/tool.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: CMF/trunk/DCWorkflow/configure.zcml
===================================================================
--- CMF/trunk/DCWorkflow/configure.zcml	2006-11-20 08:21:18 UTC (rev 71188)
+++ CMF/trunk/DCWorkflow/configure.zcml	2006-11-20 09:35:19 UTC (rev 71189)
@@ -6,14 +6,10 @@
 
   <include package=".browser"/>
 
-  <five:registerClass
-      class=".DCWorkflow.DCWorkflowDefinition"
-      meta_type="Workflow"
-      addview="addDCWorkflowDefinition.html"
-      permission="cmf.ManagePortal"
-      global="False"
-      />
+  <include file="exportimport.zcml"/>
 
+  <include file="tool.zcml"/>
+
   <!-- profiles -->
 
   <genericsetup:registerProfile
@@ -24,8 +20,4 @@
       for="Products.CMFCore.interfaces.ISiteRoot"
       />
 
-  <!-- exportimport -->
-
-  <adapter factory=".exportimport.DCWorkflowDefinitionBodyAdapter"/>
-
 </configure>

Added: CMF/trunk/DCWorkflow/exportimport.zcml
===================================================================
--- CMF/trunk/DCWorkflow/exportimport.zcml	2006-11-20 08:21:18 UTC (rev 71188)
+++ CMF/trunk/DCWorkflow/exportimport.zcml	2006-11-20 09:35:19 UTC (rev 71189)
@@ -0,0 +1,6 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope">
+
+  <adapter factory=".exportimport.DCWorkflowDefinitionBodyAdapter"/>
+
+</configure>


Property changes on: CMF/trunk/DCWorkflow/exportimport.zcml
___________________________________________________________________
Name: svn:eol-style
   + native

Added: CMF/trunk/DCWorkflow/tool.zcml
===================================================================
--- CMF/trunk/DCWorkflow/tool.zcml	2006-11-20 08:21:18 UTC (rev 71188)
+++ CMF/trunk/DCWorkflow/tool.zcml	2006-11-20 09:35:19 UTC (rev 71189)
@@ -0,0 +1,13 @@
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:five="http://namespaces.zope.org/five">
+
+  <five:registerClass
+      class=".DCWorkflow.DCWorkflowDefinition"
+      meta_type="Workflow"
+      addview="addDCWorkflowDefinition.html"
+      permission="cmf.ManagePortal"
+      global="False"
+      />
+
+</configure>


Property changes on: CMF/trunk/DCWorkflow/tool.zcml
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the CMF-checkins mailing list