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?
Goto Forum:

Current Time: Fri Mar 05 14:31:38 GMT 2021

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

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

Back to the top