org.topcased.modeler.uml.sequencediagram.commands.reconnect
Class MessageMoveCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.topcased.modeler.uml.sequencediagram.commands.reconnect.GraphEdgeMoveCommand
org.topcased.modeler.uml.sequencediagram.commands.reconnect.MessageMoveCommand
public class MessageMoveCommand
- extends GraphEdgeMoveCommand
Command that moves a message
Constructor Summary |
MessageMoveCommand(GraphEdgeEditPart edgeEdit,
org.eclipse.draw2d.geometry.Point initialPos,
org.eclipse.draw2d.geometry.Point newPos)
Constructor |
Method Summary |
protected void |
getValues()
Set the correct new positions |
protected void |
setModelValues()
Update the events |
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageMoveCommand
public MessageMoveCommand(GraphEdgeEditPart edgeEdit,
org.eclipse.draw2d.geometry.Point initialPos,
org.eclipse.draw2d.geometry.Point newPos)
- Constructor
- Parameters:
edgeEdit
- the edit part of the graph edge to moveinitialPos
- the initial position of the connectionnewPos
- the new position of the connection
getValues
protected void getValues()
- Set the correct new positions
- Overrides:
getValues
in class GraphEdgeMoveCommand
- See Also:
GraphEdgeMoveCommand.getValues()
setModelValues
protected void setModelValues()
- Update the events
- Overrides:
setModelValues
in class GraphEdgeMoveCommand
- See Also:
GraphEdgeMoveCommand.setModelValues()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.