public void setSelection(IJavaElement element) {
protected void setSelection(ISourceReference reference, boolean moveCursor) {
	public void setSelection(IJavaElement element) {				if (element == null || element instanceof ICompilationUnit || element instanceof IClassFile) {			/*			 * If the element is an ICompilationUnit this unit is either the input			 * of this editor or not being displayed. In both cases, nothing should			 * happened. (http://dev.eclipse.org/bugs/show_bug.cgi?id=5128)			 */			return;		}				IJavaElement corresponding= getCorrespondingElement(element);		if (corresponding instanceof ISourceReference) {			ISourceReference reference= (ISourceReference) corresponding;			// set hightlight range			setSelection(reference, true);			// set outliner selection			if (fOutlinePage != null) {				fOutlinePage.removeSelectionChangedListener(fSelectionChangedListener);				fOutlinePage.select(reference);				fOutlinePage.addSelectionChangedListener(fSelectionChangedListener);			}		}	}