Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » How can I get 'all' visible nodes in a TreeViewer
How can I get 'all' visible nodes in a TreeViewer [message #550651] Wed, 04 August 2010 03:41
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
I see JFace API related to getting expanded paths and visible expanded
items (sp?) but they don't return leaf nodes.

I'm using TreeViewer.getTree().getItems() to get the root items then
parsing recursively over them to get children of all expanded TreeItems
and it seems to work. However, working with SWT TreeItems when using a
JFace TreeViewer just seems like it ought not to be necessary.

Anyone have a solution using JFace API?

Craig
Previous Topic:HeaderProvider for the TableViewer
Next Topic:[DataBinding] Delay model updates until dialog confirmation
Goto Forum:
  


Current Time: Fri Apr 26 18:06:44 GMT 2024

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

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

Back to the top