Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How can I get a children of some tree node?
How can I get a children of some tree node? [message #465045] Sun, 04 December 2005 12:48 Go to next message
Eclipse User
Originally posted by: mayar.mercury.co.il

I have to implement "find" on my tree.
I using TreeViewer to fill it.

Now I need to step over my tree (TreeViewer.getTree), find all items
which have some condition and mark(expand) them. But, unfortunately, I
have getParent() only for TreeItem.

Or I need do search in Lable/Content provider?
Re: How can I get a children of some tree node? [message #465056 is a reply to message #465045] Mon, 05 December 2005 04:45 Go to previous message
Eclipse User
Originally posted by: osipov.appliedtech.ru

Hi, actually I quess you should search in a place where you've loaded your
tree from and then do something like
tree.expandToLevel(objectModel,nLevel).
Previous Topic:dynamic viewpart
Next Topic:Can I do custom painting of a widget on the Workbench?
Goto Forum:
  


Current Time: Wed Sep 17 07:39:17 GMT 2014

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

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