Documentation - v1.5.3
    Preparing search index...

    Class representing a create undo action.

    This class extends UndoAction and implements the callback method to add a block to the TokenManager.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    type: string = UndoAction.CreateAction

    The type of the undo action, set to 'create'.

    CreateAction: string = 'create'
    DeleteAction: string = 'remove'
    OverlappingAction: string = 'overlapping'
    UpdateAction: string = 'update'

    Methods

    • Callback method to be implemented by subclasses.

      Parameters

      • tokenManager: TokenManager

        The TokenManager instance to apply the undo action to.

      Returns void

      This method is called when the undo action is executed, allowing subclasses to define their specific behavior.