SystemStatusApi

View as Markdown

Provides access to System Status Module and associated state

TypeScript
export interface

Methods

MethodReturnsDescription
deleteAllSystemStatusMessages()voidDeletes all System Status messages
getCurrentSystemStatusMessageInfo()SystemStatusMessageInfo | undefinedThe System Status message currently on display.
openSystemStatusSettingsPanel()voidOpens Settings Panel with System Status section selected and visible
setErrorSystemStatus(statusMessage, furtherInformation)voidSets an Error System Status message.
setInfoSystemStatus(statusMessage, furtherInformation)voidSets an Info System Status message.
setSuccessSystemStatus(statusMessage, furtherInformation)voidSets a Success System Status message.
setSystemStatus(statusMessage, messageType, statusFurtherInformation)voidSets the System Status message shown in the System Status toolbar, tool panel and popup.
setWarningSystemStatus(statusMessage, furtherInformation)voidSets 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
ParameterTypeDescription
statusMessagestringText of the message
furtherInformationstringOptional longer text shown with the message
Returns

void

setInfoSystemStatus

Sets an Info System Status message.

TypeScript
setInfoSystemStatus(statusMessage: string, furtherInformation?: string): void;
Parameters
ParameterTypeDescription
statusMessagestringText of the message
furtherInformationstringOptional longer text shown with the message
Returns

void

setSuccessSystemStatus

Sets a Success System Status message.

TypeScript
setSuccessSystemStatus(statusMessage: string, furtherInformation?: string): void;
Parameters
ParameterTypeDescription
statusMessagestringText of the message
furtherInformationstringOptional 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
ParameterTypeDescription
statusMessagestringText of the message
messageType'Success' | 'Info' | 'Warning' | 'Error'Success, Info, Warning or Error. Sets the colour of the message
statusFurtherInformationstringOptional longer text shown with the message
Returns

void

setWarningSystemStatus

Sets a Warning System Status message.

TypeScript
setWarningSystemStatus(statusMessage: string, furtherInformation?: string): void;
Parameters
ParameterTypeDescription
statusMessagestringText of the message
furtherInformationstringOptional longer text shown with the message
Returns

void