org.topcased.modeler.uml.statemachinediagram.commands
Class CreateSubmachineStateCommand
java.lang.Object
CreateGraphNodeCommand
org.topcased.modeler.uml.statemachinediagram.commands.CreateSubmachineStateCommand
public class CreateSubmachineStateCommand
- extends CreateGraphNodeCommand
SubmachineState creation in UML
This command is used to reference the StateMachine that is associated with the State.
Creation 28 juin 06
|
Constructor Summary |
CreateSubmachineStateCommand(org.eclipse.gef.EditDomain domain,
ICreationUtils creation,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int pos,
boolean needModelUpdate)
The Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateSubmachineStateCommand
public CreateSubmachineStateCommand(org.eclipse.gef.EditDomain domain,
ICreationUtils creation,
GraphNode newObject,
GraphNode newParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
int pos,
boolean needModelUpdate)
- The Constructor
- Parameters:
domain - the EditDomain (used to init the name)creation - the CreationUtils class (used to create the model object)newObject - the node to createnewParent - the parent nodelocation - the location of the created nodedimension - the size of the created nodepos - needModelUpdate - true if the model must be modified during this command, false if objects already exist in the mode.
redoModel
protected void redoModel()
- See Also:
org.topcased.modeler.commands.CreateGraphNodeCommand#redoModel()
undoModel
protected void undoModel()
- See Also:
org.topcased.modeler.commands.CreateGraphNodeCommand#undoModel()
openDialog
public boolean openDialog()
- See Also:
org.topcased.modeler.commands.IDialogCommand#openDialog()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.