UML

org.topcased.modeler.uml.sequencediagram.commands.creation
Class CombinedFragmentCreationCommand

java.lang.Object
  extended by CreateGraphNodeCommand
      extended by org.topcased.modeler.uml.sequencediagram.commands.creation.CombinedFragmentCreationCommand

public class CombinedFragmentCreationCommand
extends CreateGraphNodeCommand

Command to create a CombinedFragment Creation 8 juin 06


Constructor Summary
CombinedFragmentCreationCommand(org.eclipse.gef.EditDomain domain, GraphNode newObject, GraphNode newParent, EObject newContainerParent, org.eclipse.draw2d.geometry.Point location, org.eclipse.draw2d.geometry.Dimension dimension, int attach, java.util.List featuresList, boolean needModelUpdate, org.eclipse.gef.EditPart parentEditPart)
          Constructor
 
Method Summary
protected  void redoModel()
          Create the Execution Occurrence
protected  void undoModel()
          Remove the Execution Occurrence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedFragmentCreationCommand

public CombinedFragmentCreationCommand(org.eclipse.gef.EditDomain domain,
                                       GraphNode newObject,
                                       GraphNode newParent,
                                       EObject newContainerParent,
                                       org.eclipse.draw2d.geometry.Point location,
                                       org.eclipse.draw2d.geometry.Dimension dimension,
                                       int attach,
                                       java.util.List featuresList,
                                       boolean needModelUpdate,
                                       org.eclipse.gef.EditPart parentEditPart)
Constructor

Parameters:
domain - the EditDomain (used to init the name)
newObject - the node to create
newParent - the parentNode node
newContainerParent - the model object that should contain the new childNode object
location - the location of the created node
dimension - the size of the created node
attach - the newAttachment of the created node
featuresList - the avalaible model element feature of the parentNode node where the model element of the childNode node can be added
needModelUpdate - true if the model must be modified during this command, false if objects already exist in the mode.
parentEditPart - the EditPart that will contain the CombinedFragment EditPart
Method Detail

redoModel

protected void redoModel()
Create the Execution Occurrence

See Also:
org.topcased.modeler.commands.CreateGraphNodeCommand#redoModel()

undoModel

protected void undoModel()
Remove the Execution Occurrence

See Also:
org.topcased.modeler.commands.CreateGraphNodeCommand#undoModel()

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.