# Source: editor/ShowAlertEvent.js

    /**
     * {@link XMLEditorEvent} sent by the server when an alert dialog box
     * needs to be displayed.
     */
    export class ShowAlertEvent extends XMLEditorEvent {
        constructor(xmlEditor, data) {
            super(xmlEditor, data, "showAlert");
        }

        /**
         * Get the <code>messageType</code> property of this event:
         * "error", "warning" or "info".
         *
         * @type {string}
         */
        get messageType() {
            return this._messageType;
        }

        /**
         * Get the <code>message</code> property of this event:
         * the message to be displayed by the alert dialog box.
         *
         * @type {string}
         */
        get message() {
            return this._message;
        }
    }