A manager for saving actions that change the model with capabilities to undo operations.

Hierarchy (View Summary)

Constructors

Properties

Methods

  • Returns void

  • Parameters

    • groupIds: string[]

    Returns boolean

  • Parameters

    • groupId: string

    Returns boolean

  • Parameters

    • actions: Action[]
    • groupId: string

    Returns Action[]

  • Returns string[]

  • Parameters

    Returns undefined | false

  • Parameters

    • stack: Action[]
    • groupId: string

    Returns boolean

  • Parameters

    Returns void

  • Parameters

    • action: Action
    • __namedParameters: { supportRedo: boolean } = ...

    Returns undefined | false

  • Parameters

    Returns boolean

  • Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Parameters

    Returns boolean

  • Returns void

  • clear all the groups of list of actions then clear all the groups

    Parameters

    • actions: Action[]

      list of actions

    Returns void

  • Returns void

  • Parameters

    • id: string

    Returns Action

  • Parameters

    • groupId: string
    • includeRedo: boolean = false

    Returns Action[]

  • Parameters

    Returns string[]

  • Returns null | BBox

  • Returns boolean

  • Returns boolean

  • redo entire group by id

    Parameters

    • groupId: string

      group id to redo

    Returns void

  • redo group action and make sure that all actions before it in the same group are restored

    Parameters

    Returns number

    number of restored actions

  • Returns void

  • Parameters

    • isSavingEnabled: boolean

    Returns void

  • Returns boolean

  • Returns void

  • undo entire group by id

    Parameters

    • groupId: string

      group id to revert

    Returns void

  • undo group action and make sure that all actions after it in the same group are reverted

    Parameters

    Returns number

    number of reverted actions

  • Returns number