Bug 80429 [Preferences] [Dialogs] FieldEditors should relax requirements to support DialogPages
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/IDEWorkbenchPreferencePage.java
createSaveAllBeforeBuildPref(composite);
        createStickyCyclePref(composite);
        createSpace(composite);
        createSaveIntervalGroup(composite);
        createSpace(composite);
        createOpenModeGroup(composite);
        applyDialogFont(composite);
        return composite;
    }
    protected void createSaveAllBeforeBuildPref(Composite composite) {
        autoSaveAllButton = new Button(composite, SWT.CHECK);
        autoSaveAllButton.setText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.savePriorToBuilding")); 
        autoSaveAllButton.setToolTipText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.savePriorToBuildingToolTip")); 
        autoSaveAllButton.setSelection(getIDEPreferenceStore().getBoolean(
                IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD));
    }
    private void createAutoBuildPref(Composite composite) {
        autoBuildButton = new Button(composite, SWT.CHECK);
        autoBuildButton.setText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.autobuild")); 
        autoBuildButton.setToolTipText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.autobuildToolTip")); 
        autoBuildButton.setSelection(ResourcesPlugin.getWorkspace()
                .isAutoBuilding());
    }
    /**
     * Create a composite that contains entry fields specifying save interval
     * preference.