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
setDescription(TextMessages.getString("JavaOutlineInformationControl.LexicalSortingAction.description")); 
			
			JavaPluginImages.setLocalImageDescriptors(this, "alphab_sort_co.gif"); 
			
			fOutlineViewer= outlineViewer;
			
			boolean checked=getDialogSettings().getBoolean(STORE_LEXICAL_SORTING_CHECKED);
			setChecked(checked);
			WorkbenchHelp.setHelp(this, IJavaHelpContextIds.LEXICAL_SORTING_BROWSING_ACTION);
		}
		public void run() {
			valueChanged(isChecked(), true);
		}
		private void valueChanged(final boolean on, boolean store) {
			setChecked(on);
			BusyIndicator.showWhile(fOutlineViewer.getControl().getDisplay(), new Runnable() {
				public void run() {
					fOutlineViewer.refresh(false);
				}
			});
			
			if (store)
				getDialogSettings().put(STORE_LEXICAL_SORTING_CHECKED, on);
		}
	}
	private class SortByDefiningTypeAction extends Action {
		
		private static final String STORE_SORT_BY_DEFINING_TYPE_CHECKED= "SortByDefiningType.isChecked"; 
		
		private TreeViewer fOutlineViewer;