org.argouml.uml.diagram.ui
Class ActionAddNote
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.diagram.ui.ActionAddNote
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionAddNote
- extends UMLAction
Action to add a note aka comment. This action adds a Comment to 0..*
modelelements.
- See Also:
- Serialized Form
Field Summary |
private static int |
DISTANCE
|
DISTANCE
private static final int DISTANCE
- See Also:
- Constant Field Values
ActionAddNote
public ActionAddNote()
- The constructor. This action is not global, since it is never disabled.
containsAModelElement
private boolean containsAModelElement(Collection c)
actionPerformed
public void actionPerformed(ActionEvent ae)
- Description copied from class:
UMLAction
- Perform the work the action is supposed to do.
This method needs to be overridden by all actions,
since it only shows a fake progressbar...
- Specified by:
actionPerformed
in interface ActionListener
- Overrides:
actionPerformed
in class UMLAction
- See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)