1 package com.opensymphony.workflow.designer.actions; 2 3 import java.awt.*; 4 import java.awt.event.ActionEvent ; 5 import javax.swing.*; 6 7 import com.opensymphony.workflow.designer.WorkflowGraphModel; 8 import com.opensymphony.workflow.designer.ResourceManager; 9 import com.opensymphony.workflow.loader.WorkflowDescriptor; 10 11 15 public class CreateJoin extends AbstractAction 16 { 17 18 private WorkflowDescriptor workflow; 19 private WorkflowGraphModel model; 20 private Point location; 21 22 public CreateJoin(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) 23 { 24 super(ResourceManager.getString("join")); 25 this.workflow = workflow; 26 this.model = model; 27 this.location = location; 28 } 29 30 public void actionPerformed(ActionEvent e) 31 { 32 CellFactory.createJoin(workflow, model, location); 33 } 34 35 } 36 | Popular Tags |