@wcardinal/wcardinal-geditor
Version:
WebGL-based graphic editor, tester and viewer for supervisory systems
21 lines • 979 B
JavaScript
import { __extends } from "tslib";
import { EToolSelectSelectionUpdatedPart } from "../tool/e-tool-select-selection-updated-part";
import { ECommandShapePropertySimple } from "./e-command-shape-property-simple";
var ECommandShapePropertyId = /** @class */ (function (_super) {
__extends(ECommandShapePropertyId, _super);
function ECommandShapePropertyId() {
return _super !== null && _super.apply(this, arguments) || this;
}
ECommandShapePropertyId.prototype.getProperty = function (shape, capability) {
return shape.id;
};
ECommandShapePropertyId.prototype.setProperty = function (shape, capability, property) {
shape.id = property;
};
ECommandShapePropertyId.prototype.getParts = function () {
return EToolSelectSelectionUpdatedPart.PROPERTY_ID;
};
return ECommandShapePropertyId;
}(ECommandShapePropertySimple));
export { ECommandShapePropertyId };
//# sourceMappingURL=e-command-shape-property-id.js.map