Eclipse GEF
2.1

org.eclipse.gef.handles
Class NonResizableHandleKit

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

public class NonResizableHandleKit
extends Object

A set of utility methods to create Handles for NonResizable Figures.

See Also:
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 addHandles(GraphicalEditPart part, List handles)
          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 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

NonResizableHandleKit

public NonResizableHandleKit()
Method Detail

addCornerHandles

public static void addCornerHandles(GraphicalEditPart part,
                                    List handles)
Fills the given List with handles at each corner of a figure.

Parameters:
part - the handles' GraphicalEditPart
handles - the List to add the four corner handles to

addHandles

public static void addHandles(GraphicalEditPart part,
                              List handles)
Fills the given List with handles at each corner.

Parameters:
part - the handles' GraphicalEditPart
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 handles' GraphicalEditPart
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.