UNPKG

@wcardinal/wcardinal-geditor

Version:

WebGL-based graphic editor, tester and viewer for supervisory systems

31 lines 1.03 kB
import { __extends } from "tslib"; import { DCommandCreate } from "@wcardinal/wcardinal-ui"; var ECommandDocumentOpen = /** @class */ (function (_super) { __extends(ECommandDocumentOpen, _super); function ECommandDocumentOpen(diagram, canvas) { var _this = _super.call(this) || this; _this._diagram = diagram; _this._canvas = canvas; return _this; } Object.defineProperty(ECommandDocumentOpen.prototype, "diagram", { get: function () { return this._diagram; }, enumerable: false, configurable: true }); Object.defineProperty(ECommandDocumentOpen.prototype, "canvas", { get: function () { return this._canvas; }, enumerable: false, configurable: true }); ECommandDocumentOpen.prototype.execute = function () { return true; }; return ECommandDocumentOpen; }(DCommandCreate)); export { ECommandDocumentOpen }; //# sourceMappingURL=e-command-document-open.js.map