Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Invert Tree Data?
Invert Tree Data? [message #463776] Tue, 15 November 2005 00:10 Go to next message
Eclipse UserFriend
Originally posted by: welldamn.gmail.com

Any API to invert an already built tree? For instance make the root node the leaf node and the leaf node the root node (and all children in between flipped)...
Re: Invert Tree Data? [message #463962 is a reply to message #463776] Tue, 15 November 2005 20:30 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
There is no API in SWT for this. What would happen if a root node had
multiple leaves?

"Damon Thomas" <welldamn@gmail.com> wrote in message
news:8550635.1132013481017.JavaMail.root@cp1.javalobby.org...
> Any API to invert an already built tree? For instance make the root node
> the leaf node and the leaf node the root node (and all children in between
> flipped)...
Re: Invert Tree Data? [message #463977 is a reply to message #463962] Tue, 15 November 2005 23:07 Go to previous message
Eclipse UserFriend
Originally posted by: welldamn.gmail.com

Nothing. It would only invert one 'path' on the tree with you specifying which object (leaf) to invert 'from'.

Thanks for the answer anyway.
Previous Topic:SWT.NO_REDRAW_RESIZE does not work within a SahsForm
Next Topic:PreferencePage of my plugin, is too big. Not able to see all controls in that
Goto Forum:
  


Current Time: Tue Sep 24 05:54:14 GMT 2024

Powered by FUDForum. Page generated in 0.02982 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top