org.topcased.modeler.uml.sequencediagram.commands
Class CombinedFragmentChangeBoundsCommand
java.lang.Object
ChangeBoundsCommand
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 |
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 resizeconstraint
- the new rectangle that contain the figurechildEditPart
- the EditPart associated with the CombinedFragmentparentEditPart
- the container EditPart of the CombinedFragment
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.