org.argouml.ui.cmd
Class ActionGotoDiagram
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.UMLAction
org.argouml.ui.cmd.ActionGotoDiagram
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionGotoDiagram
- extends UMLAction
- implements CommandLineInterface
This Action will display a dialogbox listing all diagrams.
Doubleclicking on any listed diagram selects it.
- See Also:
- Serialized Form
Method Summary |
void |
actionPerformed(ActionEvent ae)
Perform the work the action is supposed to do. |
boolean |
doCommand(String argument)
The method is called with the argument to this class from the
command line (or null if no argument). |
ActionGotoDiagram
public ActionGotoDiagram()
- 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)
doCommand
public boolean doCommand(String argument)
- Description copied from interface:
CommandLineInterface
- The method is called with the argument to this class from the
command line (or null if no argument).
- Specified by:
doCommand
in interface CommandLineInterface
- Parameters:
argument
- a string that is used to send arguments.
- Returns:
- true if the command was performed successfully.
- See Also:
CommandLineInterface.doCommand(java.lang.String)