Bug 184755 [DataBinding] internal tree content provider does not work
I broke the tree content providers while trying to update them to use TreePaths. It would be good to have a working implementation again...
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/internal/viewers/UnorderedTreeContentProvider.java
avoidViewerUpdates++;
				enqueuedPrefetches.clear();
				Object[] keys = mapElementToTreeNode.keySet().toArray();
				for (int i = 0; i < keys.length; i++) {
					Object key = keys[i];
					UnorderedTreeNode result = (UnorderedTreeNode) mapElementToTreeNode
							.get(key);
					if (result != null) {
						result.dispose();
					}
				}
			} finally {
				avoidViewerUpdates--;
			}
		}
	}
	public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
		
		setViewer(viewer);
		if (oldInput != null && newInput != null && oldInput.equals(newInput)) {
			return;
		}
		try {
			avoidViewerUpdates++;
			removeIfUnused(oldInput);
		} finally {
			avoidViewerUpdates--;
		}
	}
	private void removeIfUnused(Object element) {