An action for creating a new object in the model.

Type Parameters

Hierarchy (View Summary)

Constructors

Properties

actionName: ACTION_NAME = ACTION_NAME.CREATE_OBJECT

Action name must be unique for every action. Once you set a value, do not change it later on.

Methods

  • Abstract: Should be implemented by subclasses with the logics of the action.

    Parameters

    Returns boolean

  • called immediately after the do action, and keep the description fixed so it wont change later on.

    Parameters

    Returns void

  • Return list of features to show their ids and allow them to be focused on Please note that it might be different from the getAffectedUniqueIds list

    Parameters

    Returns [T]

    of features

  • Returns string

  • Returns T

  • Returns boolean

  • Abstract: Should be implemented by subclasses with the logics of re-do, only if undo is supported.

    Parameters

    Returns void

  • Parameters

    • timestamp: number

    Returns void

  • Abstract: Should be implemented by subclasses with the undo logics of the action, if it is supported.

    Parameters

    Returns void