Bug 60117 [Viewers] Need a DeferredTableContentProvider
eclipse-SDK-I20040427-win32.zip 1. Perform a search & display the results with the flat layout 2. Now sort the results by 'Parent Name'... notice the type names do not come first 2. Switch to the hierarchical layout, then back to the flat - now the type names are first
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
Object root = getRoot();
		IContentProvider contentProvider = getContentProvider();
		
		
		if(contentProvider instanceof ILazyContentProvider)
			((ILazyContentProvider)contentProvider).invalidateElements(0, getTable().getItemCount());
		
		else{ 
			if(root != null)
				virtualManager.cachedElements = 
					((IStructuredContentProvider) getContentProvider()).getElements(root);
		}
		getTable().clearAll();
		
	}
	/**
	 * Refresh all of the elements of the table. update the
	 * labels if updatLabels is true;
	 * @param updateLabels
	 */
	private void internalRefreshAll(boolean updateLabels) {
		
		
		
		
		
		
		
		Object[] children = getSortedChildren(getRoot());
		TableItem[] items = getTable().getItems();