Bug 60349 [implementation] reduce warnings due to core.runtime deprecations
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
}
	
	private boolean isProjectionEnabled() {
		return Boolean.getBoolean("org.eclipse.jdt.internal.ui.projection");
	}
	/*
	 * @see org.eclipse.ui.IWorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
	 */
	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");
			fProjectionSupport.addSummarizableAnnotationType("org.eclipse.ui.workbench.texteditor.warning");
			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);
			
			
		}