Class orion.progress.ProgressService
Service for tracking operations changes
Defined in: </shared/eclipse/e4/orion/I201404012230/bundles/org.eclipse.orion.client.ui/web/orion/progress.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.progress.ProgressService(serviceRegistry, operationsClient)
Service for tracking operations changes
|
Method Attributes | Method Name and Description |
---|---|
init(progressPane)
|
|
progress(deferred, operationName, progressMonitor)
|
|
removeOperation(operationLocation)
|
|
setProgressResult(result)
|
|
showWhile(deferred, message, avoidDisplayError)
Shows a progress message until the given deferred is resolved.
|
|
writeOperation(operationIndex, operation, deferred)
|
Class Detail
orion.progress.ProgressService(serviceRegistry, operationsClient)
Service for tracking operations changes
- Parameters:
- {orion.serviceregistry.ServiceRegistry} serviceRegistry
- {orion.operationsclient.OperationsClient} operationsClient
Method Detail
init(progressPane)
- Parameters:
- progressPane
progress(deferred, operationName, progressMonitor)
- Parameters:
- deferred
- operationName
- progressMonitor
removeCompletedOperations()
removeOperation(operationLocation)
- Parameters:
- operationLocation
setProgressResult(result)
- Parameters:
- result
{orion.Promise}
showWhile(deferred, message, avoidDisplayError)
Shows a progress message until the given deferred is resolved. Returns a deferred that resolves when
the operation completes.
- Parameters:
- deferred
- {orion.Deferred} Deferred to track
- message
- {String} Message to display
- avoidDisplayError
- Do not display error when deferred is rejected
- Returns:
- {orion.Promise}
writeOperation(operationIndex, operation, deferred)
- Parameters:
- operationIndex
- operation
- deferred