UML

org.topcased.modeler.uml.sequencediagram.routers
Class CallRouter

java.lang.Object
  extended by org.eclipse.draw2d.AbstractRouter
      extended by org.eclipse.draw2d.BendpointConnectionRouter
          extended by org.eclipse.gmf.runtime.draw2d.ui.internal.routers.ObliqueRouter
              extended by org.eclipse.gmf.runtime.draw2d.ui.internal.routers.RectilinearRouter
                  extended by org.topcased.modeler.uml.sequencediagram.routers.MessageRouter
                      extended by org.topcased.modeler.uml.sequencediagram.routers.CallRouter
All Implemented Interfaces:
org.eclipse.draw2d.ConnectionRouter, org.eclipse.gmf.runtime.draw2d.ui.internal.routers.OrthogonalRouter

public class CallRouter
extends MessageRouter

the router for the calls


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.draw2d.ui.internal.routers.ObliqueRouter
org.eclipse.gmf.runtime.draw2d.ui.internal.routers.ObliqueRouter.ArrayListMap
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.ConnectionRouter
org.eclipse.draw2d.ConnectionRouter.NullConnectionRouter
 
Field Summary
 
Fields inherited from class org.eclipse.gmf.runtime.draw2d.ui.internal.routers.ObliqueRouter
ROUTER_FLAG_SKIPNORMALIZATION, routerFlags, SELFRELSIZEINCR, SELFRELSIZEINIT
 
Fields inherited from interface org.eclipse.draw2d.ConnectionRouter
NULL
 
Constructor Summary
CallRouter()
           
 
Method Summary
protected  org.eclipse.draw2d.geometry.Point getEndPoint(org.eclipse.draw2d.Connection conn)
          The end point depends on the way to route (self or not)
protected  org.eclipse.draw2d.geometry.Point getStartPoint(org.eclipse.draw2d.Connection conn)
          The start point depends on the way to route (self or not)
protected  boolean isSelfConnection(org.eclipse.draw2d.Connection conn)
          A self connection is between two executions on the same lifeline
 
Methods inherited from class org.topcased.modeler.uml.sequencediagram.routers.MessageRouter
routeLine, setSelfPoints
 
Methods inherited from class org.eclipse.gmf.runtime.draw2d.ui.internal.routers.RectilinearRouter
checkEndSegment, checkEndSegments, removeSegmentsInViews, resetEndPointsToEdge, straightenPoints, updateIfNotRectilinear, updateToBiTerminal
 
Methods inherited from class org.eclipse.gmf.runtime.draw2d.ui.internal.routers.ObliqueRouter
calculateBendPoints, checkSelfRelConnection, getFigurePolygon, getSelfRelVertices, getStraightEdgePoint, invalidate, isAvoidingObstructions, isClosestDistance, isReorienting, remove, removePointsInViews, route, routeBendpoints, setConstraint
 
Methods inherited from class org.eclipse.draw2d.BendpointConnectionRouter
getConstraint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallRouter

public CallRouter()
Method Detail

isSelfConnection

protected boolean isSelfConnection(org.eclipse.draw2d.Connection conn)
A self connection is between two executions on the same lifeline

Specified by:
isSelfConnection in class MessageRouter
Parameters:
conn - the connection
Returns:
true if it's a self connection
See Also:
MessageRouter.isSelfConnection(org.eclipse.draw2d.Connection)

getStartPoint

protected org.eclipse.draw2d.geometry.Point getStartPoint(org.eclipse.draw2d.Connection conn)
The start point depends on the way to route (self or not)

Overrides:
getStartPoint in class org.eclipse.draw2d.AbstractRouter
See Also:
AbstractRouter.getStartPoint(org.eclipse.draw2d.Connection)

getEndPoint

protected org.eclipse.draw2d.geometry.Point getEndPoint(org.eclipse.draw2d.Connection conn)
The end point depends on the way to route (self or not)

Overrides:
getEndPoint in class org.eclipse.draw2d.AbstractRouter
See Also:
AbstractRouter.getEndPoint(org.eclipse.draw2d.Connection)

UML

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