Bug 172655 [ErrorHandling] [StatusHandling] Hooking into JFace dialogs
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
}
    /**
	 * It was a convenience method to open a standard error dialog. Since 3.3 it
	 * creates an error status and passes it to a dialog from the policy.
	 * 
	 * @param parent
	 *            the parent shell of the dialog, or <code>null</code> if none
	 * @param title
	 *            the dialog's title, or <code>null</code> if none
	 * @param message
	 *            the message
	 */
	public static void openError(Shell parent, String title, String message) {
		IStatus status = new Status(IStatus.ERROR, Policy.JFACE, message);
		Policy.getLogDialog().log(parent, title, status);
	}
    /**
	 * Convenience method to open a standard information dialog.
	 * 
	 * @param parent
	 *            the parent shell of the dialog, or <code>null</code> if none
	 * @param title
	 *            the dialog's title, or <code>null</code> if none
	 * @param message
	 *            the message
	 */
	public static void openInformation(Shell parent, String title,
			String message) {
		IStatus status = new Status(IStatus.INFO, Policy.JFACE, message);
		Policy.getLogDialog().log(parent, title, status);