CheckboxTreeViewer with multiple columns [message #161559] |
Wed, 19 July 2006 06:15 |
Eclipse User |
|
|
|
Originally posted by: groups.redsplash.de
Hey!
I'm currently implementing a CheckboxTreeViewer, and was wondering, if
it's possible run it with multiple columns, using setLabelProvider() and
setContentProvider(). I'm using more or less the code from the
"Demonstrates CheckboxTreeViewer" example
( http://www.java2s.com/Code/Java/SWT-JFace-Eclipse/Demonstrat esCheckboxTreeViewer.htm).
As you can see, there are the two lines
tv.setContentProvider(new FileTreeContentProvider());
tv.setLabelProvider(new FileTreeLabelProvider());
But it seems that both interfaces the classes FileTreeContentProvider and
FileTreeLabelProvider implement, aren't made to be using with more than
one column in a tree.
I mean, inserting additional columns in the tree isn't the problem, but
filling them with content. Could anybody please enlighten me?
tia > christian
|
|
|
Powered by
FUDForum. Page generated in 0.08881 seconds