public class ChopboxAnchorFixed
extends org.eclipse.draw2d.ChopboxAnchor
ChopboxAnchor by
overwriting the erroneous methods.| Constructor and Description |
|---|
ChopboxAnchorFixed(org.eclipse.draw2d.IFigure figure,
AdvancedAnchor advancedAnchor) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.draw2d.geometry.Point |
getLocation(org.eclipse.draw2d.geometry.Point reference)
CHANGED: if the reference is in the center of the figure, the result was
not correct.
|
public ChopboxAnchorFixed(org.eclipse.draw2d.IFigure figure,
AdvancedAnchor advancedAnchor)
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
GefService.getChopboxLocationOnBox(Point, Rectangle).getLocation in interface org.eclipse.draw2d.ConnectionAnchorgetLocation in class org.eclipse.draw2d.ChopboxAnchor