Eclipse GEF
2.1

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

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)
          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

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.

Parameters:
part - the owner GraphicalEditPart of the handles
handles - the List to add the handles to

addMoveHandle

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

Parameters:
f - the GraphicalEditPart thatis the owner of the handles
handles - the List to add the handles to

moveHandle

public static Handle moveHandle(GraphicalEditPart owner)
Returns a new MoveHandle with the given owner.

Parameters:
owner - the GraphicalEditPart that is the owner of the new MoveHandle
Returns:
the new MoveHandle

Eclipse GEF
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.