//----------------------------BEGIN LICENSE----------------------------
/* 
 * Willow : the Open Source WorkFlow Project
 * Distributable under GNU LGPL license by gun.org
 *
 * Copyright (C) 2004-2010 huihoo.org 
 * Copyright (C) 2004-2010  ZosaTapo <dertyang@hotmail.com> 
 * 
 * ====================================================================
 * Project Homepage : http://www.huihoo.org/god4j
 * Source Forge     : http://sourceforge.net/projects/huihoo
 * Mailing list     : god4j@lists.sourceforge.net 
 */
//----------------------------END  LICENSE-----------------------------
package org.huihoo.god4j.jgraph;
import java.awt.geom.Rectangle2D;

import org.huihoo.god4j.util.StringManager;
import org.jgraph.JGraph;
import org.jgraph.graph.CellHandle;
import org.jgraph.graph.CellMapper;
import org.jgraph.graph.EdgeView;
import org.jgraph.graph.GraphContext;
public class JGraphTransitionView extends EdgeView
{
	private static StringManager sm = StringManager.getManager(JGraphConstants.PACKAGE);

	/* Array of control points represented as rectangles. */
	private Rectangle2D[] r;

	public JGraphTransitionView(Object cell, JGraph graph, CellMapper mapper)
	{
		super(cell, graph, mapper);
	}

	public CellHandle getHandle(GraphContext context)
	{
		return new JGraphTransitionHandler(this, context);
	}
}
