[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - meta.zcml:1.6 metadirectives.py:1.3
Anthony Baxter
anthony@interlink.com.au
Sat, 2 Aug 2003 05:11:33 -0400
Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv24272/zope/app/workflow
Modified Files:
meta.zcml metadirectives.py
Log Message:
Backing out philiKON's changes - they broke the functional tests, and
from his signoff on IRC, I don't think he's going to be around until
Monday. As I'm working on the Catalog functional tests, this is pretty
annoying. I tried to figure out how to just back out bits til I found the
broken stuff, but it's a pretty serious refactoring. I'll send a message
to zope3-checkins with the CVS commands used for this, so that someone
can undo the backout if they wish.
=== Zope3/src/zope/app/workflow/meta.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/workflow/meta.zcml:1.5 Sat Aug 2 03:13:43 2003
+++ Zope3/src/zope/app/workflow/meta.zcml Sat Aug 2 05:11:29 2003
@@ -5,13 +5,13 @@
<meta:directive
namespace="http://namespaces.zope.org/workflow"
name="importHandler"
- schema=".metadirectives.IHandlerDirective"
+ schema=".metadirectives.IImportHandlerDirective"
handler=".metaconfigure.importHandlerDirective" />
<meta:directive
namespace="http://namespaces.zope.org/workflow"
name="exportHandler"
- schema=".metadirectives.IHandlerDirective"
+ schema=".metadirectives.IExportHandlerDirective"
handler=".metaconfigure.exportHandlerDirective" />
</configure>
=== Zope3/src/zope/app/workflow/metadirectives.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/workflow/metadirectives.py:1.2 Sat Aug 2 03:13:43 2003
+++ Zope3/src/zope/app/workflow/metadirectives.py Sat Aug 2 05:11:29 2003
@@ -18,8 +18,8 @@
from zope.configuration.fields import GlobalObject
from zope.interface import Interface
-class IHandlerDirective(Interface):
- """Register an Import/Export Handler, that is able to load a XML Representation
+class IImportHandlerDirective(Interface):
+ """Register an Import Handler, that is able to load a XML Representation
of a ProcessDefinition and create a persistent Instance for it."""
interface = GlobalObject(
@@ -33,3 +33,21 @@
description=u"The factory for the instance that implements the "\
u"handler.",
required=True)
+
+
+class IExportHandlerDirective(Interface):
+ """Register an Export Handler, that is able to save a XML Representation
+ of a ProcessDefinition from a given object."""
+
+ interface = GlobalObject(
+ title=u"Interface",
+ description=u"The interface of the process definition this "\
+ u"handler can save.",
+ required=True)
+
+ factory = GlobalObject(
+ title=u"Factory",
+ description=u"The factory for the instance that implements the "\
+ u"handler.",
+ required=True)
+