org.argouml.uml.diagram.ui
Class FigGeneralization
java.lang.Object
|
+--FigEdgePoly
|
+--org.argouml.uml.diagram.ui.FigEdgeModelElement
|
+--org.argouml.uml.diagram.ui.FigGeneralization
- All Implemented Interfaces:
- ArgoEventListener, ArgoNotationEventListener, DelayedVChangeListener, java.util.EventListener, java.awt.event.KeyListener, java.awt.event.MouseListener, NotationContext, java.beans.PropertyChangeListener, java.beans.VetoableChangeListener
- public class FigGeneralization
- extends FigEdgeModelElement
- See Also:
- Serialized Form
Field Summary |
protected ArrowHeadTriangle |
endArrow
|
Method Summary |
protected boolean |
canEdit(Fig f)
|
protected void |
modelChanged(MElementEvent e)
This is called aftern any part of the UML MModelElement has
changed. |
void |
paint(java.awt.Graphics g)
|
void |
postLoad()
This method is called after the fig is loaded from pgml. |
void |
setOwner(java.lang.Object own)
|
void |
updateDiscriminatorText()
Updates the discriminator text. |
Methods inherited from class org.argouml.uml.diagram.ui.FigEdgeModelElement |
damage, delayedVetoableChange, delete, dispose, finalize, getContextNotation, getDestination, getItemUID, getNameFig, getPopUpActions, getSource, getSquaredDistance, getStereotypeFig, getTipString, hit, hitClarifier, keyPressed, keyReleased, keyTyped, listRoleItemSet, makeSelection, mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased, notationAdded, notationChanged, notationProviderAdded, notationProviderRemoved, notationRemoved, paintClarifiers, propertyChange, propertySet, recovered, removed, renderingChanged, roleAdded, roleRemoved, setItemUID, textEdited, updateClassifiers, updateStereotypeText, vetoableChange |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
endArrow
protected ArrowHeadTriangle endArrow
FigGeneralization
public FigGeneralization()
FigGeneralization
public FigGeneralization(java.lang.Object edge,
Layer lay)
FigGeneralization
public FigGeneralization(java.lang.Object edge)
canEdit
protected boolean canEdit(Fig f)
- Overrides:
canEdit
in class FigEdgeModelElement
modelChanged
protected void modelChanged(MElementEvent e)
- This is called aftern any part of the UML MModelElement has
changed. This method automatically updates the name FigText.
Subclasses should override and update other parts.
- Overrides:
modelChanged
in class FigEdgeModelElement
updateDiscriminatorText
public void updateDiscriminatorText()
- Updates the discriminator text. Called if the model is changed
and on construction time.
paint
public void paint(java.awt.Graphics g)
setOwner
public void setOwner(java.lang.Object own)
- Overrides:
setOwner
in class FigEdgeModelElement
- See Also:
org.tigris.gef.presentation.Fig#setOwner(Object)
postLoad
public void postLoad()
- This method is called after the fig is loaded from pgml. Implemented here
to fix errors with the model concerning the fig not having an owner.
- Overrides:
postLoad
in class FigEdgeModelElement
- See Also:
org.tigris.gef.presentation.Fig#postLoad()