GEF v2.0

org.eclipse.gef.handles
Class ResizableHandleKit

java.lang.Object
  |
  +--org.eclipse.gef.handles.ResizableHandleKit

public class ResizableHandleKit
extends Object

A set of utility methods to create Handles for the common locations on a figure's bounds.

See Also:
Handle

Field Summary
protected static Cursor EAST_CURSOR
           
protected static Cursor NORTH_CURSOR
           
protected static Cursor NORTHEAST_CURSOR
           
protected static Cursor NORTHWEST_CURSOR
           
protected static Cursor SOUTH_CURSOR
           
protected static Cursor SOUTHEAST_CURSOR
           
protected static Cursor SOUTHWEST_CURSOR
           
protected static Cursor WEST_CURSOR
           
 
Constructor Summary
ResizableHandleKit()
           
 
Method Summary
static void addHandles(GraphicalEditPart part, List handles)
          Fills the given List with handles at each corner and the north, south, east, and west of the GraphicalEditPart.
static void addMoveHandle(GraphicalEditPart f, List handles)
          Fills the given List with move borders at each side of a figure.
static Handle moveHandle(GraphicalEditPart owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NORTH_CURSOR

protected static final Cursor NORTH_CURSOR

SOUTH_CURSOR

protected static final Cursor SOUTH_CURSOR

EAST_CURSOR

protected static final Cursor EAST_CURSOR

WEST_CURSOR

protected static final Cursor WEST_CURSOR

NORTHEAST_CURSOR

protected static final Cursor NORTHEAST_CURSOR

NORTHWEST_CURSOR

protected static final Cursor NORTHWEST_CURSOR

SOUTHEAST_CURSOR

protected static final Cursor SOUTHEAST_CURSOR

SOUTHWEST_CURSOR

protected static final Cursor SOUTHWEST_CURSOR
Constructor Detail

ResizableHandleKit

public ResizableHandleKit()
Method Detail

addHandles

public static void addHandles(GraphicalEditPart part,
                              List handles)
Fills the given List with handles at each corner and the north, south, east, and west of the GraphicalEditPart.

addMoveHandle

public static void addMoveHandle(GraphicalEditPart f,
                                 List handles)
Fills the given List with move borders at each side of a figure.

moveHandle

public static Handle moveHandle(GraphicalEditPart owner)

GEF v2.0