Package org.eclipse.gef.handles
Class RelativeHandleLocator
- java.lang.Object
-
- org.eclipse.draw2d.RelativeLocator
-
- org.eclipse.gef.handles.RelativeHandleLocator
-
- All Implemented Interfaces:
org.eclipse.draw2d.Locator
public class RelativeHandleLocator extends org.eclipse.draw2d.RelativeLocatorSimilar toRelativeLocator, but adds support for theHandleBoundsinterface. If the reference figure implementsHandleBounds, thenHandleBounds.getHandleBounds()will be used as the reference box. If not, the behavior is the same as that of the superclass.
-
-
Constructor Summary
Constructors Constructor Description RelativeHandleLocator(org.eclipse.draw2d.IFigure reference, int location)Constructs a new locator using the given reference figure and location.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.draw2d.geometry.RectanglegetReferenceBox()Overridden to check for reference figures implementing theHandleBoundsinterface.
-