if (element instanceof ISourceReference) fOutlinePage.select((ISourceReference) element);
ISourceReference reference= getSourceReference(element, caret); if (reference != null) fOutlinePage.select(reference);
	public void synchronizeOutlinePageSelection() {				if (isEditingScriptRunning())			return;				ISourceViewer sourceViewer= getSourceViewer();		if (sourceViewer == null || fOutlinePage == null)			return;					StyledText styledText= sourceViewer.getTextWidget();		if (styledText == null)			return;				int offset= sourceViewer.getVisibleRegion().getOffset();		int caret= offset + styledText.getCaretOffset();				IJavaElement element= getElementAt(caret, false);		if (element instanceof ISourceReference)			fOutlinePage.select((ISourceReference) element);	}