01: package com.opensymphony.workflow.designer.actions;
02:
03: import java.awt.*;
04: import java.awt.event.ActionEvent;
05: import javax.swing.*;
06:
07: import com.opensymphony.workflow.designer.WorkflowGraphModel;
08: import com.opensymphony.workflow.designer.ResourceManager;
09: import com.opensymphony.workflow.loader.WorkflowDescriptor;
10:
11: /**
12: * @author jackflit
13: * Date: 2003-11-18
14: */
15: public class CreateJoin extends AbstractAction {
16:
17: private WorkflowDescriptor workflow;
18: private WorkflowGraphModel model;
19: private Point location;
20:
21: public CreateJoin(WorkflowDescriptor workflow,
22: WorkflowGraphModel model, Point location) {
23: super (ResourceManager.getString("join"));
24: this .workflow = workflow;
25: this .model = model;
26: this .location = location;
27: }
28:
29: public void actionPerformed(ActionEvent e) {
30: CellFactory.createJoin(workflow, model, location);
31: }
32:
33: }
|