ISelection s= StructuredSelection.EMPTY; if (reference != null) s= new StructuredSelection(reference);  fOutlineViewer.setSelection(s, true);
ISelection s= fOutlineViewer.getSelection(); if (s instanceof IStructuredSelection) { IStructuredSelection ss= (IStructuredSelection) s; List elements= ss.toList(); if (!elements.contains(reference)) { s= (reference == null ? StructuredSelection.EMPTY : new StructuredSelection(reference)); fOutlineViewer.setSelection(s, true); } }
	public void select(ISourceReference reference) {		if (fOutlineViewer != null) {						ISelection s= StructuredSelection.EMPTY;			if (reference != null)				s= new StructuredSelection(reference);							fOutlineViewer.setSelection(s, true);		}	}