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.
|
Modifier and Type | Method and Description |
---|---|
DragTracker |
Handle.getDragTracker()
Returns the DragTracker for dragging this Handle.
|
DragTracker |
EditPart.getDragTracker(Request request)
Returns a
DragTracker for dragging this EditPart. |
Modifier and Type | Method and Description |
---|---|
DragTracker |
GraphicalRootEditPart.getDragTracker(Request req)
Deprecated.
Should never be called.
|
DragTracker |
FreeformGraphicalRootEditPart.getDragTracker(Request req)
Should not be called, but returns a MarqeeDragTracker for good measure.
|
DragTracker |
AbstractTreeEditPart.getDragTracker(Request req) |
DragTracker |
AbstractConnectionEditPart.getDragTracker(Request req) |
DragTracker |
ScalableRootEditPart.getDragTracker(Request req)
Should not be called, but returns a MarqeeDragTracker for good measure.
|
DragTracker |
RootTreeEditPart.getDragTracker(Request request)
This method will never be called on a tree root.
|
DragTracker |
AbstractGraphicalEditPart.getDragTracker(Request request)
Overridden to return a default
DragTracker for
GraphicalEditParts. |
Modifier and Type | Method and Description |
---|---|
protected DragTracker |
ConnectionEndpointHandle.createDragTracker()
Creates and returns a new
ConnectionEndpointTracker . |
protected abstract DragTracker |
AbstractHandle.createDragTracker()
Creates a new drag tracker to be returned by getDragTracker().
|
protected DragTracker |
BendpointHandle.createDragTracker()
By default,
null is returned for the DragTracker. |
protected DragTracker |
ResizeHandle.createDragTracker()
Returns
null for the DragTracker. |
protected DragTracker |
BendpointMoveHandle.createDragTracker()
Creates and returns a new
ConnectionBendpointTracker . |
protected DragTracker |
MoveHandle.createDragTracker()
Overridden to create a
DragEditPartsTracker . |
protected DragTracker |
BendpointCreationHandle.createDragTracker()
Creates and returns a new
ConnectionBendpointTracker . |
DragTracker |
AbstractHandle.getDragTracker()
Returns the drag tracker to use when the user clicks on this handle.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResizableHandleKit.addCornerAndSideHandles(GraphicalEditPart part,
java.util.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,
java.util.List handles,
DragTracker tracker,
Cursor cursor)
Fills the given List with handles at each corner of a figure.
|
static void |
NonResizableHandleKit.addHandle(GraphicalEditPart part,
java.util.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,
java.util.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,
java.util.List handles,
DragTracker tracker,
Cursor cursor)
Deprecated.
|
static void |
NonResizableHandleKit.addMoveHandle(GraphicalEditPart f,
java.util.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,
java.util.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.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
protected DragTracker |
SelectionTool.getDragTracker()
Returns the current drag tracker.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionTool.setDragTracker(DragTracker newDragTracker)
Sets the drag tracker for this SelectionTool.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.