@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
31 lines • 1.04 kB
JavaScript
import { __extends } from "tslib";
import { DCommandCreate } from "@wcardinal/wcardinal-ui";
var ECommandDocumentCreate = /** @class */ (function (_super) {
__extends(ECommandDocumentCreate, _super);
function ECommandDocumentCreate(diagram, canvas) {
var _this = _super.call(this) || this;
_this._diagram = diagram;
_this._canvas = canvas;
return _this;
}
Object.defineProperty(ECommandDocumentCreate.prototype, "diagram", {
get: function () {
return this._diagram;
},
enumerable: false,
configurable: true
});
Object.defineProperty(ECommandDocumentCreate.prototype, "canvas", {
get: function () {
return this._canvas;
},
enumerable: false,
configurable: true
});
ECommandDocumentCreate.prototype.execute = function () {
return true;
};
return ECommandDocumentCreate;
}(DCommandCreate));
export { ECommandDocumentCreate };
//# sourceMappingURL=e-command-document-create.js.map