1
2
3
4
5
6 package net.kwfgrid.gwui.gui;
7
8 import net.kwfgrid.gworkflowdl.protocol.structure.*;
9 import net.kwfgrid.gworkflowdl.structure.GenericProperties;
10
11 import org.glassbox.executor.Executor;
12
13 /***
14 An editor for the properties of a workflow.
15 */
16 public class WorkflowPropertiesEditor extends PropertiesEditor {
17 /***
18 Constructor.
19 @param executor The invoker for a method call on the workflow structure.
20 @param workflow The edited workflow.
21 */
22 public WorkflowPropertiesEditor(Executor executor, ProtocolWorkflow workflow) {
23 super(executor, workflow, workflow);
24 }
25
26 protected GenericProperties getElementProperties() {
27 return ((ProtocolWorkflow)getElement()).getProperties();
28 }
29 }