Bug 53034 showItem() not working when setRedraw(false)
I20040224 tree.setRedraw(false); getTreeViewer().refresh(); getTreeViewer().setSelection(selection, true); tree.setRedraw(true); does not reveal my selection while the followin does: tree.setRedraw(false); getTreeViewer().refresh(); tree.setRedraw(true); getTreeViewer().setSelection(selection, true);
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaOutlineInformationControl.java
} else if (cat1 == ANONYM) {
				return 0;
			}
			if (fLexicalSortingAction.isChecked())
				return fJavaElementSorter.compare(viewer, e1, e2); 
			else
				return 0;
		}
		
		private IType getDefiningType(IMethod method) throws JavaModelException {
			IType declaringType= method.getDeclaringType();
			int flags= method.getFlags();
			if (Flags.isPrivate(flags) || Flags.isStatic(flags) || method.isConstructor()) {
				return null;
			}
		
			IMethod res= JavaModelUtil.findMethodDeclarationInHierarchy(getSuperTypeHierarchy(declaringType), declaringType, method.getElementName(), method.getParameterTypes(), false);
			if (res == null || method.equals(res)) {
				return null;
			}
			return res.getDeclaringType();
		}
		/*
		 * @see org.eclipse.jface.viewers.ViewerSorter#category(java.lang.Object)
		 */
		public int category(Object element) {
			if (element instanceof IType) {
				IType type= (IType) element;
				if (type.getElementName().length() == 0) {
					return ANONYM;