Bug 49461 [preferences] code formatter not configured with Java project options
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* @since 3.0
	 */
	public void reconciled(CompilationUnit ast, boolean cancelled, boolean forced) {
		
		JavaPlugin.getDefault().getASTProvider().reconciled(ast, getInputJavaElement());
		
		
		synchronized (fReconcilingListeners) {
			Object[] listeners = fReconcilingListeners.getListeners();
			for (int i = 0, length= listeners.length; i < length; ++i)
				((IJavaReconcilingListener)listeners[i]).reconciled(ast, cancelled, forced);
		}
		
		if (!forced && !cancelled) {
			Shell shell= getSite().getShell();
			if (shell != null && !shell.isDisposed()) {
				shell.getDisplay().asyncExec(new Runnable() {
					public void run() {
						selectionChanged();
					}
				});
			}
		}
	}
	
	/**
	 * Tells whether this is the active editor in the active page.
	 *
	 * @return <code>true</code> if this is the active editor in the active page
	 * @see IWorkbenchPage#getActiveEditor();