Bug 139385 [Viewers] Viewer#setComparator(ViewerComparator) has no effect
Version: 3.2.0 Build id: I20060428-1315 Setting a Comparator in setComparator is actually not triggering any sorting in my viewer. It works when I call setComparator(ViewerSorter). Any ideas? Ben
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTreeViewer.java
return getControl();
		}
        return null;
    }
    
    protected Widget doFindItem(Object element) {
        
        Object root = getRoot();
        if (root == null) {
			return null;
		}
        Item[] items = getChildren(getControl());
        if (items != null) {
            for (int i = 0; i < items.length; i++) {
                Widget o = internalFindItem(items[i], element);
                if (o != null) {
					return o;
				}
            }
        }
        return null;
    }
    /**
     * Copies the attributes of the given element into the given SWT item.
     * 
     * @param item
     *           the SWT item
     * @param element
     *           the element
     */