Class orion.preferences.PreferencesService
The preferences service manages a hierarchical set of preference
nodes. Each node consists of preference key/value pairs.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.core/web/orion/preferences.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs a new preference service.
|
Method Attributes | Method Name and Description |
---|---|
getPreferences(name, optScope)
Retrieves the preferences of the given node name.
|
|
getSetting(subcategories, subcategory, element)
|
|
listenForChangedSettings(key, optScope, callback)
|
Class Detail
orion.preferences.PreferencesService()
Constructs a new preference service. Clients should obtain a preference service
by requesting the service orion.core.preference from the service registry.
This service constructor is only intended to be used by page service registry
initialization code.
Method Detail
getPreferences(name, optScope)
Retrieves the preferences of the given node name.
- Parameters:
- {String} name
- A slash-delimited path to the preference node to return
- optScope
getSetting(subcategories, subcategory, element)
- Parameters:
- subcategories
- subcategory
- element
listenForChangedSettings(key, optScope, callback)
- Parameters:
- key
- optScope
- callback