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
Constructor | Description |
---|---|
(constructor)(stackManager) | Constructs a new instance of the SharedMapUndoRedoHandler class |
Methods
Method | Return Type | Description |
---|---|---|
attachMap(map) | void | |
detachMap(map) | void |
Constructor Details
(constructor)
Constructs a new instance of the SharedMapUndoRedoHandler
class
Signature
constructor(stackManager: UndoRedoStackManager);
Parameters
Parameter | Type | Description |
---|---|---|
stackManager | UndoRedoStackManager |
Method Details
attachMap
Signature
attachMap(map: ISharedMap): void;
Parameters
Parameter | Type | Description |
---|---|---|
map | ISharedMap |
detachMap
Signature
detachMap(map: ISharedMap): void;
Parameters
Parameter | Type | Description |
---|---|---|
map | ISharedMap |