Bug 172655 [ErrorHandling] [StatusHandling] Hooking into JFace dialogs
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
}
    /**
     * Convenience method to open a simple Yes/No question 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
     * @return <code>true</code> if the user presses the OK button,
     *         <code>false</code> otherwise
     */
    public static boolean openQuestion(Shell parent, String title,
            String message) {
        MessageDialog dialog = new MessageDialog(parent, title, null, 
                
                
                
                
                message, QUESTION, new String[] { IDialogConstants.YES_LABEL,
                        IDialogConstants.NO_LABEL }, 0); 
        return dialog.open() == 0;
    }
    /**
	 * It was a convenience method to open a standard warning dialog. Since 3.3
	 * it creates a warning status and passes it to a dialog from the policy.
	 * 
	 * @param parent
	 *            the parent shell of the dialog, or <code>null</code> if