@finos/legend-extension-dsl-diagram
Version:
Legend extension for Diagram DSL
62 lines • 3.08 kB
JavaScript
/**
* Copyright (c) 2020-present, Goldman Sachs
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export var DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY;
(function (DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY) {
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["RECENTER"] = "dsl-diagram.diagram-editor.recenter";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_ZOOM_TOOL"] = "dsl-diagram.diagram-editor.use-zoom-tool";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_VIEW_TOOL"] = "dsl-diagram.diagram-editor.use-view-tool";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_PAN_TOOL"] = "dsl-diagram.diagram-editor.use-pan-tool";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_PROPERTY_TOOL"] = "dsl-diagram.diagram-editor.use-property-tool";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_INHERITANCE_TOOL"] = "dsl-diagram.diagram-editor.use-inheritance-tool";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["ADD_CLASS"] = "dsl-diagram.diagram-editor.add-class";
DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["EJECT_PROPERTY"] = "dsl-diagram.diagram-editor.eject-property";
})(DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY || (DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY = {}));
export const DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_CONFIG = {
[]: {
title: 'Diagram Editor: Recenter',
defaultKeyboardShortcut: 'KeyR',
},
[]: {
title: 'Diagram Editor: Use zoom tool',
defaultKeyboardShortcut: 'KeyZ',
},
[]: {
title: 'Diagram Editor: Use view tool',
defaultKeyboardShortcut: 'KeyV',
},
[]: {
title: 'Diagram Editor: Use pan tool',
defaultKeyboardShortcut: 'KeyM',
},
[]: {
title: 'Diagram Editor: Use property tool',
defaultKeyboardShortcut: 'KeyP',
},
[]: {
title: 'Diagram Editor: Use inheritance tool',
defaultKeyboardShortcut: 'KeyI',
},
[]: {
title: 'Diagram Editor: Add class',
defaultKeyboardShortcut: 'KeyC',
},
[]: {
title: 'Diagram Editor: Eject Property',
defaultKeyboardShortcut: 'ArrowRight',
when: 'When hovering on a class property',
},
};
//# sourceMappingURL=DSL_Diagram_LegendStudioCommand.js.map