org.argouml.ui.targetmanager
Class NavigateTargetBackAction
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.targetmanager.NavigateTargetBackAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class NavigateTargetBackAction
- extends UMLAction
Navigates the target one target back in history.
- See Also:
- Serialized Form
instance
private static NavigateTargetBackAction instance
NavigateTargetBackAction
private NavigateTargetBackAction()
getInstance
public static NavigateTargetBackAction getInstance()
- Returns:
- the instance (singleton)
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)
shouldBeEnabled
public boolean shouldBeEnabled()
- Action is possible only if navigateForwardPossible on targetManager
returns true.
- Overrides:
shouldBeEnabled
in class UMLAction
- Returns:
- true if the action should be available.
- See Also:
UMLAction.shouldBeEnabled()