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
}
				ITypeHierarchy hierarchy= getSuperTypeHierarchy(type);
				if (hierarchy != null) {
					if (Flags.isInterface(hierarchy.getCachedFlags((IType) element))) {
						return INTERFACE;
					} else {
						return CLASS;
					}
				}
			}
			return OTHER;
		}
		private int compareInHierarchy(ITypeHierarchy hierarchy, IType def1, IType def2) {
			if (isSuperType(hierarchy, def1, def2)) {
				return 1;
			} else if (isSuperType(hierarchy, def2, def1)) {
				return -1;
			}
			
			int flags1= hierarchy.getCachedFlags(def1);
			int flags2= hierarchy.getCachedFlags(def2);
			if (Flags.isInterface(flags1)) {
				if (!Flags.isInterface(flags2)) {
					return 1;
				}
			} else if (Flags.isInterface(flags2)) {
				return -1;
			}
			String name1= def1.getElementName();
			String name2= def2.getElementName();