Modelers

org.topcased.draw2d.anchors
Class TopBottomAnchor

java.lang.Object
  extended by org.eclipse.draw2d.ConnectionAnchorBase
      extended by org.eclipse.draw2d.AbstractConnectionAnchor
          extended by org.topcased.draw2d.anchors.TopBottomAnchor
All Implemented Interfaces:
org.eclipse.draw2d.AncestorListener, org.eclipse.draw2d.ConnectionAnchor

public class TopBottomAnchor
extends org.eclipse.draw2d.AbstractConnectionAnchor

This anchor allows to stick the connection to the top or the bottom of the figure


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener
org.eclipse.draw2d.AncestorListener.Stub
 
Field Summary
 
Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase
listeners
 
Constructor Summary
TopBottomAnchor(org.eclipse.draw2d.IFigure source)
          Constructor
 
Method Summary
 org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
           
 
Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor
addAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, getReferencePoint, removeAnchorListener, setOwner
 
Methods inherited from class org.eclipse.draw2d.ConnectionAnchorBase
fireAnchorMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopBottomAnchor

public TopBottomAnchor(org.eclipse.draw2d.IFigure source)
Constructor

Parameters:
source - the source figure
Method Detail

getLocation

public org.eclipse.draw2d.geometry.Point getLocation(org.eclipse.draw2d.geometry.Point reference)
See Also:
ConnectionAnchor.getLocation(org.eclipse.draw2d.geometry.Point)

Modelers

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