Help! Problem with ILazyTreeContentProvider & Dynamic Columns [message #559810] |
Sun, 19 September 2010 05:03 |
gabe Messages: 7 Registered: July 2009 |
Junior Member |
|
|
I have a TreeViewer with Virtual style bit set and a ILazyTreeContentProvider. My TreeViewer has 3 columns that are always displayed (and show text) and then depending on selection I add columns dynamically (and show img).
If I set input on the TreeViewer with a parent node that has a list of children, when I expand the parent node I see the text for the first 3 columns and no images.
Then, if I set input on the TreeViewer with the list of children I see text in first 3 columns and images in dynamic columns as expected.
Then, if I again set input to be the parent and expand the parent, I see the text and images.
Alternatively, if I set the input to parent and then do expandAll() instead of clicking on the expansion control for the parent, I see all text and images as expected.
I've tried putting breakpoints on the contentprovider and labelprovider and it looks like the elements exist and the getText(), getImage() methods are being called as expected in all cases above.
|
|
|
Powered by
FUDForum. Page generated in 0.03314 seconds