Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.preferences
Class WorkingCopyManager

java.lang.Object
  extended by 
org.eclipse.ui.preferences.WorkingCopyManager
All Implemented Interfaces:
IWorkingCopyManager

public class WorkingCopyManager
extends Object
implements 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
WorkingCopyManager ()
           
 
Method Summary
 void applyChanges ()
          Apply the changes for all working copies, to their original preference nodes.
  IEclipsePreferences getWorkingCopy ( IEclipsePreferences original)
          Return a working copy instance based on the given preference node.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkingCopyManager

public WorkingCopyManager()
Method Detail

getWorkingCopy

public 
IEclipsePreferences getWorkingCopy(
IEclipsePreferences original)
Description copied from interface: IWorkingCopyManager
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.

Specified by:
getWorkingCopy in interface IWorkingCopyManager
Parameters:
original - the original node
Returns:
the working copy node

applyChanges

public void applyChanges()
                  throws 
BackingStoreException
Description copied from interface: IWorkingCopyManager
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.

Specified by:
applyChanges in interface IWorkingCopyManager
Throws:
BackingStoreException - if there were problems accessing the backing store

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire