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

java.lang.Object
  extended by CreateNodeAction
      extended by org.argouml.ui.CmdCreateNode
          extended by org.argouml.uml.diagram.state.ui.ActionCreatePseudostate

public class ActionCreatePseudostate
extends CmdCreateNode

An Action to create a Pseudostate of some kind.


Constructor Summary
ActionCreatePseudostate(java.lang.Object 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 TODO: should call super, reduce code volume!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionCreatePseudostate

public ActionCreatePseudostate(java.lang.Object kind,
                               java.lang.String name)
Construct a new Cmd with the given classes for the NetNode and its FigNode.

Parameters:
kind - the pseudostatekind
name - the name of this kind of pseudostate
Method Detail

makeNode

public java.lang.Object makeNode()
Actually instanciate the NetNode and FigNode objects and set the global next mode to ModePlace TODO: should call super, reduce code volume!

Overrides:
makeNode in class CmdCreateNode
Returns:
an object which represents a particular UML Element.
See Also:
org.tigris.gef.graph.GraphFactory#makeNode()


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook