TreeViewer 中设置一个Selection
先构建TreePath treePath = new TreePath(Object[] objs);
通过TreePath构造TreeSelection
treePath是从TreeView中最高层往到要选中的Object的列表。
TreeViewer 中设置一个Selection
先构建TreePath treePath = new TreePath(Object[] objs);
通过TreePath构造TreeSelection
treePath是从TreeView中最高层往到要选中的Object的列表。