"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockUndoRedo = void 0;
exports.makeMockUndoRedo = makeMockUndoRedo;
const UndoRedoEntity_1 = require("../Entities/UndoRedoEntity");
class MockUndoRedo extends UndoRedoEntity_1.UndoRedoEntity {
    get hasUndo() {
        throw new Error("Method not implemented.");
    }
    get hasRedo() {
        throw new Error("Method not implemented.");
    }
    constructor(appObject) {
        super(appObject, UndoRedoEntity_1.UndoRedoEntity.type);
        this.submitAction = () => { };
        this.doUndo = () => { };
        this.doRedo = () => { };
        this.clearStack = () => { };
    }
}
exports.MockUndoRedo = MockUndoRedo;
function makeMockUndoRedo(appObjects) {
    return new MockUndoRedo(appObjects.getOrCreate("MockUndoRedo"));
}
//# sourceMappingURL=MockUndoRedo.js.map