org.topcased.modeler.uml.activitydiagram.commands
Class ActivityPartitionChangeBoundsCommand
java.lang.Object
ChangeBoundsCommand
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 |
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 resizeconstraint
- the new rectangle that contain the figurechildEditPart
- the EditPart associated with the ActivityPartitionparentEditPart
- the container EditPart of the ActivityPartition
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()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.