UML

org.topcased.modeler.uml.activitydiagram.commands
Class ActivityPartitionChangeBoundsCommand

java.lang.Object
  extended by ChangeBoundsCommand
      extended by org.topcased.modeler.uml.activitydiagram.commands.ActivityPartitionChangeBoundsCommand

public class ActivityPartitionChangeBoundsCommand
extends ChangeBoundsCommand

Command to change the bounds of the ActivityPartition and update the list of the contained ActivityNode/ActivityEdge that are covered by this Partition Creation 15 mars 07


Constructor Summary
ActivityPartitionChangeBoundsCommand(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

ActivityPartitionChangeBoundsCommand

public ActivityPartitionChangeBoundsCommand(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 ActivityPartition
parentEditPart - the container EditPart of the ActivityPartition
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.