Class Index | File Index

Classes


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>.

Class Summary
Constructor Attributes Constructor Name and Description
 
orion.progress.ProgressService(serviceRegistry, operationsClient)
Service for tracking operations changes
Method Summary
Method Attributes Method Name and Description
 
init(progressPane)
 
progress(deferred, operationName, progressMonitor)
 
 
removeOperation(operationLocation)
 
 
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

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Apr 01 2014 22:58:24 GMT-0400 (EDT)