org.argouml.ui.cmd
Class ActionResolve
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.cmd.ToDoItemAction
org.argouml.ui.cmd.ActionResolve
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionResolve
- extends ToDoItemAction
The action to resolve a todo item.
- See Also:
- Serialized Form
ActionResolve
public ActionResolve()
- The constructor.
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)
getRememberedTarget
protected Object getRememberedTarget()
- Returns:
- returns the rememberedTarget
updateEnabled
public void updateEnabled(Object target)
- Overrides:
updateEnabled
in class UMLAction
- Parameters:
target
- the action to be enabled- See Also:
UMLAction.updateEnabled(java.lang.Object)
shouldBeEnabled
public boolean shouldBeEnabled(Object target)
- Parameters:
target
- the current target
- Returns:
- true if the action icon should be enabled (i.e. not downlighted)