Class PreferencesAccess
java.lang.Object
org.eclipse.m2m.atl.adt.ui.preferences.PreferencesAccess
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Applies the changesorg.eclipse.core.runtime.preferences.IScopeContext
org.eclipse.core.runtime.preferences.IScopeContext
static PreferencesAccess
org.eclipse.core.runtime.preferences.IScopeContext
getProjectScope
(org.eclipse.core.resources.IProject project) static PreferencesAccess
getWorkingCopyPreferences
(org.eclipse.ui.preferences.IWorkingCopyManager workingCopyManager)
-
Method Details
-
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.BackingStoreExceptionApplies the changes- Throws:
org.osgi.service.prefs.BackingStoreException
- thrown when the changes could not be applied
-