# Uses of Interface
org.eclipse.gef.DragTracker

Packages that use DragTracker
Package
Description
org.eclipse.gef
All interfaces, base types, and the plugin class are here.
org.eclipse.gef.editparts
This package contains abstract implementation of the EditPart interface.
org.eclipse.gef.handles
This package provide several common handle implementations.
org.eclipse.gef.tools
This package provides several tool implementations.

## Uses of DragTracker in org.eclipse.gef

Methods in org.eclipse.gef that return DragTracker
Modifier and Type
Method
Description
`DragTracker`
EditPart.`getDragTracker(Request request)`
Returns a `DragTracker` for dragging this EditPart.
`DragTracker`
Handle.`getDragTracker()`
Returns the DragTracker for dragging this Handle.

## Uses of DragTracker in org.eclipse.gef.editparts

Methods in org.eclipse.gef.editparts that return DragTracker
Modifier and Type
Method
Description
`DragTracker`
AbstractConnectionEditPart.`getDragTracker(Request req)`
`DragTracker`
AbstractGraphicalEditPart.`getDragTracker(Request request)`
Overridden to return a default `DragTracker` for GraphicalEditParts.
`DragTracker`
AbstractTreeEditPart.`getDragTracker(Request req)`
`DragTracker`
FreeformGraphicalRootEditPart.`getDragTracker(Request req)`
Should not be called, but returns a MarqeeDragTracker for good measure.
`DragTracker`
GraphicalRootEditPart.`getDragTracker(Request req)`
Deprecated.
Should never be called.
`DragTracker`
RootTreeEditPart.`getDragTracker(Request request)`
This method will never be called on a tree root.
`DragTracker`
ScalableRootEditPart.`getDragTracker(Request req)`
Should not be called, but returns a MarqeeDragTracker for good measure.

## Uses of DragTracker in org.eclipse.gef.handles

Methods in org.eclipse.gef.handles that return DragTracker
Modifier and Type
Method
Description
`protected abstract DragTracker`
AbstractHandle.`createDragTracker()`
Creates a new drag tracker to be returned by getDragTracker().
`protected DragTracker`
BendpointCreationHandle.`createDragTracker()`
Creates and returns a new `ConnectionBendpointTracker`.
`protected DragTracker`
BendpointHandle.`createDragTracker()`
By default, `null` is returned for the DragTracker.
`protected DragTracker`
BendpointMoveHandle.`createDragTracker()`
Creates and returns a new `ConnectionBendpointTracker`.
`protected DragTracker`
ConnectionEndpointHandle.`createDragTracker()`
Creates and returns a new `ConnectionEndpointTracker`.
`protected DragTracker`
MoveHandle.`createDragTracker()`
Overridden to create a `DragEditPartsTracker`.
`protected DragTracker`
ResizeHandle.`createDragTracker()`
Returns `null` for the DragTracker.
`DragTracker`
AbstractHandle.`getDragTracker()`
Returns the drag tracker to use when the user clicks on this handle.
Methods in org.eclipse.gef.handles with parameters of type DragTracker
Modifier and Type
Method
Description
`static void`
ResizableHandleKit.`addCornerAndSideHandles(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor)`
Fills the given List with handles at each corner and side of a figure.
`static void`
NonResizableHandleKit.`addCornerHandles(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor)`
Fills the given List with handles at each corner of a figure.
`static void`
NonResizableHandleKit.`addHandle(GraphicalEditPart part, List handles, int direction, DragTracker tracker, Cursor cursor)`
Adds a single handle in the given direction to the given List.
`static void`
ResizableHandleKit.`addHandle(GraphicalEditPart part, List handles, int direction, DragTracker tracker, Cursor cursor)`
Adds a single handle in the given direction to the given List with the given DragTracker
`static void`
NonResizableHandleKit.`addHandles(GraphicalEditPart part, List handles, DragTracker tracker, Cursor cursor)`
Deprecated.
`static void`
NonResizableHandleKit.`addMoveHandle(GraphicalEditPart f, List handles, DragTracker tracker, Cursor cursor)`
Fills the given List with move borders at each side of a figure.
`static void`
ResizableHandleKit.`addMoveHandle(GraphicalEditPart f, List handles, DragTracker tracker, Cursor cursor)`
Fills the given List with move borders with the given DragTracker at each side of a figure.
`static Handle`
NonResizableHandleKit.`moveHandle(GraphicalEditPart owner, DragTracker tracker, Cursor cursor)`
Returns a new `MoveHandle` with the given owner.
`static Handle`
ResizableHandleKit.`moveHandle(GraphicalEditPart owner, DragTracker tracker, Cursor cursor)`
Returns a new `MoveHandle` with the given owner and DragTracker.
`void`
AbstractHandle.`setDragTracker(DragTracker t)`
Sets the drag tracker for this handle.

## Uses of DragTracker in org.eclipse.gef.tools

Classes in org.eclipse.gef.tools that implement DragTracker
Modifier and Type
Class
Description
`class`
`ConnectionBendpointTracker`
A tracker for creating new bendpoints or dragging existing ones.
`class`
`ConnectionDragCreationTool`
A connection creation tool that implements DragTracker.
`class`
`ConnectionEndpointTracker`
A DragTracker that moves the endpoint of a connection to another location.
`class`
`DeselectAllTracker`
A DragTracker whose job it is to deselect all `EditParts`.
`class`
`DragEditPartsTracker`
A DragTracker that moves `EditParts`.
`class`
`DragTreeItemsTracker`
Specializes selection to do nothing, the native Tree provides selection for free.
`class`
`MarqueeDragTracker`
A marqueeSelectionTool that implements the DragTracker interface.
`class`
`ResizeTracker`
A Tracker for dragging a resize handle.
`class`
`SelectEditPartTracker`
DragTracker used to select, edit, and open `EditParts`.
`class`
`SimpleDragTracker`
A simple drag tracker implementation that does not perform targeting.
Methods in org.eclipse.gef.tools that return DragTracker
Modifier and Type
Method
Description
`protected DragTracker`
SelectionTool.`getDragTracker()`
Returns the current drag tracker.
Methods in org.eclipse.gef.tools with parameters of type DragTracker
Modifier and Type
Method
Description
`void`
SelectionTool.`setDragTracker(DragTracker newDragTracker)`
Sets the drag tracker for this SelectionTool.