Class orion.outliner.OutlineService
OutlineService
dispatches an event when an outline for a resource is available.
Clients may listen to the service's outline
event to receive notification when this occurs.
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/outliner.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Constructs a new outline service.
|
Method Attributes | Method Name and Description |
---|---|
emitOutline(inputManager)
|
|
setOutlineProviders(providers)
|
|
setProvider(provider)
|
Class Detail
orion.outliner.OutlineService()
Constructs a new outline service. Clients should obtain an outline service by requesting
the service
orion.edit.outline
from the service registry. This service constructor
is only intended to be used by page service registry initialization code.
- Parameters:
- {orion.serviceregistry.ServiceRegistry} options.serviceRegistry
- The service registry to use for obtaining outline providers.
- {orion.preferences.PreferencesService} options.preferences
- The preferences service to use.
Method Detail
emitOutline(inputManager)
- Parameters:
- inputManager
getProvider()
setOutlineProviders(providers)
- Parameters:
- {orion.serviceregistry.ServiceReference[]} providers
setProvider(provider)
- Parameters:
- {orion.serviceregistry.ServiceReference} provider