[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/workflow/interfaces/wfmc.py
Make a todo comment findable and clean up the file a bit.
Philipp von Weitershausen
philikon at philikon.de
Fri Jul 9 08:31:23 EDT 2004
Log message for revision 26285:
Make a todo comment findable and clean up the file a bit.
The XXX comments are probably only understandable to the person who wrote
this code :(
-=-
Modified: Zope3/trunk/src/zope/app/workflow/interfaces/wfmc.py
===================================================================
--- Zope3/trunk/src/zope/app/workflow/interfaces/wfmc.py 2004-07-09 11:17:28 UTC (rev 26284)
+++ Zope3/trunk/src/zope/app/workflow/interfaces/wfmc.py 2004-07-09 12:31:23 UTC (rev 26285)
@@ -21,15 +21,12 @@
from zope.app.workflow.interfaces import IProcessDefinition
from zope.app.workflow.interfaces import IProcessInstance
-
from zope.app.container.interfaces import IContainer
+# TODO:
+# - Specify all attributes as schema fields where possible
+# - Define necessary methods for interfaces
-# ToDo:
-# - Specify all Attributes as SchemaFields where possible
-# - Define necessary methods for Interfaces
-
-
class IWfMCProcessDefinition(IProcessDefinition):
"""WfMC Workflow process definition.
"""
@@ -86,7 +83,6 @@
timeEstimation = Attribute("estimated time for the process")
-
class IWfMCProcessDefinitionElement(Interface):
"""WfMC process definition Element."""
@@ -97,8 +93,6 @@
extendedAttributes = Attribute("list of extended Attributes")
-
-
## FormalParameter Declaration
class IWfMCFormalParameter(IContainer):
@@ -294,24 +288,16 @@
toActivityId = Attribute("Id of ToActivity.")
-
-
-
-
-
-## ProcessInstance
-
class IWfMCProcessInstanceData(Interface):
"""WfMC ProcessInstance Data.
- this is a base interfaces that gets extended dynamically
- when creating a ProcessInstance from the relevantData Spec.
+ This is a base interfaces that gets extended dynamically when
+ creating a ProcessInstance from the relevantData Spec.
"""
- # XXX Not shure how to implement this.
+ # XXX Not sure how to implement this.
# probably using schemagen
-
class IWfMCProcessInstance(IProcessInstance):
"""WfMC Workflow process instance.
"""
@@ -328,11 +314,6 @@
# XXX Do we need an actual Participantlist for implementation ??
-
-
-
-## ActivityInstance
-
class IWfMCActivityInstanceContainer(IContainer):
"""WfMC ActivityInstance Container.
"""
@@ -356,9 +337,6 @@
# XXX
# participants = Attribute("Sequence of assigned Participants.")
-
-## WorkItem
-
class IWfMCWorkitemContainer(IContainer):
"""WfMC Workitem Container.
"""
More information about the Zope3-Checkins
mailing list