Community
Participate
Working Groups
The ObservableListContentProvider calls in its ViewerUpdater the replace method of TreeViewer but the name of the method in TreeViewer is a bit missleading and does not handle structural changes in the sub-item path. Currently the replace() method is speced to only work for trees with the virtual bit set. There are 3 possible solutions: a) JFace adds a method replace(final Object parentElementOrTreePath, final int index,final Object element, boolean handleStructuralChange) which is speced to not work none virtual situations b) JFace decides that replace() should handle structural changes all the time and is also useable in none virtual contexts c) Eclipse DB issues add/remove for Tree-Updates
There's currently only one work-around so that ObservableListTreeContentProvider works, when setting a ViewerComparator TreeViewer#replace() uses add/remove instead of simply updating the element value.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.