roneditor.figures
Class NodeConnectionAnchor
java.lang.Object
org.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
roneditor.figures.NodeConnectionAnchor
- All Implemented Interfaces:
- org.eclipse.draw2d.AncestorListener, org.eclipse.draw2d.ConnectionAnchor
public class NodeConnectionAnchor
- extends org.eclipse.draw2d.AbstractConnectionAnchor
ConnectionAnchor für Verbindung zwischen 2 Figures, die mit einer Connection
Verbunden sind
- See Also:
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.ConnectionEditPart)
,
NodeEditPart.getSourceConnectionAnchor(org.eclipse.gef.Request)
,
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.ConnectionEditPart)
,
NodeEditPart.getTargetConnectionAnchor(org.eclipse.gef.Request)
Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
org.eclipse.draw2d.AncestorListener.Stub |
Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
listeners |
Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
addAnchorListener, ancestorAdded, ancestorRemoved, getOwner, removeAnchorListener, setOwner |
Methods inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
fireAnchorMoved |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
offsetH
protected int offsetH
offsetV
protected int offsetV
id
protected int id
NodeConnectionAnchor
public NodeConnectionAnchor(org.eclipse.draw2d.IFigure owner,
int id)
ancestorMoved
public void ancestorMoved(org.eclipse.draw2d.IFigure figure)
- Specified by:
ancestorMoved
in interface org.eclipse.draw2d.AncestorListener
- Overrides:
ancestorMoved
in class org.eclipse.draw2d.AbstractConnectionAnchor
- See Also:
AbstractConnectionAnchor.ancestorMoved(IFigure)
getLocation
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
- See Also:
ConnectionAnchor.getLocation(org.eclipse.draw2d.geometry.Point)
getReferencePoint
public org.eclipse.draw2d.geometry.Point getReferencePoint()
- Specified by:
getReferencePoint
in interface org.eclipse.draw2d.ConnectionAnchor
- Overrides:
getReferencePoint
in class org.eclipse.draw2d.AbstractConnectionAnchor
- See Also:
AbstractConnectionAnchor.getReferencePoint()
setOffsetH
public void setOffsetH(int offsetH)
- Parameters:
offsetH
- The offsetH to set.
setOffsetV
public void setOffsetV(int offsetV)
- Parameters:
offsetV
- The offsetV to set.
getId
public int getId()
- Returns:
- identifier
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
- See Also:
Object.hashCode()