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
if (selectedElement != null)
				getTreeViewer().reveal(selectedElement);
		}
		
		/**
		 * {@inheritDoc}
		 */
		public Object[] getChildren(Object element) {
			if (fShowOnlyMainType) {
				if (element instanceof ICompilationUnit) {
					element= getMainType((ICompilationUnit)element);
				} else if (element instanceof IClassFile) {
					element= getMainType((IClassFile)element);
				}
				if (element == null)
					return NO_CHILDREN;
			}
			
			if (fShowInheritedMembers && element instanceof IType) {
				IType type= (IType)element;
				if (type.getDeclaringType() == null) {
					ITypeHierarchy th= getSuperTypeHierarchy(type);
					if (th != null) {
						List children= new ArrayList();
						IType[] superClasses= th.getAllSupertypes(type);
						children.addAll(Arrays.asList(super.getChildren(type)));
						for (int i= 0, scLength= superClasses.length; i < scLength; i++)
							children.addAll(Arrays.asList(super.getChildren(superClasses[i])));
						return children.toArray();
					}