org.argouml.uml.diagram.state.ui
Class ActionCreatePseudostate
java.lang.Object
javax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.tigris.gef.base.CreateNodeAction
org.argouml.ui.CmdCreateNode
org.argouml.uml.diagram.state.ui.ActionCreatePseudostate
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, GraphFactory, Serializable
- public class ActionCreatePseudostate
- extends CmdCreateNode
An Action to create a Pseudostate of some kind.
- See Also:
- Serialized Form
|
Method Summary |
Object |
makeNode()
Actually instanciate the NetNode and FigNode objects and
set the global next mode to ModePlace
TODO: should call super, reduce code volume! |
ActionCreatePseudostate
public ActionCreatePseudostate(Object kind,
String name)
- Construct a new Cmd with the given classes for the NetNode
and its FigNode.
- Parameters:
kind - the pseudostatekindname - the name of this kind of pseudostate
makeNode
public Object makeNode()
- Actually instanciate the NetNode and FigNode objects and
set the global next mode to ModePlace
TODO: should call super, reduce code volume!
- Specified by:
makeNode in interface GraphFactory- Overrides:
makeNode in class CmdCreateNode
- Returns:
- an object which represents a particular UML
Element.
- See Also:
GraphFactory.makeNode()