SystemStatusApi
Provides access to System Status Module and associated state
TypeScript
export interfaceMethods
| Method | Returns | Description |
|---|---|---|
| deleteAllSystemStatusMessages() | void | Deletes all System Status messages |
| getCurrentSystemStatusMessageInfo() | SystemStatusMessageInfo | undefined | The System Status message currently on display. |
| openSystemStatusSettingsPanel() | void | Opens Settings Panel with System Status section selected and visible |
| setErrorSystemStatus(statusMessage, furtherInformation) | void | Sets an Error System Status message. |
| setInfoSystemStatus(statusMessage, furtherInformation) | void | Sets an Info System Status message. |
| setSuccessSystemStatus(statusMessage, furtherInformation) | void | Sets a Success System Status message. |
| setSystemStatus(statusMessage, messageType, statusFurtherInformation) | void | Sets the System Status message shown in the System Status toolbar, tool panel and popup. |
| setWarningSystemStatus(statusMessage, furtherInformation) | void | Sets a Warning System Status message. |
Method Details
deleteAllSystemStatusMessages
Deletes all System Status messages
TypeScript
deleteAllSystemStatusMessages(): void;Returns
void
getCurrentSystemStatusMessageInfo
The System Status message currently on display.
TypeScript
getCurrentSystemStatusMessageInfo(): SystemStatusMessageInfo | undefined;Returns
The current message, or undefined when none is set
SystemStatusMessageInfo | undefined
openSystemStatusSettingsPanel
Opens Settings Panel with System Status section selected and visible
TypeScript
openSystemStatusSettingsPanel(): void;Returns
void
setErrorSystemStatus
Sets an Error System Status message.
TypeScript
setErrorSystemStatus(statusMessage: string, furtherInformation?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| statusMessage | string | Text of the message |
| furtherInformation | string | Optional longer text shown with the message |
Returns
void
setInfoSystemStatus
Sets an Info System Status message.
TypeScript
setInfoSystemStatus(statusMessage: string, furtherInformation?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| statusMessage | string | Text of the message |
| furtherInformation | string | Optional longer text shown with the message |
Returns
void
setSuccessSystemStatus
Sets a Success System Status message.
TypeScript
setSuccessSystemStatus(statusMessage: string, furtherInformation?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| statusMessage | string | Text of the message |
| furtherInformation | string | Optional longer text shown with the message |
Returns
void
setSystemStatus
Sets the System Status message shown in the System Status toolbar, tool panel and popup.
TypeScript
setSystemStatus(statusMessage: string, messageType: 'Success' | 'Info' | 'Warning' | 'Error', statusFurtherInformation?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| statusMessage | string | Text of the message |
| messageType | 'Success' | 'Info' | 'Warning' | 'Error' | Success, Info, Warning or Error. Sets the colour of the message |
| statusFurtherInformation | string | Optional longer text shown with the message |
Returns
void
setWarningSystemStatus
Sets a Warning System Status message.
TypeScript
setWarningSystemStatus(statusMessage: string, furtherInformation?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
| statusMessage | string | Text of the message |
| furtherInformation | string | Optional longer text shown with the message |
Returns
void