UNPKG

@wcardinal/wcardinal-geditor

Version:

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

23 lines 1.23 kB
import { __extends } from "tslib"; import { EShapeAcceptorEdgeSide, EShapeEmbeddedAcceptorEdge } from "@wcardinal/wcardinal-ui"; import { ECommandShapePropertySimple } from "../../command/e-command-shape-property-simple"; var ECommandShapeEmbeddedAcceptorEdgePropertySide = /** @class */ (function (_super) { __extends(ECommandShapeEmbeddedAcceptorEdgePropertySide, _super); function ECommandShapeEmbeddedAcceptorEdgePropertySide() { return _super !== null && _super.apply(this, arguments) || this; } ECommandShapeEmbeddedAcceptorEdgePropertySide.prototype.getProperty = function (shape, capability) { if (shape instanceof EShapeEmbeddedAcceptorEdge) { return shape.side; } return EShapeAcceptorEdgeSide.NONE; }; ECommandShapeEmbeddedAcceptorEdgePropertySide.prototype.setProperty = function (shape, capability, property) { if (shape instanceof EShapeEmbeddedAcceptorEdge) { shape.side = property; } }; return ECommandShapeEmbeddedAcceptorEdgePropertySide; }(ECommandShapePropertySimple)); export { ECommandShapeEmbeddedAcceptorEdgePropertySide }; //# sourceMappingURL=e-command-shape-embedded-acceptor-edge-property-side.js.map