[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow - __init__.py:1.8 stateful.py:1.8
Ulrich Eck
ueck@net-labs.de
Sat, 22 Mar 2003 11:02:46 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv5477
Modified Files:
__init__.py stateful.py
Log Message:
updates to workflow-interfaces for IUseConfiguration compatiblity
=== Zope3/src/zope/app/interfaces/workflow/__init__.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/interfaces/workflow/__init__.py:1.7 Tue Feb 11 10:59:52 2003
+++ Zope3/src/zope/app/interfaces/workflow/__init__.py Sat Mar 22 11:02:46 2003
@@ -19,12 +19,11 @@
from zope.interface import Interface
from zope.interface import Attribute
-from zope.interface.common.mapping \
- import IEnumerableMapping
+from zope.interface.common.mapping import IEnumerableMapping
from zope.app.interfaces.container import IContainer
from zope.app.interfaces.services.configuration \
import INamedComponentConfiguration
-
+from zope.app.interfaces.services.configuration import ComponentPath
@@ -58,6 +57,12 @@
"""Configuration for a workflow process definition.
"""
+ componentPath = ComponentPath(
+ title=u"Component path",
+ description=u"The physical path to the component",
+ required=True,
+ readonly=True,
+ )
=== Zope3/src/zope/app/interfaces/workflow/stateful.py 1.7 => 1.8 ===
--- Zope3/src/zope/app/interfaces/workflow/stateful.py:1.7 Tue Feb 11 10:59:52 2003
+++ Zope3/src/zope/app/interfaces/workflow/stateful.py Sat Mar 22 11:02:46 2003
@@ -64,7 +64,8 @@
condition = zope.schema.TextLine(
title=u"Condition",
- description=u"The condition that is evaluated to decide if the condition is fired or not.",
+ description=u"""The condition that is evaluated to decide if the
+ condition is fired or not.""",
required=False)
permission = PermissionField(