org.eclipse.ui.preferences
Interface IWorkingCopyManager


public interface IWorkingCopyManager

IWorkingCopyManager is the interface for the working copy support for references to shared org.eclipse.jface.preference nodes.

Since:
3.1

Method Summary
 void applyChanges()
          Apply the changes for all working copies, to their original org.eclipse.jface.preference nodes.
 IEclipsePreferences getWorkingCopy(IEclipsePreferences original)
          Return a working copy instance based on the given org.eclipse.jface.preference node.
 

Method Detail

getWorkingCopy

IEclipsePreferences getWorkingCopy(IEclipsePreferences original)
Return a working copy instance based on the given org.eclipse.jface.preference node. If a working copy already exists then return it, otherwise create one and keep track of it for other clients who are looking for it.

Parameters:
original - the original node
Returns:
the working copy node

applyChanges

void applyChanges()
                  throws BackingStoreException
Apply the changes for all working copies, to their original org.eclipse.jface.preference nodes. Alternatively, if a client wishes to apply the changes for a single working copy they can call #flush on that working copy node.

Throws:
BackingStoreException - if there were problems accessing the backing store