Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef-dev] Change in ShortestPathConnectionRouter


The method getLayoutListener() has been removed from ShortestPathConnectionRouter.  This is a new router that has been added during 3.1 development.  The change makes the router easier to use, and removes the potential memory leak should clients be made to hook and unhook the listener themselves.

The router now manages the listener internally.  Ideally, I would have made this non-breaking by providing a bogus layoutlistener which removes itself the first time it is notified.  But IFigure#removeLayoutListener cannot be called currently while the notification is taking place, so that wouldn't have worked (yet).

-Randy

Back to the top