org.topcased.modeler.uml.sequencediagram.policies
Class MoveMessageEditPolicy
java.lang.Object
EdgeEndpointEditPolicy
org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy
org.topcased.modeler.uml.sequencediagram.policies.MoveMessageEditPolicy
public class MoveMessageEditPolicy
- extends MoveGraphEdgeEditPolicy
The edit policy that manage the move of messages
Method Summary |
protected org.eclipse.gef.commands.Command |
getCommand(GraphEdgeEditPart edgeEdit,
org.eclipse.draw2d.geometry.Point initialLoc,
org.eclipse.draw2d.geometry.Point loc)
Return the move message command |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveMessageEditPolicy
public MoveMessageEditPolicy()
getCommand
protected org.eclipse.gef.commands.Command getCommand(GraphEdgeEditPart edgeEdit,
org.eclipse.draw2d.geometry.Point initialLoc,
org.eclipse.draw2d.geometry.Point loc)
- Return the move message command
- Overrides:
getCommand
in class MoveGraphEdgeEditPolicy
- Parameters:
edgeEdit
- the edit part of the graph edge to moveinitialLoc
- the initial position of the connectionloc
- the new position of the connection
- Returns:
- the command
- See Also:
org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy#getCommand(org.topcased.modeler.edit.GraphEdgeEditPart,
org.eclipse.draw2d.geometry.Point, org.eclipse.draw2d.geometry.Point)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.