Skip to main content



      Home
Home » Newcomers » Newcomers » CheckboxTreeViewer with multiple columns
CheckboxTreeViewer with multiple columns [message #161559] Wed, 19 July 2006 06:15
Eclipse UserFriend
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
Previous Topic:Need help displaying the filesystem in a view
Next Topic:Sequenze of Calls To External Tools
Goto Forum:
  


Current Time: Fri May 09 06:37:01 EDT 2025

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

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

Back to the top