|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
org.topcased.modeler.uml.sequencediagram.anchors.SequenceDiagramAnchor
public class SequenceDiagramAnchor
The anchor of the Sequence Diagram
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
---|
org.eclipse.draw2d.AncestorListener.Stub |
Field Summary |
---|
Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
---|
listeners |
Constructor Summary | |
---|---|
SequenceDiagramAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point pos)
Contructor |
|
SequenceDiagramAnchor(org.eclipse.draw2d.IFigure owner,
org.eclipse.draw2d.geometry.Point cursor,
org.eclipse.draw2d.geometry.Point oppositePos)
Constructs a SequenceDiagramAnchor with the given owner figure. |
Method Summary | |
---|---|
protected void |
computeRefPointFromCursor(org.eclipse.draw2d.geometry.Point pCursor,
org.eclipse.draw2d.geometry.Point oppositePos)
Compute the reference point |
boolean |
equals(java.lang.Object obj)
|
protected org.eclipse.draw2d.geometry.Rectangle |
getBox()
Returns the bounds of this LifelineAnchor's owner. |
org.eclipse.draw2d.geometry.Point |
getLocation(org.eclipse.draw2d.geometry.Point reference)
The location is the reference point |
org.eclipse.draw2d.geometry.Point |
getReferencePoint()
The reference point is the abolute position of the anchor |
protected SequenceDiagramFigure |
getSequenceDiagramFigure()
Return the figure of the sequence diagram |
int |
hashCode()
|
Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
---|
addAnchorListener, ancestorAdded, ancestorMoved, 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 |
Constructor Detail |
---|
public SequenceDiagramAnchor(org.eclipse.draw2d.IFigure owner, org.eclipse.draw2d.geometry.Point cursor, org.eclipse.draw2d.geometry.Point oppositePos)
owner
- The owner figurecursor
- the position of the cursoroppositePos
- the position of the opposite anchorpublic SequenceDiagramAnchor(org.eclipse.draw2d.IFigure owner, org.eclipse.draw2d.geometry.Point pos)
owner
- the owner figurepos
- the position of the anchorMethod Detail |
---|
protected void computeRefPointFromCursor(org.eclipse.draw2d.geometry.Point pCursor, org.eclipse.draw2d.geometry.Point oppositePos)
pCursor
- the position of the cursoroppositePos
- the position of the opposite anchorprotected SequenceDiagramFigure getSequenceDiagramFigure()
public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
ConnectionAnchor.getLocation(org.eclipse.draw2d.geometry.Point)
protected org.eclipse.draw2d.geometry.Rectangle getBox()
public org.eclipse.draw2d.geometry.Point getReferencePoint()
getReferencePoint
in interface org.eclipse.draw2d.ConnectionAnchor
getReferencePoint
in class org.eclipse.draw2d.AbstractConnectionAnchor
ConnectionAnchor.getReferencePoint()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.