Eclipse GEF
2.1

org.eclipse.gef
Interface Tool

All Known Subinterfaces:
DragTracker
All Known Implementing Classes:
AbstractTool, ConnectionDragCreationTool, ConnectionEndpointTracker, MarqueeDragTracker, SelectEditPartTracker, SimpleDragTracker

public interface Tool

A Tool interprets Mouse and Keyboard input from an EditDomain and its EditPartViewers. The active Tool and its state determines how the EditDomain will interpret input. Input flows from a Viewer, to the EditDomain, to the EditDomain's active Tool.

Tools process low-level events and turn them into higher-level operations. These operations are encapsulated by Requests. The Requests are then used to communicate with EditParts in the Viewer to perform the User's operation. Using Requests, Tools will: