org.argouml.ui.targetmanager
Class NavigateTargetForwardAction
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.targetmanager.NavigateTargetForwardAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class NavigateTargetForwardAction
- extends UMLAction
Navigates the target one target forward in history.
- See Also:
- Serialized Form
instance
private static NavigateTargetForwardAction instance
NavigateTargetForwardAction
private NavigateTargetForwardAction()
getInstance
public static NavigateTargetForwardAction 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()