ISourceViewer sourceViewer= getSourceViewer(); if (!(sourceViewer instanceof ISourceViewerExtension2)) { setNewPreferenceStore(createNewPreferenceStore(input)); super.doSetInput(input); return; }   if (isBrowserLikeLinks()) disableBrowserLikeLinks(); getSourceViewerDecorationSupport(sourceViewer).uninstall(); ((ISourceViewerExtension2)sourceViewer).unconfigure();  setNewPreferenceStore(createNewPreferenceStore(input));   sourceViewer.configure(getSourceViewerConfiguration()); getSourceViewerDecorationSupport(sourceViewer).install(getNewPreferenceStore()); if (isBrowserLikeLinks()) enableBrowserLikeLinks();  super.doSetInput(input);
	protected void doSetInput(IEditorInput input) throws CoreException {		super.doSetInput(input);		if (fEncodingSupport != null)			fEncodingSupport.reset();		setOutlinePageInput(fOutlinePage, input);	}