1
2
3
4
5
6 package net.kwfgrid.gwui;
7
8 import org.glassbox.gui.Group;
9
10 /***
11 Group to contain all widgets dedicated to visualize and manipulate a workflow.
12 */
13 public interface WorkflowGroup extends Group {
14 /*** Key for the active-workflow-document property. This property allows ProtocolWorkflow values. */
15 public static final String ACTIVE_WORKFLOW_DOCUMENT_KEY = "kwfgrid.WorkflowGroup.active-workflow-document";
16 /*** Key for the active-tool property. This property allows String values. */
17 public static final String ACTIVE_TOOL_KEY = "kwfgrid.WorkflowGroup.active-tool";
18 /*** Key for the workflow-status property. This property allows Integer values. */
19 public static final String WORKFLOW_STATUS_KEY = "kwfgrid.WorkflowGroup.workflow-status";
20 /*** A possible value of the workflow-status property. */
21 public static final Integer STATUS_UNDEFINED = new Integer(0);
22 /*** A possible value of the workflow-status property. */
23 public static final Integer STATUS_INITIATED = new Integer(1);
24 /*** A possible value of the workflow-status property. */
25 public static final Integer STATUS_RUNNING = new Integer(2);
26 /*** A possible value of the workflow-status property. */
27 public static final Integer STATUS_SUSPENDED = new Integer(3);
28 /*** A possible value of the workflow-status property. */
29 public static final Integer STATUS_ACTIVE = new Integer(4);
30 /*** A possible value of the workflow-status property. */
31 public static final Integer STATUS_TERMINATED = new Integer(5);
32 /*** A possible value of the workflow-status property. */
33 public static final Integer STATUS_COMPLETED = new Integer(6);
34
35 void setWorkflowID(String newworkflowid);
36 }