de.cau.cs.kieler.core.model.gmf.figures
Class SlidableRoundedRectangleAnchor
java.lang.Object
org.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
org.eclipse.gmf.runtime.draw2d.ui.figures.BaseSlidableAnchor
org.eclipse.gmf.runtime.gef.ui.figures.SlidableAnchor
de.cau.cs.kieler.core.model.gmf.figures.SlidableRoundedRectangleAnchor
- All Implemented Interfaces:
- AncestorListener, ConnectionAnchor, OrthogonalConnectionAnchor
public class SlidableRoundedRectangleAnchor
- extends SlidableAnchor
A slideable anchor for rounded rectangle figures.
- Rating

Methods inherited from class org.eclipse.gmf.runtime.draw2d.ui.figures.BaseSlidableAnchor |
equals, getAnchorRelativeLocation, getLocation, getLocation, getOrthogonalLocation, getPolygonPoints, getReferencePoint, getTerminal, hashCode, isDefaultAnchor, normalizeToStraightlineTolerance, parseTerminalString |
SlidableRoundedRectangleAnchor
public SlidableRoundedRectangleAnchor()
- The default constructor.
SlidableRoundedRectangleAnchor
public SlidableRoundedRectangleAnchor(IRoundedRectangleAnchorableFigure figure)
- Constructs a SlidableRoundedRectangleAnchor without a desired anchor
point.
- Parameters:
figure
- the anchorable figure
SlidableRoundedRectangleAnchor
public SlidableRoundedRectangleAnchor(IRoundedRectangleAnchorableFigure figure,
PrecisionPoint p)
- Constructs a SlidableRoundedRectangleAnchor.
- Parameters:
figure
- the anchorable figurep
- the desired anchor point
getBox
protected Rectangle getBox()
-
- Overrides:
getBox
in class SlidableAnchor
getIntersectionPoints
protected PointList getIntersectionPoints(Point ownReference,
Point foreignReference)
-
- Overrides:
getIntersectionPoints
in class BaseSlidableAnchor