org.argouml.uml.diagram.state.ui
Class ActionCreatePseudostate

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.tigris.gef.base.Cmd
              |
              +--org.tigris.gef.base.CmdCreateNode
                    |
                    +--org.argouml.ui.CmdCreateNode
                          |
                          +--org.argouml.uml.diagram.state.ui.ActionCreatePseudostate
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 ActionCreatePseudostate
extends CmdCreateNode

See Also:
Serialized Form

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
ActionCreatePseudostate(ru.novosoft.uml.foundation.data_types.MPseudostateKind kind, java.lang.String name)
          Construct a new Cmd with the given classes for the NetNode and its FigNode.
 
Method Summary
 java.lang.Object makeNode()
          Actually instanciate the NetNode and FigNode objects and set the global next mode to ModePlace
 
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, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCreatePseudostate

public ActionCreatePseudostate(ru.novosoft.uml.foundation.data_types.MPseudostateKind kind,
                               java.lang.String name)
Construct a new Cmd with the given classes for the NetNode and its FigNode.
Method Detail

makeNode

public java.lang.Object makeNode()
Actually instanciate the NetNode and FigNode objects and set the global next mode to ModePlace
Overrides:
makeNode in class CmdCreateNode
Following copied from class: org.argouml.ui.CmdCreateNode
See Also:
GraphFactory.makeNode()


ArgoUML (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook