Package org.eclipse.gef.handles
Class MoveHandleLocator
java.lang.Object
org.eclipse.gef.handles.MoveHandleLocator
- All Implemented Interfaces:
- Locator
A Locator used to place 
MoveHandles. By default, a MoveHandle's
 bounds are equal to its owner figure's bounds, expanded by the handle's
 Insets.- 
Constructor SummaryConstructorsConstructorDescriptionMoveHandleLocator(IFigure ref) Creates a new MoveHandleLocator and sets its reference figure toref.
- 
Method SummaryModifier and TypeMethodDescriptionprotected IFigureReturns the reference figure for this locator.voidSets the handle's bounds to that of its owner figure's bounds, expanded by the handle's Insets.voidsetReference(IFigure follow) Sets the reference figure.
- 
Constructor Details- 
MoveHandleLocatorCreates a new MoveHandleLocator and sets its reference figure toref. The reference figure should be the handle's owner figure.- Parameters:
- ref- the handle's owner
 
 
- 
- 
Method Details- 
getReferenceReturns the reference figure for this locator.- Returns:
- the handle's owner
 
- 
relocateSets the handle's bounds to that of its owner figure's bounds, expanded by the handle's Insets.
- 
setReferenceSets the reference figure.- Parameters:
- follow- the reference figure, should be the handle's owner figure
 
 
-