Class orion.core.TypeDefRegistry
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/edit/typedefs.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.core.TypeDefRegistry(serviceRegistry)
Tracks type definitions registered with a Service Registry.
|
Method Attributes | Method Name and Description |
---|---|
Gets the properties of all TypeDefs in the registry.
|
|
getProperties(id)
Gets the properties for a TypeDef.
|
|
getTypeDef(id)
Gets a TypeDef.
|
Class Detail
orion.core.TypeDefRegistry(serviceRegistry)
Tracks type definitions registered with a Service Registry.
- Parameters:
- {orion.serviceregistry.ServiceRegistry} serviceRegistry
Method Detail
{Object}
getAllProperties()
Gets the properties of all TypeDefs in the registry.
- Returns:
- {Object} A map of all properties. The keys are TypeDef IDs and the values are the orion.core.TypeDefProperties returned by #getProperties(id).
{orion.core.TypeDefProperties|null}
getProperties(id)
Gets the properties for a TypeDef.
- Parameters:
- {String} id
- The ID of the TypeDef to get properties for.
- Returns:
- {orion.core.TypeDefProperties|null} The properties object.
{orion.core.TypeDef|null}
getTypeDef(id)
Gets a TypeDef.
- Parameters:
- {String} id
- The ID of the desired TypeDef.
- Returns:
- {orion.core.TypeDef|null} The TypeDef object.