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
exitPromptButton
                .setSelection(store
                        .getDefaultBoolean(IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW));
        super.performDefaults();
    }
    /**
     * The user has pressed Ok. Store/apply this page's values appropriately.
     */
    public boolean performOk() {
        IPreferenceStore store = getIDEPreferenceStore();
        
        store.setValue(IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP,
                refreshButton.getSelection());
        
        
        
        
        
        ChooseWorkspaceData.setShowDialogValue(launchPromptButton.getSelection());
        
        store.setValue(IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW,
                exitPromptButton.getSelection());
        return super.performOk();
    }
    protected void createRefreshWorkspaceOnStartupPref(Composite composite) {
        refreshButton = new Button(composite, SWT.CHECK);
        refreshButton.setText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.refreshButton")); 
        refreshButton.setFont(composite.getFont());
        refreshButton.setSelection(getIDEPreferenceStore().getBoolean(