Bug 230394 [JFace] MessageDialog.openQuestion() Javadoc
The MessageDialog.openQuestion() Javadoc says: * @return <code>true</code> if the user presses the OK button, * <code>false</code> otherwise But the dialog has Yes/No buttons, no "OK" button.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/MessageDialog.java
GridData data = new GridData(GridData.FILL_BOTH);
        data.horizontalSpan = 2;
        composite.setLayoutData(data);
        
        customArea = createCustomArea(composite);
        
        if (customArea == null) {
			customArea = new Label(composite, SWT.NULL);
		}
        return composite;
    }
    /**
     * Gets a button in this dialog's button bar.
     * 
     * @param index
     *            the index of the button in the dialog's button bar
     * @return a button in the dialog's button bar
     */
    protected Button getButton(int index) {
        return buttons[index];
    }
    /**
     * Returns the minimum message area width in pixels This determines the
     * minimum width of the dialog.
     * <p>
     * Subclasses may override.
     * </p>
     * 
     * @return the minimum message area width (in pixels)
     */