org.argouml.uml.diagram.sequence.ui
Class ActionAddObject

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.tigris.gef.base.Cmd
          extended byorg.tigris.gef.base.CmdCreateNode
              extended byorg.argouml.ui.CmdCreateNode
                  extended byorg.argouml.uml.diagram.sequence.ui.ActionAddObject
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, org.tigris.gef.graph.GraphFactory, java.io.Serializable

public class ActionAddObject
extends CmdCreateNode

Action to add an object to a sequence diagram.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
 
Fields inherited from class org.argouml.ui.CmdCreateNode
cat
 
Fields inherited from class org.tigris.gef.base.CmdCreateNode
DEFAULT_NODE_CLASS
 
Fields inherited from class org.tigris.gef.base.Cmd
_args, _resource
 
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
ActionAddObject()
           
 
Method Summary
 java.lang.Object makeNode()
          Creates a modelelement using the uml model factories.
 
Methods inherited from class org.argouml.ui.CmdCreateNode
 
Methods inherited from class org.tigris.gef.base.CmdCreateNode
doIt, getActiveGraphModel, makeEdge, makeGraphModel, undoIt
 
Methods inherited from class org.tigris.gef.base.Cmd
about, actionPerformed, cmdAtIndex, containsArg, getArg, getArg, getName, getResource, register, registeredCmds, setArg, setName, setResource, shouldBeEnabled, updateEnabled
 
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

ActionAddObject

public ActionAddObject()
Method Detail

makeNode

public java.lang.Object makeNode()
Description copied from class: CmdCreateNode
Creates a modelelement using the uml model factories.

Specified by:
makeNode in interface org.tigris.gef.graph.GraphFactory
Overrides:
makeNode in class CmdCreateNode
See Also:
GraphFactory.makeNode()


ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook