org.argouml.uml.ui
Class ActionImportFromSources

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.argouml.ui.UndoableAction
          extended by org.argouml.uml.ui.ActionImportFromSources
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action, CommandLineInterface

public class ActionImportFromSources
extends UndoableAction
implements CommandLineInterface

Action to trigger importing from sources.

See Also:
Serialized Form
Stereotype:
singleton

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ActionImportFromSources()
          The constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 boolean doCommand(java.lang.String argument)
          Command line command for importing a directory or file.
static ActionImportFromSources getInstance()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionImportFromSources

public ActionImportFromSources()
The constructor.

Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class UndoableAction

getInstance

public static ActionImportFromSources getInstance()
Returns:
Returns the SINGLETON.

doCommand

public boolean doCommand(java.lang.String argument)
Command line command for importing a directory or file.

Specified by:
doCommand in interface CommandLineInterface
Parameters:
argument - Formatted string (:)
Returns:
true if the command was performed successfully.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook