UML

org.topcased.modeler.uml.sequencediagram.policies
Class MoveMessageEditPolicy

java.lang.Object
  extended by EdgeEndpointEditPolicy
      extended by org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy
          extended by org.topcased.modeler.uml.sequencediagram.policies.MoveMessageEditPolicy

public class MoveMessageEditPolicy
extends MoveGraphEdgeEditPolicy

The edit policy that manage the move of messages


Field Summary
 
Fields inherited from class org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy
GRAPHEDGE_MOVE_ROLE
 
Constructor Summary
MoveMessageEditPolicy()
           
 
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 org.topcased.modeler.uml.sequencediagram.policies.MoveGraphEdgeEditPolicy
getCommand, getFeedbackHelper, showConnectionMoveFeedback, showSourceFeedback
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoveMessageEditPolicy

public MoveMessageEditPolicy()
Method Detail

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 move
initialLoc - the initial position of the connection
loc - 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)

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.