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/I201107200200/plugins/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)
Retrieves the preferences of the given node name.
|
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)
Retrieves the preferences of the given node name.
- Parameters:
- {String} name
- A slash-delimited path to the preference node to return