SysML

org.topcased.modeler.sysml.requirementdiagram.commands
Class ContainmentEdgeCreationCommand

java.lang.Object
  extended by CreateTypedEdgeCommand
      extended by org.topcased.modeler.sysml.requirementdiagram.commands.ContainmentEdgeCreationCommand

public class ContainmentEdgeCreationCommand
extends CreateTypedEdgeCommand

Containment edge creation command

** Generated **

Field Summary
 EObject oldContainer
           
 EReference oldReference
           
 
Constructor Summary
ContainmentEdgeCreationCommand(org.eclipse.gef.EditDomain domain, GraphEdge newObj, GraphElement src)
           
ContainmentEdgeCreationCommand(org.eclipse.gef.EditDomain domain, GraphEdge newObj, GraphElement src, boolean needModelUpdate)
           
 
Method Summary
protected  void redoModel()
           
protected  void undoModel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

oldContainer

public EObject oldContainer

oldReference

public EReference oldReference
Constructor Detail

ContainmentEdgeCreationCommand

public ContainmentEdgeCreationCommand(org.eclipse.gef.EditDomain domain,
                                      GraphEdge newObj,
                                      GraphElement src)

Parameters:
domain - the edit domain
newObj - the graph edge of the new connection
src - the graph element of the source
** Generated **

ContainmentEdgeCreationCommand

public ContainmentEdgeCreationCommand(org.eclipse.gef.EditDomain domain,
                                      GraphEdge newObj,
                                      GraphElement src,
                                      boolean needModelUpdate)

Parameters:
domain - the edit domain
newObj - the graph edge of the new connection
src - the graph element of the source
needModelUpdate - set it to true if the model need to be updated
** Generated **
Method Detail

redoModel

protected void redoModel()

** Generated **
NOT

undoModel

protected void undoModel()

** Generated **
NOT

SysML

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