[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] question re. TableTree-viewer's refresh behavior

I am using a table-tree viewer to observe the internal data structure of some object.
The use may collapse and expand this tree-view as desired to focus on particular elements in the tree.
If some data changes I fire a refresh on that tree (alas, there is no method to signal specifically which element has changed).


That refresh then always causes the entire tree to refresh - which I wouldn't mind since the speed is not a problem(, yet) - but this refresh also always expands/collapses the treeview to the expand level initially chosen. That means, that the user's selections and changes re. focus are lost and one has to search the particular tree-element one is interested in again (and since there are lots of changes this is simply unacceptable from a usability point of view).

Can one somehow trigger a refresh, but only of those elements that are currenly visible, i.e. leave the current expansion of subelements alone?

Hope I could make myself clear...

Michael