The library provides several view interactors to create
links with the mouse.
This interactor can be customized so that it creates
your own type of link. The link is created by the method
makePolyPoint. This method uses the
getFrom and
getTo methods to determine the selected graphic objects:
protected IlvGraphic makePolyPoint(IlvPoint[] points)
{
return new IlvLinkImage(getFrom(), getTo(), isOriented());
}
If you override this method, you must also override the
method
getLinkClass that returns the class of objects created by this
interactor.