Eclipse JFace TreeViewer level auto expansion doesn't work

Posted by tamm0r on Stack Overflow See other posts from Stack Overflow or by tamm0r
Published on 2010-06-09T12:01:30Z Indexed on 2010/06/09 12:12 UTC
Read the original article Hit count: 232

Filed under:
|
|

According to the Eclipse documentation TreeViewer.setAutoExpandLevel(3) means that top-level elements are expanded, and their children, but not grandchildren.

I used that in my code, but after setting the input the tree is not auto-expanded, neither on OS X nor on Linux. Expanding the tree manually (via mouse) works flawlessly. Am I missing anything?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about treeview