org.argouml.uml.diagram.collaboration.ui
Class FigAssociationRole

java.lang.Object
  extended byorg.tigris.gef.presentation.Fig
      extended byorg.tigris.gef.presentation.FigEdge
          extended byorg.tigris.gef.presentation.FigEdgePoly
              extended byorg.argouml.uml.diagram.ui.FigEdgeModelElement
                  extended byorg.argouml.uml.diagram.ui.FigAssociation
                      extended byorg.argouml.uml.diagram.collaboration.ui.FigAssociationRole
All Implemented Interfaces:
ArgoEventListener, ArgoNotationEventListener, java.lang.Cloneable, DelayedVChangeListener, java.util.EventListener, org.tigris.gef.ui.Highlightable, java.awt.event.KeyListener, ru.novosoft.uml.MElementListener, java.awt.event.MouseListener, NotationContext, org.tigris.gef.ui.PopupGenerator, java.beans.PropertyChangeListener, java.io.Serializable, java.beans.VetoableChangeListener

public class FigAssociationRole
extends FigAssociation

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.tigris.gef.presentation.FigEdge
org.tigris.gef.presentation.FigEdge.PathItem
 
Field Summary
protected  org.argouml.uml.diagram.collaboration.ui.FigMessageGroup _messages
           
 
Fields inherited from class org.argouml.uml.diagram.ui.FigAssociation
_destGroup, _destMult, _destOrdering, _destRole, _middleGroup, _srcGroup, _srcMult, _srcOrdering, _srcRole, destArrowHead, sourceArrowHead, SUPPRESS_BIDIRECTIONAL_ARROWS
 
Fields inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement
_name, _stereo, cat, ITALIC_LABEL_FONT, LABEL_FONT, MARGIN
 
Fields inherited from class org.tigris.gef.presentation.FigEdgePoly
_initiallyLaidOut
 
Fields inherited from class org.tigris.gef.presentation.FigEdge
_arrowHeadEnd, _arrowHeadStart, _destFigNode, _destPortFig, _fig, _highlight, _pathItems, _sourceFigNode, _sourcePortFig, _useNearest
 
Fields inherited from class org.tigris.gef.presentation.Fig
_allowsSaving, _context, _dashes, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE
 
Constructor Summary
FigAssociationRole()
           
FigAssociationRole(java.lang.Object edge, org.tigris.gef.base.Layer lay)
          Constructor for FigAssociationRole.
 
Method Summary
 void addMessage(FigMessage message)
           
 void delete()
           
protected  void modelChanged(ru.novosoft.uml.MElementEvent e)
          calls the method on the "super" (FigAssociation) and then changes the name to take care of the "/ name : base association name" form.
 
Methods inherited from class org.argouml.uml.diagram.ui.FigAssociation
chooseArrowHead, getPopUpActions, paint, setOwner, textEdited
 
Methods inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement
canEdit, damage, delayedVetoableChange, dispose, finalize, getContextNotation, getDestination, getItemUID, getNameFig, getSource, getSquaredDistance, getStereotypeFig, getTipString, hit, hitClarifier, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, postLoad, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setItemUID, updateClassifiers, updateStereotypeText, vetoableChange
 
Methods inherited from class org.tigris.gef.presentation.FigEdgePoly
computeRoute, findAvoidPt, insertPoint, layoutEdge, makeEdgeFig, moveVertex, routingRectPoint, segOK, setEndPoints, setInitiallyLaidOut, setPoints, tryRoute
 
Methods inherited from class org.tigris.gef.presentation.FigEdge
addPathItem, calcBounds, cleanUp, contains, getBetweenNearestPoints, getBounds, getDashed, getDestArrowHead, getDestFigNode, getDestPortFig, getFig, getFirstPoint, getHighlight, getLastPoint, getLineColor, getLineWidth, getNumPoints, getPathItem, getPathItemFig, getPathItemFigs, getPathItemsRaw, getPerimeterLength, getPoints, getPoints, getPrivateData, getSourceArrowHead, getSourceFigNode, getSourcePortFig, getXs, getYs, hitFig, intersects, isReshapable, isResizable, isRotatable, paintArrowHeads, paintHighlightLine, paintPathItems, removePathItem, removePathItem, setBetweenNearestPoints, setDashed, setDestArrowHead, setDestFigNode, setDestPortFig, setFig, setHighlight, setLineColor, setLineWidth, setNumPoints, setPoints, setPoints, setPrivateData, setSourceArrowHead, setSourceFigNode, setSourcePortFig, setXs, setYs, stuffPointAlongPerimeter, translateEdge, updatePathItemLocations
 
Methods inherited from class org.tigris.gef.presentation.Fig
addAnnotation, addPoint, addPropertyChangeListener, align, center, classNameAndBounds, clone, connectionPoint, contains, contains, countCornersContained, createDrag, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getClosestPoint, getContext, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLayer, getLocation, getLocked, getMinimumSize, getOwner, getPreferedSize, getResource, getSize, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getY, initAnnotations, isAnnotation, isDisplayed, isLowerRightResizable, isMovable, OK, pointAlongPerimeter, postSave, preSave, print, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashedString, setDisplayed, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLocation, setLocation, setLocked, setPoints, setPoints, setResource, setSavingAllowed, setSize, setSize, setVisState, setWidth, setX, setY, startTrans, stuffBounds, translate, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within
 
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

_messages

protected org.argouml.uml.diagram.collaboration.ui.FigMessageGroup _messages
Constructor Detail

FigAssociationRole

public FigAssociationRole()

FigAssociationRole

public FigAssociationRole(java.lang.Object edge,
                          org.tigris.gef.base.Layer lay)
Constructor for FigAssociationRole.

Parameters:
edge -
lay -
Method Detail

modelChanged

protected void modelChanged(ru.novosoft.uml.MElementEvent e)
calls the method on the "super" (FigAssociation) and then changes the name to take care of the "/ name : base association name" form.

Overrides:
modelChanged in class FigAssociation

addMessage

public void addMessage(FigMessage message)

delete

public void delete()
Overrides:
delete in class FigAssociation
See Also:
Fig.delete()


ArgoUML © 1996-2003 (20030829)ArgoUML Project HomeArgoUML Cookbook