Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 14:03 Go to next message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
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 20:35 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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: Sat Feb 27 11:02:57 GMT 2021

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

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

Back to the top