Bug 172655 [ErrorHandling] [StatusHandling] Hooking into JFace dialogs
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Policy.java
public static boolean DEBUG_DIALOG_NO_PARENT = DEFAULT;
	/**
	 * A flag to indicate whether actions are being traced.
	 */
	public static boolean TRACE_ACTIONS = DEFAULT;
	/**
	 * A flag to indicate whether toolbars are being traced.
	 */
	public static boolean TRACE_TOOLBAR = DEFAULT;
	private static ILogDialog logDialog;
	/**
	 * Returns the dummy log to use if none has been set
	 */
	private static ILogger getDummyLog() {
		return new ILogger() {
			public void log(IStatus status) {
				System.err.println(status.getMessage());
			}
		};
	}
	/**
	 * Gets the default JFace dialog for showing errors, warnings and
	 * informations.
	 * 
	 * @return {@link ILogDialog}
	 */
	private static ILogDialog getJFaceLogDialog() {
		return new ILogDialog() {
			/*
			 * (non-Javadoc)