Sign up (with export icon)

NoOperation

Api-class iconclass

Operation which is doing nothing ("empty operation", "do-nothing operation", "noop"). This is an operation, which when executed does not change the tree model. It still has some parameters defined for transformation purposes.

In most cases this operation is a result of transforming operations. When transformation returns NoOperation it means that changes done by the transformed operation have already been applied.

Properties

Static properties

  • Chevron-right icon

    className : string
    readonlystatic

    Name of the operation class used for serialization.

Methods

Static methods

  • Chevron-right icon

    fromJSON( json, document ) → Operation
    inheritedstatic

    Creates Operation object from deserialized object, i.e. from parsed JSON string.

    Parameters

    json : any

    Deserialized JSON object.

    document : ModelDocument

    Document on which this operation will be applied.

    Returns

    Operation