[Zope3-checkins] CVS: Zope3/src/zope/app/workflow/stateful -
configure.zcml:1.8 definition.py:1.13
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Mar 3 15:21:06 EST 2004
Update of /cvs-repository/Zope3/src/zope/app/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv21735/src/zope/app/workflow/stateful
Modified Files:
configure.zcml definition.py
Log Message:
Converted process definitions from being arbitrary registerable components to
be local utilities. This drastically simplified the local workflow and process
definition implementation, since they do not have to worry about any
registration stuff anymore. What an improvement!
=== Zope3/src/zope/app/workflow/stateful/configure.zcml 1.7 => 1.8 ===
--- Zope3/src/zope/app/workflow/stateful/configure.zcml:1.7 Wed Mar 3 05:38:59 2004
+++ Zope3/src/zope/app/workflow/stateful/configure.zcml Wed Mar 3 15:20:35 2004
@@ -10,6 +10,12 @@
id="StatefulProcessDefinition"
permission="zope.workflow.ManageProcessDefinitions"
/>
+ <implements
+ interface="zope.app.interfaces.services.utility.ILocalUtility"
+ />
+ <implements
+ interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
+ />
<require
permission="zope.workflow.ManageProcessDefinitions"
interface="
@@ -21,14 +27,7 @@
permission="zope.workflow.ManageProcessDefinitions"
interface="zope.app.container.interfaces.IReadContainer"
/>
- <implements
- interface="zope.app.interfaces.annotation.IAttributeAnnotatable"
- />
- <implements
- interface="zope.app.interfaces.services.registration.IRegisterable"
- />
</content>
-
<!-- States Container -->
=== Zope3/src/zope/app/workflow/stateful/definition.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/workflow/stateful/definition.py:1.12 Wed Mar 3 05:38:59 2004
+++ Zope3/src/zope/app/workflow/stateful/definition.py Wed Mar 3 15:20:35 2004
@@ -11,13 +11,10 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-
"""Stateful workflow process definition.
$Id$
"""
-__metaclass__ = type
-
from persistent import Persistent
from persistent.dict import PersistentDict
from zope.interface import implements
More information about the Zope3-Checkins
mailing list