UNPKG

@wcardinal/wcardinal-geditor

Version:

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

23 lines 1.08 kB
import { __extends } from "tslib"; import { EShapeButton } from "@wcardinal/wcardinal-ui"; import { ECommandShapePropertySimple } from "../../command/e-command-shape-property-simple"; var ECommandShapeButtonPropertyIsGrouped = /** @class */ (function (_super) { __extends(ECommandShapeButtonPropertyIsGrouped, _super); function ECommandShapeButtonPropertyIsGrouped() { return _super !== null && _super.apply(this, arguments) || this; } ECommandShapeButtonPropertyIsGrouped.prototype.getProperty = function (shape, capability) { if (shape instanceof EShapeButton) { return shape.isGrouped; } return false; }; ECommandShapeButtonPropertyIsGrouped.prototype.setProperty = function (shape, capability, property) { if (shape instanceof EShapeButton) { shape.isGrouped = property; } }; return ECommandShapeButtonPropertyIsGrouped; }(ECommandShapePropertySimple)); export { ECommandShapeButtonPropertyIsGrouped }; //# sourceMappingURL=e-command-shape-button-property-is-grouped.js.map