[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Renamed zope.wfmc.component to zope.wfmc.adapter

Jim Fulton jim at zope.com
Mon May 9 13:20:38 EDT 2005


Log message for revision 30315:
  Renamed zope.wfmc.component to zope.wfmc.adapter
  

Changed:
  U   Zope3/trunk/src/zope/app/wfmc/zcml.txt
  A   Zope3/trunk/src/zope/wfmc/adapter/
  U   Zope3/trunk/src/zope/wfmc/adapter/__init__.py
  U   Zope3/trunk/src/zope/wfmc/adapter/integration.txt
  D   Zope3/trunk/src/zope/wfmc/component/

-=-
Modified: Zope3/trunk/src/zope/app/wfmc/zcml.txt
===================================================================
--- Zope3/trunk/src/zope/app/wfmc/zcml.txt	2005-05-09 17:07:09 UTC (rev 30314)
+++ Zope3/trunk/src/zope/app/wfmc/zcml.txt	2005-05-09 17:20:38 UTC (rev 30315)
@@ -16,7 +16,7 @@
     ...             file="%(file_name)s" 
     ...             process="Publication"
     ...             id="example.publication"
-    ...             integration="zope.wfmc.component.integration"
+    ...             integration="zope.wfmc.adapter.integration"
     ...             />
     ...
     ...     </configure>
@@ -31,5 +31,7 @@
     >>> pd
     ProcessDefinition('example.publication')
 
-    >>> import zope.wfmc.component
-    >>> pd.integration = zope.wfmc.component.integration
+    >>> import zope.wfmc.adapter
+    >>> pd.integration is zope.wfmc.adapter.integration
+    True
+

Copied: Zope3/trunk/src/zope/wfmc/adapter (from rev 30314, Zope3/trunk/src/zope/wfmc/component)

Modified: Zope3/trunk/src/zope/wfmc/adapter/__init__.py
===================================================================
--- Zope3/trunk/src/zope/wfmc/component/__init__.py	2005-05-09 17:07:09 UTC (rev 30314)
+++ Zope3/trunk/src/zope/wfmc/adapter/__init__.py	2005-05-09 17:20:38 UTC (rev 30315)
@@ -16,4 +16,4 @@
 $Id$
 """
 
-from zope.wfmc.component import integration
+from zope.wfmc.adapter import integration

Modified: Zope3/trunk/src/zope/wfmc/adapter/integration.txt
===================================================================
--- Zope3/trunk/src/zope/wfmc/component/integration.txt	2005-05-09 17:07:09 UTC (rev 30314)
+++ Zope3/trunk/src/zope/wfmc/adapter/integration.txt	2005-05-09 17:20:38 UTC (rev 30315)
@@ -4,13 +4,13 @@
 This package provides an adapter-based workflow integration
 component. The component is implemented by the integration module:
 
-    >>> from zope.wfmc import process, component
+    >>> from zope.wfmc import process, adapter
     >>> import zope.component
 
 To demonstrate how this works, we'll use the simple wfmc example
 process:
 
-    >>> pd = process.ProcessDefinition('sample', component.integration)
+    >>> pd = process.ProcessDefinition('sample', adapter.integration)
     >>> zope.component.provideUtility(pd, name=pd.id)
     >>> pd.defineActivities(
     ...     author = process.ActivityDefinition(),



More information about the Zope3-Checkins mailing list