UNPKG

@wcardinal/wcardinal-geditor

Version:

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

59 lines 2.83 kB
import { __extends } from "tslib"; import { DThemes, EShapeType } from "@wcardinal/wcardinal-ui"; import { EThemeDefaultEditorPane } from "./e-theme-default-editor-pane"; var EThemeDefaultEditorShape = /** @class */ (function (_super) { __extends(EThemeDefaultEditorShape, _super); function EThemeDefaultEditorShape() { var _this = _super.call(this) || this; _this._shapeType = DThemes.get("FShapeType"); return _this; } EThemeDefaultEditorShape.prototype.getButtonCircleTitle = function () { return this._shapeType.getLabel(EShapeType.CIRCLE); }; EThemeDefaultEditorShape.prototype.getButtonSemicircleTitle = function () { return this._shapeType.getLabel(EShapeType.SEMICIRCLE); }; EThemeDefaultEditorShape.prototype.getButtonRectangleTitle = function () { return this._shapeType.getLabel(EShapeType.RECTANGLE); }; EThemeDefaultEditorShape.prototype.getButtonRectangleRoundedTitle = function () { return this._shapeType.getLabel(EShapeType.RECTANGLE_ROUNDED); }; EThemeDefaultEditorShape.prototype.getButtonTriangleTitle = function () { return this._shapeType.getLabel(EShapeType.TRIANGLE); }; EThemeDefaultEditorShape.prototype.getButtonTriangleRoundedTitle = function () { return this._shapeType.getLabel(EShapeType.TRIANGLE_ROUNDED); }; EThemeDefaultEditorShape.prototype.getButtonLineTitle = function () { return this._shapeType.getLabel(EShapeType.LINE); }; EThemeDefaultEditorShape.prototype.getButtonLineConnectorTitle = function () { return this._shapeType.getLabel(EShapeType.CONNECTOR_LINE); }; EThemeDefaultEditorShape.prototype.getButtonElbowConnectorTitle = function () { return this._shapeType.getLabel(EShapeType.CONNECTOR_ELBOW); }; EThemeDefaultEditorShape.prototype.getButtonImageTitle = function () { return "".concat(this._shapeType.getLabel(EShapeType.IMAGE), "..."); }; EThemeDefaultEditorShape.prototype.getButtonGraphicPieceTitle = function () { return "".concat(this._shapeType.getLabel(EShapeType.EMBEDDED), "..."); }; EThemeDefaultEditorShape.prototype.getButtonGroupShortcut = function () { return "Ctrl+G"; }; EThemeDefaultEditorShape.prototype.getButtonUngroupShortcut = function () { return "Ctrl+Shift+G"; }; EThemeDefaultEditorShape.prototype.getSelectLineHeadTypeLabel = function (type) { return this.getSelectLineTailTypeLabel(type); }; EThemeDefaultEditorShape.prototype.getInputLineHeadMarginLabel = function () { return this.getInputLineTailMarginLabel(); }; return EThemeDefaultEditorShape; }(EThemeDefaultEditorPane)); export { EThemeDefaultEditorShape }; //# sourceMappingURL=e-theme-default-editor-shape.js.map