Class orion.PageLinks
Utilities for reading orion.page.link
services.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/PageLinks.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Utilities for reading
orion.page.link services. |
Method Attributes | Method Name and Description |
---|---|
<static> |
orion.PageLinks.getOrionHome()
Returns the value of the
{OrionHome} variable. |
<static> |
orion.PageLinks.getPageLinksInfo(serviceRegistry, serviceName)
Reads metadata from an
orion.page.xxxxx service extension. |
Method Detail
<static>
{String}
orion.PageLinks.getOrionHome()
Returns the value of the
{OrionHome}
variable.
- Returns:
- {String} The value of the
{OrionHome}
variable.
<static>
{orion.Promise}
orion.PageLinks.getPageLinksInfo(serviceRegistry, serviceName)
Reads metadata from an
orion.page.xxxxx
service extension.
- Parameters:
- {orion.ServiceRegistry} serviceRegistry
- The service registry.
- {String} serviceName Optional, Default: "orion.page.link"
- Service name to read extensions from.
- Returns:
- {orion.Promise} A promise that resolves to an orion.PageLinks.PageLinksInfo object.