Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据 Eclipse 文档的TreeViewer.setAutoExpandLevel(3)意思,顶级元素是展开的,它们是子元素,而不是孙子元素。
TreeViewer.setAutoExpandLevel(3)
我在我的代码中使用了它,但是在设置输入之后,树不会自动扩展,无论是在 OS X 还是在 Linux 上。手动扩展树(通过鼠标)完美无缺。我错过了什么吗?
见这里:https ://bugs.eclipse.org/bugs/show_bug.cgi?id=27480
看起来这不会改变。