Re: Border Item Rectilinear router [message #193806] |
Thu, 19 June 2008 17:03 |
Hauke Fuhrmann Messages: 333 Registered: July 2009 |
Senior Member |
|
|
Mohammed Mostafa wrote:
> if you look at the edit part provider there are methods that will
> allow you to provide a root edit part, just make sure that your
> provider had higher priority than the default one
Thanks for the hint. I brought it to life, yeah.
The BorderItemRectilinearRouter is now active, but the function to avoid
parent overlapping does not work yet:
The method getBorderFigurePosition requires the parent of the borderItem
to have a valid layoutManager to get the BorderItemLocator.
Unfortunately the parent is some internal wrapper Figure for the
BorderItem stuff with a null layoutManager by default. I don't
understand the relation between the main node, its border item and this
wrapper yet, hence I don't know how to specify this layout manager. It
doesn't help to set a layout for the main node in the gmfgraph model...
Any additional hint?
Cheers,
Hauke
|
|
|
Powered by
FUDForum. Page generated in 0.03078 seconds