UML

org.topcased.modeler.uml.sequencediagram.commands
Class CombinedFragmentChangeBoundsCommand

java.lang.Object
  extended by ChangeBoundsCommand
      extended by org.topcased.modeler.uml.sequencediagram.commands.CombinedFragmentChangeBoundsCommand

public class CombinedFragmentChangeBoundsCommand
extends ChangeBoundsCommand

Command to change the bounds of the combined fragment and update the list of the lifelines that are covered by this CombinedFragment Creation 8 juin 06


Constructor Summary
CombinedFragmentChangeBoundsCommand(GraphNode node, org.eclipse.draw2d.geometry.Rectangle constraint, org.eclipse.gef.EditPart childEditPart, org.eclipse.gef.EditPart parentEditPart)
          Constructor
 
Method Summary
 void execute()
          Store the old List of Lifelines and retrieve the new list
 void redo()
           
 void undo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedFragmentChangeBoundsCommand

public CombinedFragmentChangeBoundsCommand(GraphNode node,
                                           org.eclipse.draw2d.geometry.Rectangle constraint,
                                           org.eclipse.gef.EditPart childEditPart,
                                           org.eclipse.gef.EditPart parentEditPart)
Constructor

Parameters:
node - the node to resize
constraint - the new rectangle that contain the figure
childEditPart - the EditPart associated with the CombinedFragment
parentEditPart - the container EditPart of the CombinedFragment
Method Detail

execute

public void execute()
Store the old List of Lifelines and retrieve the new list

See Also:
org.topcased.modeler.commands.ChangeBoundsCommand#execute()

redo

public void redo()
See Also:
Command.redo()

undo

public void undo()
See Also:
Command.undo()

UML

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