if (isProjectionEnabled()) {
if (isFoldingEnabled()) {
	public void createPartControl(Composite parent) {		super.createPartControl(parent);				if (isProjectionEnabled()) {						ProjectionViewer projectionViewer= (ProjectionViewer) getSourceViewer();						fProjectionSupport= new ProjectionSupport(projectionViewer, getAnnotationAccess(), getSharedColors());			fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.error"); //$NON-NLS-1$			fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.warning"); //$NON-NLS-1$			fProjectionSupport.setHoverControlCreator(new IInformationControlCreator() {				public IInformationControl createInformationControl(Shell parent) {					return new CustomSourceInformationControl(parent, IDocument.DEFAULT_CONTENT_TYPE);				}			});			fProjectionSupport.install();						fProjectionModelUpdater= new JavaProjectionModelUpdater();			fProjectionModelUpdater.install(this, projectionViewer);								}				IInformationControlCreator informationControlCreator= new IInformationControlCreator() {			public IInformationControl createInformationControl(Shell shell) {				boolean cutDown= false;				int style= cutDown ? SWT.NONE : (SWT.V_SCROLL | SWT.H_SCROLL);				return new DefaultInformationControl(shell, SWT.RESIZE, style, new HTMLTextPresenter(cutDown));			}		};		fInformationPresenter= new InformationPresenter(informationControlCreator);		fInformationPresenter.setSizeConstraints(60, 10, true, true);				fInformationPresenter.install(getSourceViewer());				fEditorSelectionChangedListener= new EditorSelectionChangedListener();		fEditorSelectionChangedListener.install(getSelectionProvider());				if (isBrowserLikeLinks())			enableBrowserLikeLinks();		if (PreferenceConstants.getPreferenceStore().getBoolean(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE))			enableOverwriteMode(false);		if (fMarkOccurrenceAnnotations)			installOccurrencesFinder();				if (isSemanticHighlightingEnabled())			installSemanticReconciler();		getEditorSite().getShell().addShellListener(fActivationListener);	}