@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
23 lines • 1.23 kB
JavaScript
import { __extends } from "tslib";
import { EShapeEmbeddedAcceptorEdge } from "@wcardinal/wcardinal-ui";
import { ECommandShapePropertySimple } from "../../command/e-command-shape-property-simple";
var ECommandShapeEmbeddedAcceptorEdgePropertyVvisible = /** @class */ (function (_super) {
__extends(ECommandShapeEmbeddedAcceptorEdgePropertyVvisible, _super);
function ECommandShapeEmbeddedAcceptorEdgePropertyVvisible() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapeEmbeddedAcceptorEdgePropertyVvisible.prototype.getProperty = function (shape, capability) {
if (shape instanceof EShapeEmbeddedAcceptorEdge) {
return shape.vvisible;
}
return false;
};
ECommandShapeEmbeddedAcceptorEdgePropertyVvisible.prototype.setProperty = function (shape, capability, property) {
if (shape instanceof EShapeEmbeddedAcceptorEdge) {
shape.vvisible = property;
}
};
return ECommandShapeEmbeddedAcceptorEdgePropertyVvisible;
}(ECommandShapePropertySimple));
export { ECommandShapeEmbeddedAcceptorEdgePropertyVvisible };
//# sourceMappingURL=e-command-shape-embedded-acceptor-edge-property-vvisible.js.map