public class ConnectionTool extends AbstractGraphEditorTool {
public enum ContinuousConnectionMode { FAN, FOLD }
protected static final Color incompleteConnectionColor = Color.GREEN;
protected static final Color validConnectionColor = Color.BLUE;
protected static final Color invalidConnectionColor = Color.RED;
<BUG>private static final Color highlightColor = new Color(1.0f, 0.5f, 0.0f).brighter();</BUG>
protected boolean forbidSelfLoops = true;
protected boolean directedArcs = true;
<BUG>protected boolean useTemplate = true;
private Point2D firstPoint = null;</BUG>
private VisualNode firstNode = null;

public class ConnectionTool extends AbstractGraphEditorTool {
public enum ContinuousConnectionMode { FAN, FOLD }
protected static final Color incompleteConnectionColor = Color.GREEN;
protected static final Color validConnectionColor = Color.BLUE;
protected static final Color invalidConnectionColor = Color.RED;
protected boolean forbidSelfLoops = true;
protected boolean directedArcs = true;
protected boolean useTemplate = true;
protected boolean allLevels = true;
private Point2D firstPoint = null;
private VisualNode firstNode = null;
