de.cau.cs.kieler.core.model.gmf.figures
Class SplineConnection.ArrowLocatorEx
java.lang.Object
org.eclipse.draw2d.AbstractLocator
org.eclipse.draw2d.ConnectionLocator
org.eclipse.draw2d.ArrowLocator
de.cau.cs.kieler.core.model.gmf.figures.SplineConnection.ArrowLocatorEx
- All Implemented Interfaces:
- Locator
- Enclosing class:
- SplineConnection
public static class SplineConnection.ArrowLocatorEx
- extends ArrowLocator
An extension of the ArrowLocator that is capable of using spline points as references.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SplineConnection.ArrowLocatorEx
public SplineConnection.ArrowLocatorEx(Connection connection,
int location)
- Parameters:
connection
- the connectionlocation
- source or target
relocate
public void relocate(IFigure target)
- Relocates the passed in figure (which must be a
RotatableDecoration
) at either
the start or end of the connection.
If the connection is a SplineConnection with spline mode enabled the angle is computed
from the spline itself, not from the draggable points.
- Specified by:
relocate
in interface Locator
- Overrides:
relocate
in class ArrowLocator
- Parameters:
target
- The RotatableDecoration to relocate