Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to find out absolute index of an item in a Tree?
How to find out absolute index of an item in a Tree? [message #453824] Mon, 11 April 2005 10:03 Go to next message
Eclipse UserFriend
How to find out absolute index of an item in a Tree?

I know the index of the parent item and the relative index within the
parents subtree. Is there a more efficient and/or leaner way to find
out the abosulte row index of an item than looping through all toplevel
items and their children and counting all visible items up to the one
desired?

Thanks

Michael Pellaton
Re: How to find out absolute index of an item in a Tree? [message #453842 is a reply to message #453824] Mon, 11 April 2005 16:35 Go to previous message
Eclipse UserFriend
Not right now.

"Michael Pellaton" <newsgroups@pellaton.li> wrote in message
news:d3e0d3$srv$1@news.eclipse.org...
> How to find out absolute index of an item in a Tree?
>
> I know the index of the parent item and the relative index within the
> parents subtree. Is there a more efficient and/or leaner way to find
> out the abosulte row index of an item than looping through all toplevel
> items and their children and counting all visible items up to the one
> desired?
>
> Thanks
>
> Michael Pellaton
Previous Topic:Multiple selection in ComboBoxPropertyDescriptor
Next Topic:TreeItem Listener
Goto Forum:
  


Current Time: Tue Jul 15 22:31:27 EDT 2025

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

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

Back to the top