org.argouml.uml.ui
Class ActionRemoveModelElement
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.uml.ui.AbstractActionRemoveElement
org.argouml.uml.ui.ActionRemoveModelElement
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionRemoveModelElement
- extends AbstractActionRemoveElement
Action to delete modelelements from the model without navigating
to/from them. Used in UMLMutableList for deletion of modelelements
from the list.
- Since:
- Oct 2, 2002
- See Also:
ActionRemoveFromModel
,
Serialized Form
SINGLETON
public static final ActionRemoveModelElement SINGLETON
- The singleton.
ActionRemoveModelElement
protected ActionRemoveModelElement()
- Constructor for ActionRemoveModelElement.
actionPerformed
public void actionPerformed(ActionEvent e)
- 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)
isEnabled
public boolean isEnabled()
- Specified by:
isEnabled
in interface Action
- Overrides:
isEnabled
in class AbstractActionRemoveElement
- See Also:
Action.isEnabled()