TreeViewer with multiple columns [message #636638] |
Tue, 02 November 2010 10:14 |
|
Hi,
in our RCP application we use TreeViewer w/ multiple columns (w/o cell editors). We had no problem with Eclipse 3.3, but now when upgrading to Eclipse 3.6.1 we got a problem when a tree item is expanded. After expanding an item there will be displayed only a single empty row as a sub-item. The model behind the viewer is very simple, I'm using a content provider based on ITreeContentProvider, a label provider based on ITableLabelProvider.
Are there any known differences between 3.3 and 3.6.1 on the usage of a TreeViewer w/ multiple columns?
Thx for any help.
Regards,
Heiko
|
|
|
|
|
Re: TreeViewer with multiple columns [message #637662 is a reply to message #637385] |
Mon, 08 November 2010 09:22 |
|
Hi Tom,
thx for your answer. I found the error in our application. In the tree we implemented we wanted that if a node is expanded all the other nodes should be collapsed. So there was a tree listener which called TreeViewer.collapseAll on expansion (treeExpanded). With Eclipse 3.3 it worked, all items were collapsed and the expanded item was expanded. With 3.6.1 it doesn't work any longer. So now I go and collapse only the expanded elements. It works.
Regards,
Heiko
|
|
|
Powered by
FUDForum. Page generated in 0.03827 seconds