Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Any API to traverse a tree in TreeViewer ??
Any API to traverse a tree in TreeViewer ?? [message #465381] Mon, 12 December 2005 07:36
Johnson is currently offline JohnsonFriend
Messages: 13
Registered: July 2009
Junior Member
In this case, I need to traverse the whole tree and return the subtree of
this node.

public Tree (Tree tree, Node node){
....................
return tree;
}

The way I do is to hard code the traverse function, and compare whether the
node is the same instance.

I want to know does SWT provide any API to traverse the tree? I will need to
use this in lots of different cases. That would be very helpful... THANKS!!
Previous Topic:ScrolledComposite - how to focus it on the bottom?
Next Topic:BRANDING
Goto Forum:
  


Current Time: Thu Apr 25 06:06:22 GMT 2024

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

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

Back to the top