Skip to main content
Version: v1

SharedSegmentSequenceUndoRedoHandler Class

A shared segment sequence undo redo handler that will add all local sequences changes to the provided undo redo stack manager

Signature​

export declare class SharedSegmentSequenceUndoRedoHandler

Constructors​

ConstructorDescription
(constructor)(stackManager)Constructs a new instance of the SharedSegmentSequenceUndoRedoHandler class

Methods​

MethodReturn TypeDescription
attachSequence(sequence)void
detachSequence(sequence)void

Constructor Details​

(constructor)​

Constructs a new instance of the SharedSegmentSequenceUndoRedoHandler class

Signature​

constructor(stackManager: UndoRedoStackManager);

Parameters​

ParameterTypeDescription
stackManagerUndoRedoStackManager

Method Details​

attachSequence​

Signature​

attachSequence<T extends ISegment>(sequence: SharedSegmentSequence<T>): void;
Type Parameters​
ParameterConstraintDescription
TISegment

Parameters​

ParameterTypeDescription
sequenceSharedSegmentSequence<T>

detachSequence​

Signature​

detachSequence<T extends ISegment>(sequence: SharedSegmentSequence<T>): void;
Type Parameters​
ParameterConstraintDescription
TISegment

Parameters​

ParameterTypeDescription
sequenceSharedSegmentSequence<T>