[Zope3-checkins] CVS: Zope3/src/zope/app/workflow - meta.zcml:1.5 metadirectives.py:1.2

Philipp von Weitershausen philikon@philikon.de
Sat, 2 Aug 2003 03:13:49 -0400


Update of /cvs-repository/Zope3/src/zope/app/workflow
In directory cvs.zope.org:/tmp/cvs-serv31951

Modified Files:
	meta.zcml metadirectives.py 
Log Message:
Remove one of the schemas since the two schemas for import/export defined
identical fields.


=== Zope3/src/zope/app/workflow/meta.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/workflow/meta.zcml:1.4	Fri Aug  1 16:40:59 2003
+++ Zope3/src/zope/app/workflow/meta.zcml	Sat Aug  2 03:13:43 2003
@@ -5,13 +5,13 @@
     <meta:directive 
         namespace="http://namespaces.zope.org/workflow"
         name="importHandler" 
-        schema=".metadirectives.IImportHandlerDirective"
+        schema=".metadirectives.IHandlerDirective"
         handler=".metaconfigure.importHandlerDirective" />
 
     <meta:directive 
         namespace="http://namespaces.zope.org/workflow"
         name="exportHandler" 
-        schema=".metadirectives.IExportHandlerDirective"
+        schema=".metadirectives.IHandlerDirective"
         handler=".metaconfigure.exportHandlerDirective" />
 
 </configure>


=== Zope3/src/zope/app/workflow/metadirectives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/workflow/metadirectives.py:1.1	Fri Aug  1 16:40:59 2003
+++ Zope3/src/zope/app/workflow/metadirectives.py	Sat Aug  2 03:13:43 2003
@@ -18,8 +18,8 @@
 from zope.configuration.fields import GlobalObject
 from zope.interface import Interface
 
-class IImportHandlerDirective(Interface):
-    """Register an Import Handler, that is able to load a XML Representation
+class IHandlerDirective(Interface):
+    """Register an Import/Export Handler, that is able to load a XML Representation
     of a ProcessDefinition and create a persistent Instance for it."""
 
     interface = GlobalObject(
@@ -33,21 +33,3 @@
         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)
-