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
IDEInternalPreferences.REFRESH_WORKSPACE_ON_STARTUP));
    }
    protected void createLaunchPromptPref(Composite composite) {
        launchPromptButton = new Button(composite, SWT.CHECK);
        launchPromptButton.setText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.launchPromptButton")); 
        launchPromptButton.setFont(composite.getFont());
        
        
        
        
        
        launchPromptButton.setSelection(ChooseWorkspaceData.getShowDialogValue());
    }
    protected void createExitPromptPref(Composite composite) {
        exitPromptButton = new Button(composite, SWT.CHECK);
        exitPromptButton.setText(IDEWorkbenchMessages
                .getString("WorkbenchPreference.exitPromptButton")); 
        exitPromptButton.setFont(composite.getFont());
        exitPromptButton.setSelection(getIDEPreferenceStore().getBoolean(
                IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW));
    }
    /**
     * Returns the IDE preference store.
     */
    protected IPreferenceStore getIDEPreferenceStore() {
        return IDEWorkbenchPlugin.getDefault().getPreferenceStore();
    }
}