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