Skip to main content
Version: v1

SharedMapUndoRedoHandler Class

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

Signature

export declare class SharedMapUndoRedoHandler

Constructors

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

Methods

MethodReturn TypeDescription
attachMap(map)void
detachMap(map)void

Constructor Details

(constructor)

Constructs a new instance of the SharedMapUndoRedoHandler class

Signature

constructor(stackManager: UndoRedoStackManager);

Parameters

ParameterTypeDescription
stackManagerUndoRedoStackManager

Method Details

attachMap

Signature

attachMap(map: ISharedMap): void;

Parameters

ParameterTypeDescription
mapISharedMap

detachMap

Signature

detachMap(map: ISharedMap): void;

Parameters

ParameterTypeDescription
mapISharedMap