org.argouml.uml.ui
Class ActionOpenProject
java.lang.Object
javax.swing.AbstractAction
org.argouml.uml.ui.ActionFileOperations
org.argouml.uml.ui.ActionOpenProject
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, CommandLineInterface, EventListener, Serializable
- public class ActionOpenProject
- extends ActionFileOperations
- implements CommandLineInterface
Action that loads the project.
This will throw away the project that we were working with up to this
point so some extra caution.
- See Also:
ActionSaveProject
,
Serialized Form
LOG
private static final Logger LOG
ActionOpenProject
public ActionOpenProject()
- Constructor for this action.
actionPerformed
public void actionPerformed(ActionEvent e)
- Performs the action of opening a project.
- Specified by:
actionPerformed
in interface ActionListener
- Parameters:
e
- an event
doCommand
public boolean doCommand(String argument)
- Execute this action from the command line.
- Specified by:
doCommand
in interface CommandLineInterface
- Parameters:
argument
- is the url of the project we load.
- Returns:
- true if it is OK.
- See Also:
CommandLineInterface.doCommand(String)