org.eclipse.gef.handles
Class BendpointCreationHandle
java.lang.Object
Figure
org.eclipse.gef.handles.AbstractHandle
org.eclipse.gef.handles.SquareHandle
org.eclipse.gef.handles.ConnectionHandle
org.eclipse.gef.handles.BendpointHandle
org.eclipse.gef.handles.BendpointCreationHandle
- All Implemented Interfaces:
- EventListener, Handle, PropertyChangeListener
- public class BendpointCreationHandle
- extends BendpointHandle
A BendpointHandle that is used to create a new bendpoint.
- See Also:
- Serialized Form
| Methods inherited from class org.eclipse.gef.handles.AbstractHandle |
ancestorAdded, ancestorMoved, ancestorRemoved, getAccessibleLocation, getDragCursor, getDragTracker, getLocator, getOwner, getOwnerFigure, setDragCursor, setDragTracker, setLocator, setOwner, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BendpointCreationHandle
public BendpointCreationHandle()
- Creates a new BendpointCreationHandle.
BendpointCreationHandle
public BendpointCreationHandle(ConnectionEditPart owner,
int index)
- Creates a new BendpointCreationHandle, sets its owner to
owner
and its index to index, and sets its locator to a new
MidpointLocator.
- Parameters:
owner - the ConnectionEditPart ownerindex - the index
BendpointCreationHandle
public BendpointCreationHandle(ConnectionEditPart owner,
int index,
int locatorIndex)
- Creates a new BendpointCreationHandle, sets its owner to
owner
and its index to index, and sets its locator to a new
MidpointLocator with the given locatorIndex.
- Parameters:
owner - the ConnectionEditPart ownerindex - the indexlocatorIndex - the locator index
createDragTracker
protected DragTracker createDragTracker()
- Creates and returns a new
ConnectionBendpointTracker.
- Overrides:
createDragTracker in class BendpointHandle
- Returns:
- the new ConnectionBendpointTracker
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.