UNPKG

@wcardinal/wcardinal-geditor

Version:

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

142 lines 6.55 kB
import { DThemes, EShapeType } from "@wcardinal/wcardinal-ui"; import { iconBuilder } from "./f-icon-builder"; var FThemeDefaultGraphicEditor = /** @class */ (function () { function FThemeDefaultGraphicEditor() { this._shapeType = DThemes.get("FShapeType"); } FThemeDefaultGraphicEditor.prototype.getToolFileButtonTheme = function () { return "EButtonToolFile"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonCreateShortcut = function () { return "Ctrl+M"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonOpenShortcut = function () { return "Ctrl+O"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonSaveShortcut = function () { return "Ctrl+S"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonSaveAsShortcut = function () { return "Ctrl+Shift+S"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonUploadShortcut = function () { return "Ctrl+U"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonDownloadShortcut = function () { return "Ctrl+Shift+U"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonUndoShortcut = function () { return "Ctrl+Z"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonRedoShortcut = function () { return "Ctrl+Y"; }; FThemeDefaultGraphicEditor.prototype.getToolFileButtonDeleteShortcut = function () { return "Ctrl+E"; }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonTheme = function () { return "EButtonToolShape"; }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonCircleTitle = function () { return this._shapeType.getLabel(EShapeType.CIRCLE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonSemicircleTitle = function () { return this._shapeType.getLabel(EShapeType.SEMICIRCLE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonRectangleTitle = function () { return this._shapeType.getLabel(EShapeType.RECTANGLE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonRectangleRoundedTitle = function () { return this._shapeType.getLabel(EShapeType.RECTANGLE_ROUNDED); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonTriangleTitle = function () { return this._shapeType.getLabel(EShapeType.TRIANGLE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonTriangleRoundedTitle = function () { return this._shapeType.getLabel(EShapeType.TRIANGLE_ROUNDED); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonLineTitle = function () { return this._shapeType.getLabel(EShapeType.LINE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonLineConnectorTitle = function () { return this._shapeType.getLabel(EShapeType.CONNECTOR_LINE); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonElbowConnectorTitle = function () { return this._shapeType.getLabel(EShapeType.CONNECTOR_ELBOW); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonImageTitle = function () { return "".concat(this._shapeType.getLabel(EShapeType.IMAGE), "..."); }; FThemeDefaultGraphicEditor.prototype.getToolShapeButtonGraphicPieceTitle = function () { return "".concat(this._shapeType.getLabel(EShapeType.EMBEDDED), "..."); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonTheme = function () { return "EButtonEditor"; }; FThemeDefaultGraphicEditor.prototype.getEditorButtonCoordinateTitle = function () { return DThemes.get("EEditorCoordinate").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonShapeTitle = function () { return DThemes.get("EEditorShape").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonTextTitle = function () { return DThemes.get("EEditorText").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonDataTitle = function () { return DThemes.get("EEditorData").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonDataMappingTitle = function () { return DThemes.get("EEditorDataMapping").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonActionTitle = function () { return DThemes.get("EEditorAction").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonTreeTitle = function () { return DThemes.get("EEditorTree").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonLayerTitle = function () { return DThemes.get("EEditorLayer").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonSnapTitle = function () { return DThemes.get("EEditorSnap").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonValidationTitle = function () { return DThemes.get("EEditorValidation").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonSearchTitle = function () { return DThemes.get("EEditorSearch").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getEditorButtonCanvasLegacyTitle = function () { return DThemes.get("EEditorCanvasLegacy").getLabel(); }; FThemeDefaultGraphicEditor.prototype.getViewButtonTheme = function () { return "EButtonView"; }; FThemeDefaultGraphicEditor.prototype.getViewButtonZoomOutShortcut = function () { return "Ctrl+Alt+Minus"; }; FThemeDefaultGraphicEditor.prototype.getViewButtonZoomInShortcut = function () { return "Ctrl+Alt+Plus"; }; FThemeDefaultGraphicEditor.prototype.getViewButtonZoomInShortcuts = function () { return ["Ctrl+Alt+;", "Ctrl+Alt+Shift+Plus"]; }; FThemeDefaultGraphicEditor.prototype.getViewButtonDragAndPinchShortcut = function () { return "Ctrl+Alt+D"; }; FThemeDefaultGraphicEditor.prototype.getViewButtonResetShortcut = function () { return "Ctrl+Alt+R"; }; FThemeDefaultGraphicEditor.prototype.getViewButtonFitShortcut = function () { return "Ctrl+Alt+F"; }; FThemeDefaultGraphicEditor.prototype.getIconBuilder = function () { return iconBuilder; }; FThemeDefaultGraphicEditor.prototype.getMargin = function () { return 8; }; return FThemeDefaultGraphicEditor; }()); export { FThemeDefaultGraphicEditor }; //# sourceMappingURL=f-theme-default-graphic-editor.js.map