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
| Constructor | Description |
|---|---|
| (constructor)(stackManager) | Constructs a new instance of the SharedSegmentSequenceUndoRedoHandler class |
Methods
| Method | Return Type | Description |
|---|---|---|
| attachSequence(sequence) | void | |
| detachSequence(sequence) | void |
Constructor Details
(constructor)
Constructs a new instance of the SharedSegmentSequenceUndoRedoHandler class
Signature
constructor(stackManager: UndoRedoStackManager);
Parameters
| Parameter | Type | Description |
|---|---|---|
| stackManager | UndoRedoStackManager |
Method Details
attachSequence
Signature
attachSequence<T extends ISegment>(sequence: SharedSegmentSequence<T>): void;
Type Parameters
| Parameter | Constraint | Description |
|---|---|---|
| T | ISegment |
Parameters
| Parameter | Type | Description |
|---|---|---|
| sequence | SharedSegmentSequence<T> |
detachSequence
Signature
detachSequence<T extends ISegment>(sequence: SharedSegmentSequence<T>): void;
Type Parameters
| Parameter | Constraint | Description |
|---|---|---|
| T | ISegment |
Parameters
| Parameter | Type | Description |
|---|---|---|
| sequence | SharedSegmentSequence<T> |