Project: Eclipse_Platform_UI
Bug 125272 [Viewers] AbstractTreeViewer needs remove(Object parentElement, Object[] childElements)
Reported: 2006-01-25 21:30:18 | Status: verified fixed

There is an add(Object parentElement, Object[] childElements) but no corresponding remove(). Without this method, if you have an element that appears under multiple parents, the only way to get model and viewer in sync after removing the element from just one of its parents is calling refresh().

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java tests/org.eclipse.ui.tests/Eclipse JFace Tests/org/eclipse/jface/tests/viewers/MultipleEqualElementsTreeViewerTest.java