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