org.argouml.ui
Class ActionGoToDetails
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.ActionGoToDetails
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- public class ActionGoToDetails
- extends UMLAction
Action to display a tab in the DetailsPane by name, eg "Properties".
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent ae)
Perform the work the action is supposed to do. |
boolean |
shouldBeEnabled()
Should return true if the pane where the user can navigate to supports
the current target. |
tabName
private String tabName
ActionGoToDetails
public ActionGoToDetails(String name)
- Constructor.
- Parameters:
name
- The name of the tab.
shouldBeEnabled
public boolean shouldBeEnabled()
- Should return true if the pane where the user can navigate to supports
the current target.
- Overrides:
shouldBeEnabled
in class UMLAction
- Returns:
- true if the action should be available.
- See Also:
UMLAction.shouldBeEnabled()
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)