Interface IWorkingCopyManager

All Known Implementing Classes:
WorkingCopyManager

public interface IWorkingCopyManager
IWorkingCopyManager is the interface for the working copy support for references to shared preference nodes.
Since:
3.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Apply the changes for all working copies, to their original preference nodes.
    Return a working copy instance based on the given preference node.
  • Method Details

    • getWorkingCopy

      IEclipsePreferences getWorkingCopy(IEclipsePreferences original)
      Return 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.
      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 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