[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Auto-layout (arrange all) of border items

Thank you, Alex,

Border nodes still do not move...

Both supportsBorderNodes and canCreateBorderNode return true, my border nodes are considered in DefaultProvider.build_borderNodes. DefaultProvider.createBorderItemChangeBoundsCommand gets called and the calculated delta seems is correct. The command (which seems to be what I want) is returned, but for some reason the border nodes do not move.

Any hint on where to continue?

Thanks in advance,
Peter

Override the layout provider, namely the method:
protected boolean supportsBorderNodes() and return true. If that doesn't help right away play around with create border node methods etc. It's been while since I looked at it, so can give you the solution right away. Try that let me know what issues you're facing from there.
Hopr this helps