Class Index | File Index

Classes


Class orion.settings.SettingsRegistry

Maintains a registry of settings.
Defined in: </jobs/genie.orion/orion-client-stable/workspace/bundles/org.eclipse.orion.client.ui/web/orion/settings/settingsRegistry.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.settings.SettingsRegistry(serviceRegistry, metaTypeRegistry)
A SettingsRegistry provides access to information about settings registered with the service registry.
Method Summary
Method Attributes Method Name and Description
 
Returns all setting categories.
 
getCategoryLabel(category)
Returns the localized label for a category.
 
getSettings(category)
Returns settings.
Class Detail
orion.settings.SettingsRegistry(serviceRegistry, metaTypeRegistry)
A SettingsRegistry provides access to information about settings registered with the service registry.
Parameters:
{orion.serviceregistry.ServiceRegistry} serviceRegistry
The service registry to monitor.
{orion.metatype.MetaTypeRegistry} metaTypeRegistry
The metatype registry to look up Object Class Definitions in.
Method Detail
{String[]} getCategories()
Returns all setting categories.
Returns:
{String[]} The categories.

{String} getCategoryLabel(category)
Returns the localized label for a category.
Parameters:
category
Returns:
{String} The category label, or null if no localized label is available.

{orion.settings.Setting[]} getSettings(category)
Returns settings.
Parameters:
{String} category Optional
If passed, returns only the settings in the given category. Otherwise, returns all settings.
Returns:
{orion.settings.Setting[]}

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 29 2017 14:37:22 GMT-0400 (EDT)