[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow - configure.zcml:1.5 workflows.pt:1.2

Stephan Richter srichter@cosmos.phy.tufts.edu
Tue, 29 Jul 2003 20:00:48 -0400


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

Modified Files:
	configure.zcml workflows.pt 
Log Message:
Workflow enhancements to make them more useful. (More to come)

- ContentWorkflowsUtility has been renamed to ContentWorkflowsManager

- Specific Process Definitions can now be mapped to interfaces (later 
  content types), so that a content type only receives the workflows that
  were inteneded for it.

- Supplied a management screen for the above.

- Wrote a bunch of tests for ContentWorkflowsManager.

- Added a default screen to the Workflow Service, which lists all registered
  process definitions.


=== Zope3/src/zope/app/browser/workflow/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/browser/workflow/configure.zcml:1.4	Sat Jun 21 17:22:07 2003
+++ Zope3/src/zope/app/browser/workflow/configure.zcml	Tue Jul 29 20:00:10 2003
@@ -8,8 +8,9 @@
   for="zope.app.interfaces.workflow.IWorkflowService"
   name="index.html"
   template="workflows.pt"
-  class="zope.app.browser.services.registration.NameComponentRegistryView"
+  class=".workflows.WorkflowsRegistryView"
   permission="zope.ManageServices"  
+  menu="zmi_views" title="Processes"
   />
 
 
@@ -18,7 +19,7 @@
   menu="add_service"
   for="zope.app.interfaces.container.IAdding"
   action="WorkflowService"
-  title='Workflow Service'
+  title="'Workflow Service"
   description="A workflow service" 
   />
 


=== Zope3/src/zope/app/browser/workflow/workflows.pt 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/workflows.pt:1.1	Thu May  8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/workflows.pt	Tue Jul 29 20:00:10 2003
@@ -1,33 +1,34 @@
 <html metal:use-macro="views/standard_macros/page">
 <body metal:fill-slot="body">
-<div metal:use-macro="view/indexMacros/macros/body">
+  <div metal:use-macro="view/indexMacros/macros/body">
  
-  <h2 metal:fill-slot="heading">ProcessDefinitions configured in this workflow service.</h2>
+  <h2 metal:fill-slot="heading">
+    ProcessDefinitions configured in this workflow service.
+  </h2>
  
   <p metal:fill-slot="empty_text">No ProcessDefinitions have been configured</p>
  
   <div metal:fill-slot="extra_top">
  
-    <p>For each ProcessDefinition, the ProcessDefinition name is given and all of the
-       components registered to provide the ProcessDefinition are shown.  You
-       may select the component to provide the ProcessDefinition or disable the
-       ProcessDefinition.
-    </p>
- 
-    <p>Select a ProcessDefinition name or a component name to visit the ProcessDefinition
-       or component.
-    </p>
+    <p>For each ProcessDefinition, the ProcessDefinition name is given and all
+       of the components registered to provide the ProcessDefinition are
+       shown.  You may select the component to provide the ProcessDefinition
+       or disable the ProcessDefinition.</p>
+ 
+    <p>Select a ProcessDefinition name or a component name to visit the
+       ProcessDefinition or component.</p>
  
   </div>
  
-  <p metal:fill-slot="help_text">To configure a ProcessDefinition, add a ProcessDefinition
+  <p metal:fill-slot="help_text">
+     To configure a ProcessDefinition, add a ProcessDefinition
      component to a <em>package</em> in <a
      href="../../../Packages">Packages</a> or to the <a
      href="../../../Packages/default">default package</a>. After the component
-     is added, add a ProcessDefinition configuration that configures the component to
-     provide a ProcessDefinition.
+     is added, add a ProcessDefinition configuration that configures the 
+     component to provide a ProcessDefinition.
   </p>
  
-</div>
+  </div>
 </body>
 </html>