|
UML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectCreateGraphNodeCommand
org.topcased.modeler.uml.sequencediagram.commands.creation.DestructionEventCreationCommand
public class DestructionEventCreationCommand
Command to create the Stop
| Constructor Summary | |
|---|---|
DestructionEventCreationCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
java.util.List featuresList,
boolean needModelUpdate)
Contructor |
|
| Method Summary | |
|---|---|
void |
execute()
Retrieve the OccurrenceSpecification that will be associated with the DestructionEvent and store the old Event associated with it |
protected void |
redoModel()
Set the DestructionEvent reference to the OccurrenceSpecification |
protected void |
undoModel()
Remove the DestructionEvent reference and set the old Event reference |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DestructionEventCreationCommand(org.eclipse.gef.EditDomain domain,
GraphNode newObject,
GraphNode newParent,
EObject newContainerParent,
org.eclipse.draw2d.geometry.Point location,
org.eclipse.draw2d.geometry.Dimension dimension,
java.util.List featuresList,
boolean needModelUpdate)
domain - the EditDomain (used to init the name)newObject - the node to createnewParent - the parentNode nodenewContainerParent - the model object that should contain the new childNode objectlocation - the location of the created nodedimension - the size of the created nodefeaturesList - the avalaible model element feature of the parentNode node where the model element of the
childNode node can be addedneedModelUpdate - true if the model must be modified during this command, false
if objects already exist in the mode.| Method Detail |
|---|
public void execute()
org.topcased.modeler.commands.CreateGraphNodeCommand#execute()protected void redoModel()
org.topcased.modeler.commands.CreateGraphNodeCommand#redoModel()protected void undoModel()
org.topcased.modeler.commands.CreateGraphNodeCommand#undoModel()
|
UML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.