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 Combs
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 Schindl
Messages: 5423
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: Sun Oct 26 07:04:41 GMT 2014

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

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