org.topcased.modeler.uml.sequencediagram.commands.reconnect
Class MessageEdgeReconnectCommand
java.lang.Object
org.eclipse.gef.commands.Command
org.topcased.modeler.uml.sequencediagram.commands.reconnect.GraphEdgeReconnectCommand
org.topcased.modeler.uml.sequencediagram.commands.reconnect.MessageEdgeReconnectCommand
public class MessageEdgeReconnectCommand
- extends GraphEdgeReconnectCommand
Comand to reconnect the messages
Methods inherited from class org.topcased.modeler.uml.sequencediagram.commands.reconnect.GraphEdgeReconnectCommand |
execute, getGraphEdge, getGraphEdgeEdit, getNewNode, getNewNodeEdit, getNewPos, getOldNode, getOldNodeEdit, getOldPos, isMovingStartAnchor, redo, setNewPos, setValues, switchValues, undo |
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 |
MessageEdgeReconnectCommand
public MessageEdgeReconnectCommand(BaseEditPart newEdit,
MessageEditPart edgeEdit,
boolean isStart,
org.eclipse.draw2d.geometry.Point newP)
- Contructor
- Parameters:
newEdit
- the edit part of the new receiving nodeedgeEdit
- the edit part of the graph edgeisStart
- set it to true if the source is reconnectednewP
- the new position of the connector
getOldValues
protected void getOldValues()
- Set the correct new position
- Overrides:
getOldValues
in class GraphEdgeReconnectCommand
- See Also:
GraphEdgeReconnectCommand.getOldValues()
setModelValues
protected void setModelValues()
- Update the events
- Overrides:
setModelValues
in class GraphEdgeReconnectCommand
- See Also:
GraphEdgeReconnectCommand.setModelValues()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.