vocleditor.edit
Class VOCLConnectionEndpointLocator
java.lang.Object
org.eclipse.draw2d.ConnectionEndpointLocator
vocleditor.edit.VOCLConnectionEndpointLocator
- All Implemented Interfaces:
- org.eclipse.draw2d.Locator
public class VOCLConnectionEndpointLocator
- extends org.eclipse.draw2d.ConnectionEndpointLocator
A simple endpoint locator, that takes a connection and an offset and places the figure at the end or beginning of the connection
displaced by the offset.
- Author:
- jan
Constructor Summary |
VOCLConnectionEndpointLocator(org.eclipse.draw2d.Connection c,
boolean isEnd,
org.eclipse.draw2d.geometry.Point offset,
boolean isCustom)
Constructor |
Method Summary |
void |
relocate(org.eclipse.draw2d.IFigure target)
|
Methods inherited from class org.eclipse.draw2d.ConnectionEndpointLocator |
getUDistance, getVDistance, setUDistance, setVDistance |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VOCLConnectionEndpointLocator
public VOCLConnectionEndpointLocator(org.eclipse.draw2d.Connection c,
boolean isEnd,
org.eclipse.draw2d.geometry.Point offset,
boolean isCustom)
- Constructor
- Parameters:
c
- The connection to which the figure belongsisEnd
- Indicates whether to place the figure at the beginning or the end of the connectionoffset
- The offset as point
relocate
public void relocate(org.eclipse.draw2d.IFigure target)
- Specified by:
relocate
in interface org.eclipse.draw2d.Locator
- Overrides:
relocate
in class org.eclipse.draw2d.ConnectionEndpointLocator
- See Also:
Locator.relocate(org.eclipse.draw2d.IFigure)