Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Multi-column tree with tree not in 1st column?
Multi-column tree with tree not in 1st column? [message #500603] Fri, 27 November 2009 02:50 Go to next message
Dave Combs is currently offline Dave CombsFriend
Messages: 21
Registered: July 2009
Junior Member
I've been asked to create a multi-column Tree where the display of the tree itself is not in the first column (the first column or two may contain icons or text.) I've searched the archives but couldn't find anything to support this--everybody's examples always show the tree display in the first column. I know about SWT.PaintItem and SWT.MeasureItem, but all the examples I've seen do things like add icons and such to the right, not columns to the left. It appears from those examples that by the time PaintItem is called, the tree node has already been drawn.

Any clues or pointers to examples on how I can do this?

Dave
Re: Multi-column tree with tree not in 1st column? [message #500629 is a reply to message #500603] Fri, 27 November 2009 08:53 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Use Nebula-Grid.

Tom

Dave Combs schrieb:
> I've been asked to create a multi-column Tree where the display of the
> tree itself is not in the first column (the first column or two may
> contain icons or text.) I've searched the archives but couldn't find
> anything to support this--everybody's examples always show the tree
> display in the first column. I know about SWT.PaintItem and
> SWT.MeasureItem, but all the examples I've seen do things like add icons
> and such to the right, not columns to the left. It appears from those
> examples that by the time PaintItem is called, the tree node has already
> been drawn.
>
> Any clues or pointers to examples on how I can do this?
>
> Dave
Previous Topic:how to replace a TableViewer in a wizard page
Next Topic:Table#getTopIndex returns negative value
Goto Forum:
  


Current Time: Thu Mar 28 23:45:13 GMT 2024

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

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

Back to the top