Class UndoableCommandAbstract

The base class for undoable UI commands.

Hierarchy

Implements

Constructors

Properties

status: CmdStatus

The state of the command.

Methods

  • Actions may need to create a memento before their first execution. This is the goal of the operation that should be overridden. This operator is called a single time before the first execution of the command.

    Returns void

  • This method contains the statements to execute the command. This method is automatically called by 'execute' and must not be called explicitly.

    Returns void | Promise<void>

Generated using TypeDoc