@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
20 lines • 927 B
JavaScript
import { __extends } from "tslib";
import { ECommandShapePropertySimple } from "./e-command-shape-property-simple";
var ECommandShapePropertyTextValue = /** @class */ (function (_super) {
__extends(ECommandShapePropertyTextValue, _super);
function ECommandShapePropertyTextValue() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyTextValue.prototype.getProperty = function (shape, capability) {
return shape.text.value;
};
ECommandShapePropertyTextValue.prototype.setProperty = function (shape, capability, property) {
shape.text.value = property;
};
ECommandShapePropertyTextValue.prototype.isMergeable = function () {
return true;
};
return ECommandShapePropertyTextValue;
}(ECommandShapePropertySimple));
export { ECommandShapePropertyTextValue };
//# sourceMappingURL=e-command-shape-property-text-value.js.map