Bug 56028 [Preferences] Move startup/shutdown prefs from Workbench pref page to Startup
build I20040324 Q from Julian: Do you think the Prompt for Workspace and Refresh workspace options are better placed one the "Startup" preference page? A from Nick: Not a bad idea. It would help clean up some of the clutter on the main page. I'd be inclined to move "Confirm exit when closing last window" there too and rename the page to "Startup and Shutdown".
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/IDEStartupPreferencePage.java
* @since 3.0
 */
public class IDEStartupPreferencePage extends StartupPreferencePage implements
        IWorkbenchPreferencePage {
    private Button refreshButton;
    private Button launchPromptButton;
    private Button exitPromptButton;
    /*
     * (non-Javadoc)
     * 
     * @see org.eclipse.jface.preference.PreferencePage
     */
    protected Control createContents(Composite parent) {
        WorkbenchHelp.setHelp(parent, IHelpContextIds.STARTUP_PREFERENCE_PAGE);
        Composite composite = createComposite(parent);
        createLaunchPromptPref(composite);
        createRefreshWorkspaceOnStartupPref(composite);
        createExitPromptPref(composite);
        createEarlyStartupSelection(composite);
        return composite;
    }
    /**
     * The default button has been pressed.
     */
    protected void performDefaults() {
        IPreferenceStore store = getIDEPreferenceStore();
        launchPromptButton.setSelection(true);
        refreshButton
                .setSelection(store
                        .getDefaultBoolean(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP));