Class eclipse.StatusReportingService
Service for reporting status
Defined in: </shared/eclipse/e4/orion/I201106100200/plugins/org.eclipse.orion.client.core/web/orion/status.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
eclipse.StatusReportingService(serviceRegistry, domId, progressDomId)
Service for reporting status
|
Method Attributes | Method Name and Description |
---|---|
setErrorMessage(st)
|
|
setMessage(msg, Number)
|
|
setProgressMessage(message)
Set a message that will be shown in the progress reporting area on the page.
|
|
Set a message that indicates that a long-running (progress) task is complete.
|
|
showWhile(deferred, message)
Shows a progress message until the given deferred is resolved.
|
Class Detail
eclipse.StatusReportingService(serviceRegistry, domId, progressDomId)
Service for reporting status
Method Detail
setErrorMessage(st)
- Parameters:
- {String|dojoError|orionError} st
- The error to display. Can be a simple String, or an error object from a dojo XHR error callback, or the body of an error response from the Orion server.
setMessage(msg, Number)
- Parameters:
- {String} msg
- Message to display.
- Number Optional
- timeout Optional time to display the message before hiding it.
setProgressMessage(message)
Set a message that will be shown in the progress reporting area on the page.
- Parameters:
- {String} message
- The progress message to display.
setProgressResult(st)
Set a message that indicates that a long-running (progress) task is complete.
- Parameters:
- {String|dojoError|orionError} st
- The error to display. Can be a simple String, or an error object from a dojo XHR error callback, or the body of an error response from the Orion server.
showWhile(deferred, message)
Shows a progress message until the given deferred is resolved. Returns a deferred that resolves when
the operation completes.
- Parameters:
- deferred
- message