Class ScalableXYAnchor
- java.lang.Object
-
- org.eclipse.draw2d.ConnectionAnchorBase
-
- org.eclipse.draw2d.XYAnchor
-
- com._1c.g5.v8.dt.common.gef.drow2d.anchor.ScalableXYAnchor
-
- All Implemented Interfaces:
org.eclipse.draw2d.ConnectionAnchor
public class ScalableXYAnchor extends org.eclipse.draw2d.XYAnchor
-
-
Constructor Summary
Constructors Constructor Description ScalableXYAnchor(org.eclipse.draw2d.IFigure root, org.eclipse.draw2d.geometry.Point point)
Constructs an ScalableXYAnchor at the Pointpoint
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.draw2d.geometry.Point
getLocation(org.eclipse.draw2d.geometry.Point reference)
org.eclipse.draw2d.geometry.Point
getReferencePoint()
org.eclipse.draw2d.geometry.Point
getSourcePoint()
static org.eclipse.draw2d.geometry.Point
translateToAbsolute(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.geometry.Point point)
-
-
-
Method Detail
-
getSourcePoint
public org.eclipse.draw2d.geometry.Point getSourcePoint()
-
getLocation
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
- Specified by:
getLocation
in interfaceorg.eclipse.draw2d.ConnectionAnchor
- Overrides:
getLocation
in classorg.eclipse.draw2d.XYAnchor
-
getReferencePoint
public org.eclipse.draw2d.geometry.Point getReferencePoint()
- Specified by:
getReferencePoint
in interfaceorg.eclipse.draw2d.ConnectionAnchor
- Overrides:
getReferencePoint
in classorg.eclipse.draw2d.XYAnchor
-
translateToAbsolute
public static org.eclipse.draw2d.geometry.Point translateToAbsolute(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.geometry.Point point)
-
-