Package org.eclipse.gef
Interface DragTracker
-
- All Superinterfaces:
Tool
- All Known Implementing Classes:
ConnectionBendpointTracker
,ConnectionDragCreationTool
,ConnectionEndpointTracker
,DeselectAllTracker
,DragEditPartsTracker
,DragTreeItemsTracker
,MarqueeDragTracker
,ResizeTracker
,SelectEditPartTracker
,SimpleDragTracker
public interface DragTracker extends Tool
A specialization of Tool that is used by theSelectionTool
during a Mouse Drag. TheSelectionTool
obtains aDragTracker
on mouse down, and forwards all input to that tracker until after the mouse is released. The SelectionTool also obtains DragTrackers in keyboard accessible ways.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
commitDrag()
TheSelectionTool
supports keyboard accessible drags.-
Methods inherited from interface org.eclipse.gef.Tool
activate, deactivate, focusGained, focusLost, keyDown, keyTraversed, keyUp, mouseDoubleClick, mouseDown, mouseDrag, mouseHover, mouseMove, mouseUp, mouseWheelScrolled, nativeDragFinished, nativeDragStarted, setEditDomain, setProperties, setViewer, viewerEntered, viewerExited
-
-
-
-
Method Detail
-
commitDrag
void commitDrag()
TheSelectionTool
supports keyboard accessible drags. In such scenarios it is up to the SelectionTool to interpret commit and abort keystrokes. Since the DragTracker cannot do this, this method is used to indicate that the User has committed the drag using the keyboard. Abort is not handled specially, and the DragTracker should peform the usual cleanup in itsTool.deactivate()
method.
-
-