org.argouml.uml
Class ActionAddStereotype
java.lang.Object
javax.swing.AbstractAction
org.argouml.ui.UndoableAction
org.argouml.uml.ActionAddStereotype
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class ActionAddStereotype
- extends UndoableAction
Action to add a sterotype to a collection of model elements.
- See Also:
- Serialized Form
Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary |
ActionAddStereotype(java.util.Collection<java.lang.Object> coll,
java.lang.Object st)
Constructor. |
ActionAddStereotype(java.lang.Object me,
java.lang.Object st)
Constructor. |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionAddStereotype
public ActionAddStereotype(java.lang.Object me,
java.lang.Object st)
- Constructor.
- Parameters:
me
- The model element.st
- The stereotype.
ActionAddStereotype
public ActionAddStereotype(java.util.Collection<java.lang.Object> coll,
java.lang.Object st)
- Constructor.
- Parameters:
coll
- The collection of model elements.st
- The stereotype.
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class UndoableAction
getValue
public java.lang.Object getValue(java.lang.String key)
- Specified by:
getValue
in interface javax.swing.Action
- Overrides:
getValue
in class javax.swing.AbstractAction