Eclipse Platform
Release 3.1

org.eclipse.ui.preferences
Interface IWorkbenchPreferenceContainer


public interface IWorkbenchPreferenceContainer

IWorkbenchPreferenceContainer is the class that specifies the workbench specific preferences support.

Since:
3.1

Method Summary
 IWorkingCopyManager getWorkingCopyManager()
          Get the working copy manager in use by this preference page container.
 boolean openPage(String preferencePageId, Object data)
          Open the page specified in the org.eclipse.ui.preferencePage extension point with id pageId.
 void registerUpdateJob(Job job)
          Register a job to be run after the container has been closed.
 

Method Detail

openPage

public boolean openPage(String preferencePageId,
                        Object data)
Open the page specified in the org.eclipse.ui.preferencePage extension point with id pageId. Apply data to it when it is opened.

Parameters:
preferencePageId - String the id specified for a page in the plugin.xml of its defining plug-in.
data - The data to be applied to the page when it opens.
Returns:
boolean true if the page was opened successfully and data was applied.

getWorkingCopyManager

public IWorkingCopyManager getWorkingCopyManager()
Get the working copy manager in use by this preference page container. This IWorkingCopyManager will have IWorkingCopyManager#applyChanges()

Returns:
IWorkingCopyManager

registerUpdateJob

public void registerUpdateJob(Job job)
Register a job to be run after the container has been closed.

Parameters:
job -

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.