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
public int NO_TO_ALL_ID = 21;
    /**
     * Starting button id reserved for internal use by JFace (value 256). JFace
     * classes make ids by adding to this number.
     */
    public int INTERNAL_ID = 256;
    /**
     * Starting button id reserved for use by clients of JFace (value 1024).
     * Clients of JFace should make ids by adding to this number.
     */
    public int CLIENT_ID = 1024;
    
    /**
     * The label for OK buttons.
     */
    public String OK_LABEL = JFaceResources.getString("ok"); 
    /**
     * The label for cancel buttons.
     */
    public String CANCEL_LABEL = JFaceResources.getString("cancel"); 
    /**
     * The label for yes buttons.
     */
    public String YES_LABEL = JFaceResources.getString("yes"); 
    /**
     * The label for no buttons.
     */
    public String NO_LABEL = JFaceResources.getString("no"); 
    /**
     * The label for not to all buttons.