UML

org.topcased.modeler.uml.sequencediagram.requests
Class GraphEdgeMoveRequest

java.lang.Object
  extended by org.eclipse.gef.Request
      extended by org.eclipse.gef.requests.LocationRequest
          extended by org.topcased.modeler.uml.sequencediagram.requests.GraphEdgeMoveRequest

public class GraphEdgeMoveRequest
extends org.eclipse.gef.requests.LocationRequest

Request to handle the connection move


Constructor Summary
GraphEdgeMoveRequest()
           
 
Method Summary
 int getDelta()
          Return the difference of position
 GraphEdgeEditPart getGraphEdgeEditPart()
          Return the graph edge edit part
 org.eclipse.draw2d.geometry.Point getInitialLocation()
          Get the initial position
 org.eclipse.gef.EditPart getSource()
          Return the edit part of the source of the edge
 org.eclipse.gef.EditPart getTarget()
          Return the edit part of the target of the edge
 void setGraphEdgeEditPart(GraphEdgeEditPart part)
          Set the edit part of the graph edge
 void setInitialLocation(org.eclipse.draw2d.geometry.Point p)
          Set the initial position
 
Methods inherited from class org.eclipse.gef.requests.LocationRequest
getLocation, setLocation
 
Methods inherited from class org.eclipse.gef.Request
getExtendedData, getType, setExtendedData, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphEdgeMoveRequest

public GraphEdgeMoveRequest()
Method Detail

setGraphEdgeEditPart

public void setGraphEdgeEditPart(GraphEdgeEditPart part)
Set the edit part of the graph edge

Parameters:
part - the new graph edge edit part

getGraphEdgeEditPart

public GraphEdgeEditPart getGraphEdgeEditPart()
Return the graph edge edit part

Returns:
the edit part of the graph edge

getSource

public org.eclipse.gef.EditPart getSource()
Return the edit part of the source of the edge

Returns:
the source edit part

getTarget

public org.eclipse.gef.EditPart getTarget()
Return the edit part of the target of the edge

Returns:
the target edit part

getInitialLocation

public org.eclipse.draw2d.geometry.Point getInitialLocation()
Get the initial position

Returns:
the initial position

setInitialLocation

public void setInitialLocation(org.eclipse.draw2d.geometry.Point p)
Set the initial position

Parameters:
p - the initial position

getDelta

public int getDelta()
Return the difference of position

Returns:
the difference of position

UML

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