Bug 63400 elements not removed from hierarchical search
20040520 Ensure that you are use the hierarchical presentation for search. 1. Do a search with several hits: references to toString, or JavaCore, or ... 2. Remove one of the leaf elements from the list (one method or type). The count of search items decreases, however, the view is not updated. When I remove the last element from the package, the entire package is removed (but not before)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/LevelTreeContentProvider.java
public Object getParent(Object element) {
			return internalGetParent(element);
		}
	}
	public LevelTreeContentProvider(JavaSearchResultPage page, int level) {
		super(page);
		fCurrentLevel= level;
		fContentProvider= new FastJavaElementProvider();
	}
	public Object getParent(Object child) {
		Object possibleParent= internalGetParent(child);
		if (possibleParent instanceof IJavaElement) {
			IJavaElement javaElement= (IJavaElement) possibleParent;
			for (int j= fCurrentLevel; j < MAX_LEVEL + 1; j++) {
				for (int i= 0; i < JAVA_ELEMENT_TYPES[j].length; i++) {
					if (javaElement.getElementType() == JAVA_ELEMENT_TYPES[j][i]) {
						return null;
					}
				}
			}