Bug 153993 [Viewers] Common Baseclass for Tree/TableEditorImpl
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
if (equals(element, input)) {
				setInput(null);
				return;
			}
			Widget[] childItems = internalFindItems(element);
			for (int j = 0; j < childItems.length; j++) {
				Widget childItem = childItems[j];
				if (childItem instanceof Item) {
					Item parentItem = getParentItem((Item) childItem);
					if (parentItem != null) {
						parentItems.put(parentItem, parentItem);
					}
					disassociate((Item) childItem);
					childItem.dispose();
				}
			}
		}
		internalReconcileParentItems(parentItems);
	}
	/**
	 * @param parentItems
	 */
	private void internalReconcileParentItems(CustomHashtable parentItems) {
		Control tree = getControl();
		for (Enumeration e = parentItems.keys(); e.hasMoreElements();) {
			Item parentItem = (Item) e.nextElement();
			if (parentItem.isDisposed()) {
				continue;
			}
			if (!getExpanded(parentItem) && getItemCount(parentItem) == 0) {