org.argouml.ui.cmd
Class ActionGotoDiagram
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.ui.cmd.ActionGotoDiagram
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionGotoDiagram
- extends org.tigris.gef.undo.UndoableAction
- implements CommandLineInterface
This Action will display a dialogbox listing all diagrams.
Doubleclicking on any listed diagram selects it.
- See Also:
- Serialized Form
ActionGotoDiagram
public ActionGotoDiagram()
- The constructor.
actionPerformed
public void actionPerformed(ActionEvent ae)
- Specified by:
actionPerformed in interface ActionListener
- 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)