Bug 89109 Need Workspace preference page doc and code fixup
There is currently an illegal reference from IDE to the IWorkspacehelpIds class where we set the Workbench pref. page as the context help id for the workspace page. We should add a new help page for the workspace page and add the context id to IIDEHelpContextIDs and remove the illegal reference. As well the workbench help should not contain references to the preferences that have been moved. see code public class IDEWorkspacePreferencePage extends PreferencePage implements IWorkbenchPreferencePage{ private Button autoBuildButton; private Button autoSaveAllButton; private IntegerFieldEditor saveInterval; private Button autoRefreshButton; /* * (non-Javadoc) * * @see org.eclipse.jface.preference.PreferencePage */ protected Control createContents(Composite parent) { PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, >>>>>>IWorkbenchHelpContextIds.WORKBENCH_PREFERENCE_PAGE);
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/IDEWorkspacePreferencePage.java
IWorkbenchHelpContextIds.WORKBENCH_PREFERENCE_PAGE);
        Composite composite = createComposite(parent);
		PreferenceLinkArea area = new PreferenceLinkArea(composite, SWT.NONE,
				"org.eclipse.ui.preferencePages.Startup", IDEWorkbenchMessages.IDEWorkspacePreferencePage_WorkbenchPreference_relatedLink,
				(IWorkbenchPreferenceContainer) getContainer(),null);
		GridData data = new GridData(GridData.FILL_HORIZONTAL | GridData.GRAB_HORIZONTAL);
		area.getControl().setLayoutData(data);
        
		Label space = new Label(composite,SWT.NONE);
		space.setLayoutData(new GridData());
		
        createAutoBuildPref(composite);
        createSaveAllBeforeBuildPref(composite);
        
        createSpace(composite);
        createSaveIntervalGroup(composite);
		createSpace(composite);
		createAutoRefreshControls(composite);
        applyDialogFont(composite);
        return composite;
    }
    protected void createSaveAllBeforeBuildPref(Composite composite) {
        autoSaveAllButton = new Button(composite, SWT.CHECK);
        autoSaveAllButton.setText(IDEWorkbenchMessages.IDEWorkspacePreference_savePriorToBuilding);
        autoSaveAllButton.setToolTipText(IDEWorkbenchMessages.IDEWorkspacePreference_savePriorToBuildingToolTip);
        autoSaveAllButton.setSelection(getIDEPreferenceStore().getBoolean(
                IDEInternalPreferences.SAVE_ALL_BEFORE_BUILD));
    }
    protected void createAutoBuildPref(Composite composite) {
        autoBuildButton = new Button(composite, SWT.CHECK);