Package org.eclipse.ui.preferences
Class WorkingCopyManager
java.lang.Object
org.eclipse.ui.preferences.WorkingCopyManager
- All Implemented Interfaces:
IWorkingCopyManager
WorkingCopyManager is a concrete implementation of an IWorkingCopyManager.
This class is not intended to be sub-classed by clients.
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApply the changes for all working copies, to their original preference nodes.getWorkingCopy(IEclipsePreferences original) Return a working copy instance based on the given preference node.
-
Constructor Details
-
WorkingCopyManager
public WorkingCopyManager()
-
-
Method Details
-
getWorkingCopy
Description copied from interface:IWorkingCopyManagerReturn a working copy instance based on the given 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.- Specified by:
getWorkingCopyin interfaceIWorkingCopyManager- Parameters:
original- the original node- Returns:
- the working copy node
-
applyChanges
Description copied from interface:IWorkingCopyManagerApply the changes for all working copies, to their original preference nodes. Alternatively, if a client wishes to apply the changes for a single working copy they can call#flushon that working copy node.- Specified by:
applyChangesin interfaceIWorkingCopyManager- Throws:
BackingStoreException- if there were problems accessing the backing store
-