|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.gef.presentation.Fig
org.tigris.gef.presentation.FigEdge
org.tigris.gef.presentation.FigEdgePoly
org.argouml.uml.diagram.ui.FigEdgeModelElement
org.argouml.uml.diagram.sequence.ui.FigMessage
The fig for a link in a sequence diagram.
| Nested Class Summary |
| Nested classes inherited from class org.tigris.gef.presentation.FigEdge |
|
| Field Summary | |
private FigTextGroup |
textGroup
|
| Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
|
| Fields inherited from class org.tigris.gef.presentation.FigEdgePoly |
_initiallyLaidOut |
| Fields inherited from class org.tigris.gef.presentation.FigEdge |
_arrowHeadEnd, _arrowHeadStart, _destFigNode, _highlight, _pathItems, _sourceFigNode, _useNearest |
| Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _dashPeriod, _dashStyle, _filled, _h, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, MIN_SIZE |
| Constructor Summary | |
FigMessage()
Constructor here for saving and loading purposes. |
|
FigMessage(Object owner)
Contructs a new figlink and sets the owner of the figlink. |
|
| Method Summary | |
void |
computeRoute()
Computes the route of this FigMessage and computes the
connectionpoints of the figlink to the ports. |
Object |
getAction()
Returns the action attached to this link if any. |
FigClassifierRole |
getDestFigClassifierRole()
|
protected Object |
getDestination()
Returns the destination of the edge. |
MessageNode |
getDestMessageNode()
|
Fig |
getDestPortFig()
|
Object |
getMessage()
Returns the message belonging to this link if there is one (otherwise null). |
Vector |
getPopUpActions(MouseEvent me)
Build a collection of menu items relevant for a right-click popup menu on a message. |
protected Object |
getSource()
Returns the source of the edge. |
FigClassifierRole |
getSourceFigClassifierRole()
|
MessageNode |
getSourceMessageNode()
|
Fig |
getSourcePortFig()
|
protected void |
layoutEdge()
|
Selection |
makeSelection()
Returns a SelectionRerouteEdge object that manages selection
and rerouting of the edge. |
void |
modelChanged(PropertyChangeEvent pce)
This is called after any part of the UML ModelElement has changed. |
void |
setOwner(Object newOwner)
|
protected boolean |
updateClassifiers()
This won't work, so this implementation does nothing. |
| Methods inherited from class org.tigris.gef.presentation.FigEdgePoly |
findAvoidPt, insertPoint, makeEdgeFig, moveVertex, paint, routingRectPoint, segOK, setEndPoints, setInitiallyLaidOut, setPoint, tryRoute |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.tigris.gef.ui.Highlightable |
addPropertyChangeListener, removePropertyChangeListener |
| Field Detail |
private FigTextGroup textGroup
| Constructor Detail |
public FigMessage(Object owner)
owner - is the owner.public FigMessage()
| Method Detail |
public Vector getPopUpActions(MouseEvent me)
getPopUpActions in interface PopupGeneratorgetPopUpActions in class FigEdgeModelElementme - a mouse event
PopupGenerator.getPopUpActions(java.awt.event.MouseEvent)public Object getAction()
public void setOwner(Object newOwner)
setOwner in class FigEdgeModelElementFig.setOwner(java.lang.Object)public Fig getSourcePortFig()
FigEdge.getSourcePortFig()public Fig getDestPortFig()
FigEdge.getDestPortFig()public void computeRoute()
FigMessage and computes the
connectionpoints of the figlink to the ports. This depends on
the action attached to the owner of the FigMessage. Also
adds FigActivations etc or moves the FigClassifierRoles
if necessary.
FigEdge.computeRoute()public MessageNode getSourceMessageNode()
public MessageNode getDestMessageNode()
public Object getMessage()
protected void layoutEdge()
FigEdgePoly.layoutEdge()protected Object getSource()
FigEdgeModelElement
getSource in class FigEdgeModelElementFigEdgeModelElement.getSource()protected Object getDestination()
FigEdgeModelElement
getDestination in class FigEdgeModelElementFigEdgeModelElement.getDestination()public void modelChanged(PropertyChangeEvent pce)
FigEdgeModelElement
modelChanged in class FigEdgeModelElementpce - the eventFigEdgeModelElement.modelChanged(java.beans.PropertyChangeEvent)public FigClassifierRole getSourceFigClassifierRole()
public FigClassifierRole getDestFigClassifierRole()
protected boolean updateClassifiers()
updateClassifiers in class FigEdgeModelElementFigEdgeModelElement.updateClassifiers()public Selection makeSelection()
FigEdgeModelElementSelectionRerouteEdge object that manages selection
and rerouting of the edge.
makeSelection in class FigEdgeModelElementFig.makeSelection()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2005 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |