|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--FigEdgePoly | +--org.argouml.uml.diagram.ui.FigEdgeModelElement | +--org.argouml.uml.diagram.sequence.ui.FigSeqLink
Field Summary | |
---|---|
protected FigText |
_destMult
|
protected FigText |
_destRole
|
protected FigText |
_srcMult
|
protected FigText |
_srcRole
|
static boolean |
SUPPRESS_BIDIRECTIONAL_ARROWS
|
Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
---|
_name, _stereo, cat, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN |
Constructor Summary | |
---|---|
FigSeqLink()
|
|
FigSeqLink(java.lang.Object edge)
|
Method Summary | |
---|---|
void |
addFigSeqStimulusWithAction()
After a new link with a stimulus is added to the model and the figure of the link is created the figure of the stimulus has to be created and added to the layer |
java.util.Vector |
deletePathItems()
Deletes all path-items of this FigSeqLink, returns all Owners of the deleted FigSeqStimuli. |
void |
dispose()
|
java.util.Vector |
getContents()
Get the Vector of all figures, that are shown in the diagram, is important because in sequence- diagrams often you have to update all figures |
protected java.lang.Object |
getDestination()
Returns the destination of the edge. |
int |
getPortNumber(java.util.Vector contents)
Returns the portNumber of this FigSeqLink. |
protected java.lang.Object |
getSource()
Returns the source of the edge. |
protected void |
modelChanged(MElementEvent e)
This is called aftern any part of the UML MModelElement has changed. |
void |
mouseClicked(java.awt.event.MouseEvent me)
If the user double clicks on anu part of this FigNode, pass it down to one of the internal Figs. |
void |
mouseReleased(java.awt.event.MouseEvent me)
|
java.lang.String |
ownerName()
|
void |
removed(MElementEvent mee)
|
void |
setActivations(FigSeqObject fso,
FigSeqObject sourcePort,
FigSeqObject destPort,
int portNumber)
Sets the activations for every FigSeqObject in this diagram. |
void |
setArrowHeads(MLink ml,
java.util.Vector contents)
Takes the action of this link and then set the aroow-heads on both ends of this FigSeqLink. |
void |
setDefaultAction()
If the action of this Link cannot be set, this default action will be created and set |
void |
setOwner(java.lang.Object node)
|
protected void |
textEdited(FigText ft)
This method is called after the user finishes editing a text field that is in the FigEdgeModelElement. |
void |
updateActivations(FigSeqObject sourceObj,
FigSeqObject destObj,
FigRect sourceFig,
FigRect destFig,
java.util.Vector contents,
int size,
int portNumber)
Updates the Vector _activations of all FigSeqObjects |
protected boolean |
updateClassifiers()
Hack to let the sequence diagrams still do their job. |
void |
updatePorts(FigSeqObject sourceObj,
FigSeqObject destObj,
FigDynPort sourceFig,
FigDynPort destFig,
java.util.Vector contents,
int size,
int portNumber)
Removes the port-figs of this FigSeqLink and updates the Vector _ports of all FigSeqObjects |
Methods inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
---|
canEdit, damage, delayedVetoableChange, delete, finalize, getContextNotation, getItemUID, getNameFig, getPopUpActions, getSquaredDistance, getStereotypeFig, getTipString, hit, hitClarifier, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, mouseEntered, mouseExited, mousePressed, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, postLoad, propertyChange, propertySet, recovered, renderingChanged, roleAdded, roleRemoved, setItemUID, updateStereotypeText, vetoableChange |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean SUPPRESS_BIDIRECTIONAL_ARROWS
protected FigText _srcMult
protected FigText _srcRole
protected FigText _destMult
protected FigText _destRole
Constructor Detail |
public FigSeqLink()
public FigSeqLink(java.lang.Object edge)
Method Detail |
public java.lang.String ownerName()
public void setOwner(java.lang.Object node)
setOwner
in class FigEdgeModelElement
protected void textEdited(FigText ft) throws java.beans.PropertyVetoException
FigEdgeModelElement
textEdited
in class FigEdgeModelElement
java.beans.PropertyVetoException
protected void modelChanged(MElementEvent e)
FigEdgeModelElement
modelChanged
in class FigEdgeModelElement
public void setArrowHeads(MLink ml, java.util.Vector contents)
public void addFigSeqStimulusWithAction()
public void setActivations(FigSeqObject fso, FigSeqObject sourcePort, FigSeqObject destPort, int portNumber)
public int getPortNumber(java.util.Vector contents)
public java.util.Vector getContents()
public java.util.Vector deletePathItems()
public void updatePorts(FigSeqObject sourceObj, FigSeqObject destObj, FigDynPort sourceFig, FigDynPort destFig, java.util.Vector contents, int size, int portNumber)
public void updateActivations(FigSeqObject sourceObj, FigSeqObject destObj, FigRect sourceFig, FigRect destFig, java.util.Vector contents, int size, int portNumber)
public void setDefaultAction()
public void dispose()
dispose
in class FigEdgeModelElement
org.tigris.gef.presentation.Fig#dispose()
public void mouseClicked(java.awt.event.MouseEvent me)
FigEdgeModelElement
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class FigEdgeModelElement
public void mouseReleased(java.awt.event.MouseEvent me)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class FigEdgeModelElement
public void removed(MElementEvent mee)
removed
in class FigEdgeModelElement
protected java.lang.Object getDestination()
FigEdgeModelElement
getDestination
in class FigEdgeModelElement
FigEdgeModelElement.getDestination()
protected java.lang.Object getSource()
FigEdgeModelElement
getSource
in class FigEdgeModelElement
FigEdgeModelElement.getSource()
protected boolean updateClassifiers()
updateClassifiers
in class FigEdgeModelElement
FigEdgeModelElement.updateClassifiers()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2003 (20040229) | ArgoUML Project Home | ArgoUML Cookbook |