Bug 66526 [Dialogs] Review the design of MessageDialogWithToggle.createButtonsForButtonBar
I200406090800. Tod has mentioned some concerns over the large if statement structure used to look up labels and match them to identifiers. This seems cumbersome, and should be looked over again.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/IDialogConstants.java
/**
     * Button id for an "Ok" button (value 0).
     */
    public int OK_ID = 0;
    /**
     * Button id for a "Cancel" button (value 1).
     */
    public int CANCEL_ID = 1;
    /**
     * Button id for a "Yes" button (value 2).
     */
    public int YES_ID = 2;
    /**
     * Button id for a "No" button (value 3).
     */
    public int NO_ID = 3;
    /**
     * Button id for a "Yes to All" button (value 4).
     */
    public int YES_TO_ALL_ID = 4;
    /**
     * Button id for a "Skip" button (value 5).
     */
    public int SKIP_ID = 5;
    /**
     * Button id for a "Stop" button (value 6).
     */