/*
 * Created on 2003-11-18
 *
 * To change the template for this generated file go to
 * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
 */
package com.opensymphony.workflow.designer.actions;

import java.awt.Point;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import com.opensymphony.workflow.designer.WorkflowGraphModel;
import com.opensymphony.workflow.loader.WorkflowDescriptor;

/**
 * @author jackflit
 * Date: 2003-11-18
 */
public class CreateSplit extends AbstractAction {

	private WorkflowGraphModel model;
	private Point location;
	private WorkflowDescriptor workflow;

	public CreateSplit(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location){
		super("Split");
		this.workflow = workflow;		
		this.model = model;
		this.location = location;
	}

	/* (non-Javadoc)
	 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
	 */
	public void actionPerformed(ActionEvent e) {
		CellFactory.createJoin(workflow, model, location);
	}

}

@@ -1,174 +1,4 @@
-/*%0D%0A * Created on 2003-11-18%0D%0A *%0D%0A * To change the template for this generated file go to%0D%0A * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments%0D%0A */%0D%0A
 pack
@@ -44,19 +44,17 @@
 actions;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -68,17 +68,16 @@
 t.Point;
-%0D
 %0Aimport 
@@ -103,19 +103,17 @@
 onEvent;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -139,19 +139,17 @@
 tAction;
-%0D%0A%0D
+%0A
 %0Aimport 
@@ -202,17 +202,16 @@
 phModel;
-%0D
 %0Aimport 
@@ -266,16 +266,13 @@
 tor;
-%0D%0A%0D
+%0A
 %0A/**
-%0D
 %0A * 
@@ -287,17 +287,16 @@
 jackflit
-%0D
 %0A * Date
@@ -311,14 +311,12 @@
 1-18
-%0D
 %0A */
-%0D
 %0Apub
@@ -361,19 +361,17 @@
 Action %7B
-%0D%0A%0D
+%0A
 %0A%09privat
@@ -397,17 +397,16 @@
 l model;
-%0D
 %0A%09privat
@@ -422,17 +422,16 @@
 ocation;
-%0D
 %0A%09privat
@@ -460,19 +460,17 @@
 orkflow;
-%0D%0A%0D
+%0A
 %0A%09public
@@ -553,17 +553,16 @@
 cation)%7B
-%0D
 %0A%09%09super
@@ -571,17 +571,16 @@
 Split%22);
-%0D
 %0A%09%09this.
@@ -601,17 +601,16 @@
 kflow;%09%09
-%0D
 %0A%09%09this.
@@ -623,17 +623,16 @@
 = model;
-%0D
 %0A%09%09this.
@@ -655,124 +655,12 @@
 ion;
-%0D
 %0A%09%7D
-%0D%0A%0D%0A%09/* (non-Javadoc)%0D%0A%09 * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)%0D%0A%09 */%0D
+%0A
 %0A%09pu
@@ -701,17 +701,16 @@
 ent e) %7B
-%0D
 %0A%09%09CellF
@@ -726,12 +726,13 @@
 eate
-Join
+Split
 (wor
@@ -759,15 +759,11 @@
 on);
-%0D
 %0A%09%7D
-%0D%0A%0D
+%0A
 %0A%7D
-%0D
 %0A

Fix for WF-271