Class PreferencesAccess
- java.lang.Object
-
- org.eclipse.m2m.atl.adt.ui.preferences.PreferencesAccess
-
public class PreferencesAccess extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyChanges()
Applies the changesorg.eclipse.core.runtime.preferences.IScopeContext
getDefaultScope()
org.eclipse.core.runtime.preferences.IScopeContext
getInstanceScope()
static PreferencesAccess
getOriginalPreferences()
org.eclipse.core.runtime.preferences.IScopeContext
getProjectScope(org.eclipse.core.resources.IProject project)
static PreferencesAccess
getWorkingCopyPreferences(org.eclipse.ui.preferences.IWorkingCopyManager workingCopyManager)
-
-
-
Method Detail
-
getOriginalPreferences
public static PreferencesAccess getOriginalPreferences()
-
getWorkingCopyPreferences
public static PreferencesAccess getWorkingCopyPreferences(org.eclipse.ui.preferences.IWorkingCopyManager workingCopyManager)
-
getDefaultScope
public org.eclipse.core.runtime.preferences.IScopeContext getDefaultScope()
-
getInstanceScope
public org.eclipse.core.runtime.preferences.IScopeContext getInstanceScope()
-
getProjectScope
public org.eclipse.core.runtime.preferences.IScopeContext getProjectScope(org.eclipse.core.resources.IProject project)
-
applyChanges
public void applyChanges() throws org.osgi.service.prefs.BackingStoreException
Applies the changes- Throws:
org.osgi.service.prefs.BackingStoreException
- thrown when the changes could not be applied
-
-