org.eclipse.gef.handles
Class ConnectionStartHandle
java.lang.Object
Figure
org.eclipse.gef.handles.AbstractHandle
org.eclipse.gef.handles.SquareHandle
org.eclipse.gef.handles.ConnectionHandle
org.eclipse.gef.handles.ConnectionStartHandle
- All Implemented Interfaces:
- EventListener, Handle, PropertyChangeListener
- public final class ConnectionStartHandle
- extends ConnectionHandle
A handle used at the start of the Connection.
This is treated differently than the end of the Connection.
- 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 |
ConnectionStartHandle
public ConnectionStartHandle(ConnectionEditPart owner)
- Creates a new ConnectionStartHandle, sets its owner to
owner,
and sets its locator to a ConnectionLocator.
- Parameters:
owner - the ConnectionEditPart owner
ConnectionStartHandle
public ConnectionStartHandle(ConnectionEditPart owner,
boolean fixed)
- Creates a new ConnectionStartHandle and sets its owner to
owner.
If the handle is fixed, it cannot be dragged.
- Parameters:
owner - the ConnectionEditPart ownerfixed - if true, handle cannot be dragged.
ConnectionStartHandle
public ConnectionStartHandle()
- Creates a new ConnectionStartHandle.
createDragTracker
protected DragTracker createDragTracker()
- Creates and returns a new
ConnectionEndpointTracker.
- Specified by:
createDragTracker in class AbstractHandle
- Returns:
- the new ConnectionEndpointTracker
Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.