edu.stanford.hci.dtools.statechart.parts
Class SourceConnectionAnchor
java.lang.Object
org.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
org.eclipse.draw2d.ChopboxAnchor
edu.stanford.hci.dtools.statechart.parts.SourceConnectionAnchor
- All Implemented Interfaces:
- org.eclipse.draw2d.AncestorListener, org.eclipse.draw2d.ConnectionAnchor
public class SourceConnectionAnchor
- extends org.eclipse.draw2d.ChopboxAnchor
Special ChopboxAnchor which shifts the connection anchor a little bit so that bidirectional connections
between states don't lie on top of each other.
This software is distributed under the
BSD License.
- Author:
- Bjoern Hartmann ( bjoern(AT)stanford.edu ), Michael Bernstein (
mbernst(AT)stanford.edu )
Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
org.eclipse.draw2d.AncestorListener.Stub |
Method Summary |
org.eclipse.draw2d.geometry.Point |
getLocation(org.eclipse.draw2d.geometry.Point reference)
|
Methods inherited from class org.eclipse.draw2d.ChopboxAnchor |
equals, getReferencePoint, hashCode |
Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
addAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, removeAnchorListener, setOwner |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
SourceConnectionAnchor
public SourceConnectionAnchor()
SourceConnectionAnchor
public SourceConnectionAnchor(org.eclipse.draw2d.IFigure owner,
boolean isSource)
getLocation
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
- Specified by:
getLocation
in interface org.eclipse.draw2d.ConnectionAnchor
- Overrides:
getLocation
in class org.eclipse.draw2d.ChopboxAnchor