# Uses of Interface
org.eclipse.gef.Handle

Packages that use Handle
Package
Description
org.eclipse.gef
All interfaces, base types, and the plugin class are here.
org.eclipse.gef.editpolicies
This package contains EditPolicy implementations for many common editing Roles.
org.eclipse.gef.handles
This package provide several common handle implementations.
org.eclipse.gef.ui.parts

## Uses of Handle in org.eclipse.gef

Methods in org.eclipse.gef that return Handle
Modifier and Type
Method
Description
`Handle`
GraphicalViewer.`findHandleAt(org.eclipse.draw2d.geometry.Point p)`
Returns the `Handle` at the specified Point.

## Uses of Handle in org.eclipse.gef.editpolicies

Fields in org.eclipse.gef.editpolicies with type parameters of type Handle
Modifier and Type
Field
Description
`protected List<? extends Handle>`
SelectionHandlesEditPolicy.`handles`
the List of handles
Methods in org.eclipse.gef.editpolicies that return types with arguments of type Handle
Modifier and Type
Method
Description
`protected List<? extends Handle>`
NonResizableEditPolicy.`createSelectionHandles()`
`protected List<? extends Handle>`
ResizableEditPolicy.`createSelectionHandles()`
`protected abstract List<? extends Handle>`
SelectionHandlesEditPolicy.`createSelectionHandles()`
Subclasses must implement to provide the list of handles.
Method parameters in org.eclipse.gef.editpolicies with type arguments of type Handle
Modifier and Type
Method
Description
`protected void`
NonResizableEditPolicy.`createDragHandle(List<Handle> handles, int direction)`
Creates a 'resize'/'drag' handle, which uses a `DragEditPartsTracker` in case `NonResizableEditPolicy.isDragAllowed()` returns true, and a `SelectEditPartTracker` otherwise.
`protected void`
NonResizableEditPolicy.`createMoveHandle(List<Handle> handles)`
Creates a 'move' handle, which uses a `DragEditPartsTracker` in case `NonResizableEditPolicy.isDragAllowed()` returns true, and a `SelectEditPartTracker` otherwise.
`protected void`
ResizableEditPolicy.`createResizeHandle(List<Handle> handles, int direction)`
Creates a 'resize' handle, which uses a `ResizeTracker` in case resizing is allowed in the respective direction, otherwise returns a drag handle by delegating to `NonResizableEditPolicy.createDragHandle(List, int)`.

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

Classes in org.eclipse.gef.handles that implement Handle
Modifier and Type
Class
Description
`class`
`AbstractHandle`
Base implementation for handles.
`class`
`BendpointCreationHandle`
A BendpointHandle that is used to create a new bendpoint.
`class`
`BendpointHandle`
A handle for bendpoints on a connection.
`class`
`BendpointMoveHandle`
A BendpointHandle that is used to move an existing bendpoint.
`final class`
`ConnectionEndHandle`
Deprecated.
use `ConnectionEndpointHandle`
`class`
`ConnectionEndpointHandle`
A handle used at the start or end of the `Connection`.
`class`
`ConnectionHandle`
The base implementation for handles used with editparts whose figure is a `Connection`.
`final class`
`ConnectionStartHandle`
Deprecated.
use `ConnectionEndpointHandle`
`class`
`MoveHandle`
A Handle used for moving `GraphicalEditPart`s.
`class`
`NonResizableHandle`
Deprecated.
this handle type is no longer used
`class`
`ResizeHandle`
A Handle used to resize a GraphicalEditPart.
`class`
`SquareHandle`
A small square handle approximately 7x7 pixels in size, that is either black or white.
Methods in org.eclipse.gef.handles that return Handle
Modifier and Type
Method
Description
`static Handle`
NonResizableHandleKit.`moveHandle(GraphicalEditPart owner)`
Returns a new `MoveHandle` with the given owner.
`static Handle`
NonResizableHandleKit.`moveHandle(GraphicalEditPart owner, DragTracker tracker, Cursor cursor)`
Returns a new `MoveHandle` with the given owner.
`static Handle`
ResizableHandleKit.`moveHandle(GraphicalEditPart owner)`
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.
Method parameters in org.eclipse.gef.handles with type arguments of type Handle
Modifier and Type
Method
Description
`static void`
ResizableHandleKit.`addCornerAndSideHandles(GraphicalEditPart part, List<Handle> handles)`
Fills the given List with handles at each corner and side of a figure.
`static void`
ResizableHandleKit.`addCornerAndSideHandles(GraphicalEditPart part, List<Handle> 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<Handle> handles)`
Fills the given List with handles at each corner of a figure.
`static void`
NonResizableHandleKit.`addCornerHandles(GraphicalEditPart part, List<Handle> handles, DragTracker tracker, Cursor cursor)`
Fills the given List with handles at each corner of a figure.
`static void`
NonResizableHandleKit.`addHandle(GraphicalEditPart part, List<Handle> handles, int direction)`
Adds a single handle in the given direction to the given List.
`static void`
NonResizableHandleKit.`addHandle(GraphicalEditPart part, List<Handle> 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<Handle> handles, int direction)`
Adds a single handle in the given direction to the given List.
`static void`
ResizableHandleKit.`addHandle(GraphicalEditPart part, List<Handle> 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<Handle> handles)`
Deprecated.
`static void`
NonResizableHandleKit.`addHandles(GraphicalEditPart part, List<Handle> handles, DragTracker tracker, Cursor cursor)`
Deprecated.
`static void`
ResizableHandleKit.`addHandles(GraphicalEditPart part, List<Handle> handles)`
Deprecated.
`static void`
NonResizableHandleKit.`addMoveHandle(GraphicalEditPart f, List<Handle> handles)`
Fills the given List with move borders at each side of a figure.
`static void`
NonResizableHandleKit.`addMoveHandle(GraphicalEditPart f, List<Handle> 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<Handle> handles)`
Fills the given List with move borders at each side of a figure.
`static void`
ResizableHandleKit.`addMoveHandle(GraphicalEditPart f, List<Handle> handles, DragTracker tracker, Cursor cursor)`
Fills the given List with move borders with the given DragTracker at each side of a figure.

## Uses of Handle in org.eclipse.gef.ui.parts

Methods in org.eclipse.gef.ui.parts that return Handle
Modifier and Type
Method
Description
`Handle`
GraphicalViewerImpl.`findHandleAt(org.eclipse.draw2d.geometry.Point p)`