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
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Label;
import org.eclipse.ui.IWorkbenchPreferencePage;
import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.dialogs.PreferenceLinkArea;
import org.eclipse.ui.internal.IWorkbenchHelpContextIds;
import org.eclipse.ui.internal.ide.IDEInternalPreferences;
import org.eclipse.ui.internal.ide.IDEWorkbenchMessages;
import org.eclipse.ui.internal.ide.IDEWorkbenchPlugin;
import org.eclipse.ui.preferences.IWorkbenchPreferenceContainer;
/**
 * The IDEWorkspacePreferencePage is the page used to set IDE-specific preferences settings
 * related to workspace.
 *Note:This class extends from PreferencePage,and there's no WorkspacePreferencePage class.
 *Hence when the IDE settings doesn't appear in this preference page, this page will be empty.
 */
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,