|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.preferences.PreferenceModifyListener
This class provides a hook into the preference service before particular operations
on the global preference tree. Preference modify listeners are registered with
the preference service via XML and the org.eclipse.core.runtime.preferences
extension point.
Clients may subclass this type.
Constructor Summary | |
---|---|
PreferenceModifyListener()
|
Method Summary | |
---|---|
IEclipsePreferences |
preApply(IEclipsePreferences node)
Clients are given the opportunity to modify the given tree before it is applied to the global preference tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PreferenceModifyListener()
Method Detail |
public IEclipsePreferences preApply(IEclipsePreferences node)
null
and clients
must not return a null
tree.
This method is called by the preference service from within calls to
IPreferencesService.applyPreferences(IExportedPreferences)
or
IPreferencesService.applyPreferences(IEclipsePreferences, IPreferenceFilter[])
.
A typical action for clients to perform would be to intercept the incoming preference tree, migrate old preference values to new ones, and then return the new tree.
node
- the tree to modify
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.