|
Eclipse GEF 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.gef.handles.NonResizableHandleKit
A set of utility methods to create Handles for NonResizable Figures.
Handle| Constructor Summary | |
NonResizableHandleKit()
|
|
| Method Summary | |
static void |
addCornerHandles(GraphicalEditPart part,
List handles)
Fills the given List with handles at each corner of a figure. |
static void |
addCornerHandles(GraphicalEditPart part,
List handles,
DragTracker tracker,
Cursor cursor)
Fills the given List with handles at each corner of a figure. |
static void |
addHandle(GraphicalEditPart part,
List handles,
int direction)
Adds a single handle in the given direction to the given List. |
static void |
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 |
addHandles(GraphicalEditPart part,
List handles)
Fills the given List with handles at each corner. |
static void |
addHandles(GraphicalEditPart part,
List handles,
DragTracker tracker,
Cursor cursor)
Fills the given List with handles at each corner. |
static void |
addMoveHandle(GraphicalEditPart f,
List handles)
Fills the given List with move borders at each side of a figure. |
static void |
addMoveHandle(GraphicalEditPart f,
List handles,
DragTracker tracker,
Cursor cursor)
Fills the given List with move borders at each side of a figure. |
static Handle |
moveHandle(GraphicalEditPart owner)
Returns a new MoveHandle with the given owner. |
static Handle |
moveHandle(GraphicalEditPart owner,
DragTracker tracker,
Cursor cursor)
Returns a new MoveHandle with the given owner. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NonResizableHandleKit()
| Method Detail |
public static void addCornerHandles(GraphicalEditPart part,
List handles,
DragTracker tracker,
Cursor cursor)
part - the handles' GraphicalEditParthandles - the List to add the four corner handles totracker - the handles' DragTrackercursor - the handles' Cursor
public static void addCornerHandles(GraphicalEditPart part,
List handles)
part - the handles' GraphicalEditParthandles - the List to add the four corner handles to
public static void addHandle(GraphicalEditPart part,
List handles,
int direction)
part - the owner GraphicalEditPart of the handlehandles - the List to add the handle todirection - the integer constant from PositionConstants that refers to the handle
direction
public static void addHandle(GraphicalEditPart part,
List handles,
int direction,
DragTracker tracker,
Cursor cursor)
tracker - the DragTracker to assign to this handlepart - the owner GraphicalEditPart of the handlehandles - the List to add the handle todirection - the integer constant from PositionConstants that refers to the handle
directioncursor - the Cursor to use when hovering over this handle
public static void addHandles(GraphicalEditPart part,
List handles)
part - the handles' GraphicalEditParthandles - the List to add the handles to
public static void addHandles(GraphicalEditPart part,
List handles,
DragTracker tracker,
Cursor cursor)
part - the handles' GraphicalEditParthandles - the List to add the handles totracker - the handles' DragTrackercursor - the handles' Cursor
public static void addMoveHandle(GraphicalEditPart f,
List handles)
f - the handles' GraphicalEditParthandles - the List to add the handles to
public static void addMoveHandle(GraphicalEditPart f,
List handles,
DragTracker tracker,
Cursor cursor)
tracker - the DragTracker to assign to this handlef - the handles' GraphicalEditParthandles - the List to add the handles tocursor - the Cursor to use when hovering over this handlepublic static Handle moveHandle(GraphicalEditPart owner)
MoveHandle with the given owner.
owner - the GraphicalEditPart that is the owner of the new MoveHandle
public static Handle moveHandle(GraphicalEditPart owner,
DragTracker tracker,
Cursor cursor)
MoveHandle with the given owner.
tracker - the DragTracker to assign to this handleowner - the GraphicalEditPart that is the owner of the new MoveHandlecursor - the Cursor to use when hovering over this handle
|
Eclipse GEF 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||