@finos/legend-extension-dsl-diagram 7.0.2 → 7.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/lib/{DSL_Diagram_DiagramRenderer.d.ts → DiagramRenderer.d.ts} +10 -2
  2. package/lib/DiagramRenderer.d.ts.map +1 -0
  3. package/lib/{DSL_Diagram_DiagramRenderer.js → DiagramRenderer.js} +64 -66
  4. package/lib/DiagramRenderer.js.map +1 -0
  5. package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.d.ts +2 -0
  6. package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.d.ts.map +1 -1
  7. package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.js +5 -0
  8. package/lib/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.js.map +1 -1
  9. package/lib/components/studio/DSL_Diagram_LegendStudioCommand.d.ts +28 -0
  10. package/lib/components/studio/DSL_Diagram_LegendStudioCommand.d.ts.map +1 -0
  11. package/lib/components/studio/DSL_Diagram_LegendStudioCommand.js +62 -0
  12. package/lib/components/studio/DSL_Diagram_LegendStudioCommand.js.map +1 -0
  13. package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
  14. package/lib/components/studio/DiagramEditor.js +13 -11
  15. package/lib/components/studio/DiagramEditor.js.map +1 -1
  16. package/lib/components/studio/InheritanceDiagramRenderer.d.ts +1 -1
  17. package/lib/components/studio/InheritanceDiagramRenderer.d.ts.map +1 -1
  18. package/lib/components/studio/InheritanceDiagramRenderer.js +1 -1
  19. package/lib/components/studio/InheritanceDiagramRenderer.js.map +1 -1
  20. package/lib/index.css +1 -1
  21. package/lib/index.d.ts +1 -1
  22. package/lib/index.d.ts.map +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/index.js.map +1 -1
  25. package/lib/package.json +4 -4
  26. package/lib/stores/studio/DiagramEditorState.d.ts +5 -4
  27. package/lib/stores/studio/DiagramEditorState.d.ts.map +1 -1
  28. package/lib/stores/studio/DiagramEditorState.js +59 -62
  29. package/lib/stores/studio/DiagramEditorState.js.map +1 -1
  30. package/package.json +11 -11
  31. package/src/{DSL_Diagram_DiagramRenderer.ts → DiagramRenderer.ts} +108 -101
  32. package/src/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.tsx +12 -1
  33. package/src/components/studio/DSL_Diagram_LegendStudioCommand.ts +64 -0
  34. package/src/components/studio/DiagramEditor.tsx +23 -18
  35. package/src/components/studio/InheritanceDiagramRenderer.ts +1 -1
  36. package/src/index.ts +1 -1
  37. package/src/stores/studio/DiagramEditorState.ts +76 -83
  38. package/tsconfig.json +2 -1
  39. package/lib/DSL_Diagram_DiagramRenderer.d.ts.map +0 -1
  40. package/lib/DSL_Diagram_DiagramRenderer.js.map +0 -1
@@ -186,7 +186,7 @@ export declare class DiagramRenderer {
186
186
  /**
187
187
  * Reset the screen offset
188
188
  */
189
- private recenter;
189
+ private center;
190
190
  changeMode(editMode: DIAGRAM_INTERACTION_MODE, relationshipMode: DIAGRAM_RELATIONSHIP_EDIT_MODE): void;
191
191
  align(op: ALIGNER_OPERATOR): void;
192
192
  truncateTextWithEllipsis(val: string, limit?: number): string;
@@ -234,6 +234,14 @@ export declare class DiagramRenderer {
234
234
  * Shift relationship views if both ends' classviews are moved.
235
235
  */
236
236
  private potentiallyShiftRelationships;
237
+ recenter(): void;
238
+ switchToZoomMode(): void;
239
+ switchToViewMode(): void;
240
+ switchToPanMode(): void;
241
+ switchToAddPropertyMode(): void;
242
+ switchToAddInheritanceMode(): void;
243
+ switchToAddClassMode(): void;
244
+ ejectProperty(): void;
237
245
  keydown(e: KeyboardEvent): void;
238
246
  mouseup(e: MouseEvent): void;
239
247
  mousedblclick(e: MouseEvent): void;
@@ -243,4 +251,4 @@ export declare class DiagramRenderer {
243
251
  getSuperTypeLevels(classViews: ClassView[], diagram: Diagram, currentDepth: number, recurseMaxDepth: number): ClassView[][];
244
252
  layoutTaxonomy(classViewLevels: ClassView[][], diagram: Diagram, positionInitialClass: boolean, superType: boolean): [ClassView[], GeneralizationView[]];
245
253
  }
246
- //# sourceMappingURL=DSL_Diagram_DiagramRenderer.d.ts.map
254
+ //# sourceMappingURL=DiagramRenderer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagramRenderer.d.ts","sourceRoot":"","sources":["../src/DiagramRenderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAYH,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,EAcN,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2EAA2E,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AACjH,OAAO,EAAE,KAAK,EAAE,MAAM,kFAAkF,CAAC;AACzG,OAAO,EAAE,mBAAmB,EAAE,MAAM,gGAAgG,CAAC;AACrI,OAAO,EAAE,SAAS,EAAE,MAAM,6EAA6E,CAAC;AACxG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sFAAsF,CAAC;AAC/H,OAAO,EAAE,kBAAkB,EAAE,MAAM,sFAAsF,CAAC;AAC1H,OAAO,EAAE,gBAAgB,EAAE,MAAM,oFAAoF,CAAC;AA0CtH,oBAAY,wBAAwB;IAClC,MAAM,IAAA;IACN,GAAG,IAAA;IACH,OAAO,IAAA;IACP,QAAQ,IAAA;IACR,gBAAgB,IAAA;IAChB,SAAS,IAAA;CACV;AAED,oBAAY,8BAA8B;IAExC,QAAQ,IAAA;IACR,WAAW,IAAA;IACX,IAAI,IAAA;CACL;AAED,oBAAY,gBAAgB;IAC1B,UAAU,IAAA;IACV,YAAY,IAAA;IACZ,WAAW,IAAA;IACX,SAAS,IAAA;IACT,YAAY,IAAA;IACZ,YAAY,IAAA;IACZ,kBAAkB,IAAA;IAClB,gBAAgB,IAAA;CACjB;AAID,eAAO,MAAM,mBAAmB,UAE/B,CAAC;AAKF,qBAAa,eAAe;IAC1B,OAAO,EAAE,OAAO,CAAC;IAEjB,UAAU,EAAE,OAAO,CAA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S,EAAE,SAAS,GAAG,IAAI;IAqE5D,OAAO,CAAC,aAAa;IAiLrB,OAAO,CAAC,mCAAmC;IAkD3C,OAAO,CAAC,oBAAoB;IAiH5B,OAAO,CAAC,yBAAyB;IAyFjC,OAAO,CAAC,eAAe;IAqIvB;;;OAGG;IACH,OAAO,CAAC,oBAAoB;IAW5B;;OAEG;IACH,OAAO,CAAC,6BAA6B;IAwBrC,QAAQ,IAAI,IAAI;IAchB,gBAAgB,IAAI,IAAI;IASxB,gBAAgB,IAAI,IAAI;IAOxB,eAAe,IAAI,IAAI;IAOvB,uBAAuB,IAAI,IAAI;IAS/B,0BAA0B,IAAI,IAAI;IASlC,oBAAoB,IAAI,IAAI;IAS5B,aAAa,IAAI,IAAI;IAgCrB,OAAO,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI;IAoM/B,OAAO,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IA0J5B,aAAa,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAuElC,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAsO9B,UAAU,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAM/B,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,IAAI;IAgW9B,kBAAkB,CAChB,UAAU,EAAE,SAAS,EAAE,EACvB,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,GACtB,SAAS,EAAE,EAAE;IAsChB,cAAc,CACZ,eAAe,EAAE,SAAS,EAAE,EAAE,EAC9B,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,OAAO,EAC7B,SAAS,EAAE,OAAO,GACjB,CAAC,SAAS,EAAE,EAAE,kBAAkB,EAAE,CAAC;CAmGvC"}
@@ -27,6 +27,7 @@ import { boxContains, buildBottomRightCornerBox, getBottomRightCornerPoint, getE
27
27
  import { AssociationView } from './graph/metamodel/pure/packageableElements/diagram/DSL_Diagram_AssociationView.js';
28
28
  import { class_addProperty, class_addSuperType, } from '@finos/legend-application-studio';
29
29
  import { classView_setHideProperties, classView_setHideStereotypes, classView_setHideTaggedValues, diagram_addClassView, diagram_addGeneralizationView, diagram_addPropertyView, diagram_deleteAssociationView, diagram_deleteClassView, diagram_deleteGeneralizationView, diagram_deletePropertyView, diagram_setAssociationViews, diagram_setClassViews, diagram_setGeneralizationViews, diagram_setPropertyViews, findOrBuildPoint, positionedRectangle_forceRefreshHash, positionedRectangle_setPosition, positionedRectangle_setRectangle, relationshipEdgeView_setOffsetX, relationshipEdgeView_setOffsetY, relationshipView_changePoint, relationshipView_simplifyPath, relationshipView_setPath, } from './stores/studio/DSL_Diagram_GraphModifierHelper.js';
30
+ import { forceDispatchKeyboardEvent } from '@finos/legend-application';
30
31
  export var DIAGRAM_INTERACTION_MODE;
31
32
  (function (DIAGRAM_INTERACTION_MODE) {
32
33
  DIAGRAM_INTERACTION_MODE[DIAGRAM_INTERACTION_MODE["LAYOUT"] = 0] = "LAYOUT";
@@ -395,12 +396,12 @@ export class DiagramRenderer {
395
396
  this.drawAll();
396
397
  }
397
398
  autoRecenter() {
398
- this.recenter(this.virtualScreen.position.x + this.virtualScreen.rectangle.width / 2, this.virtualScreen.position.y + this.virtualScreen.rectangle.height / 2);
399
+ this.center(this.virtualScreen.position.x + this.virtualScreen.rectangle.width / 2, this.virtualScreen.position.y + this.virtualScreen.rectangle.height / 2);
399
400
  }
400
401
  /**
401
402
  * Reset the screen offset
402
403
  */
403
- recenter(x, y) {
404
+ center(x, y) {
404
405
  this.screenOffset = new Point(-x + this.canvasCenter.x, -y + this.canvasCenter.y);
405
406
  this.refresh();
406
407
  }
@@ -1477,7 +1478,65 @@ export class DiagramRenderer {
1477
1478
  }
1478
1479
  });
1479
1480
  }
1481
+ // -------------------------------- Actions ------------------------------
1482
+ recenter() {
1483
+ if (this.selectedClasses.length !== 0) {
1484
+ const firstClass = getNullableFirstElement(this.selectedClasses);
1485
+ if (firstClass) {
1486
+ this.center(firstClass.position.x + firstClass.rectangle.width / 2, firstClass.position.y + firstClass.rectangle.height / 2);
1487
+ }
1488
+ }
1489
+ else {
1490
+ this.autoRecenter();
1491
+ }
1492
+ }
1493
+ switchToZoomMode() {
1494
+ this.changeMode(this.interactionMode !== DIAGRAM_INTERACTION_MODE.ZOOM_IN
1495
+ ? DIAGRAM_INTERACTION_MODE.ZOOM_IN
1496
+ : DIAGRAM_INTERACTION_MODE.ZOOM_OUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1497
+ }
1498
+ switchToViewMode() {
1499
+ this.changeMode(DIAGRAM_INTERACTION_MODE.LAYOUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1500
+ }
1501
+ switchToPanMode() {
1502
+ this.changeMode(DIAGRAM_INTERACTION_MODE.PAN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1503
+ }
1504
+ switchToAddPropertyMode() {
1505
+ if (!this.isReadOnly) {
1506
+ this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.PROPERTY);
1507
+ }
1508
+ }
1509
+ switchToAddInheritanceMode() {
1510
+ if (!this.isReadOnly) {
1511
+ this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.INHERITANCE);
1512
+ }
1513
+ }
1514
+ switchToAddClassMode() {
1515
+ if (!this.isReadOnly) {
1516
+ this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_CLASS, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1517
+ }
1518
+ }
1519
+ ejectProperty() {
1520
+ if (!this.isReadOnly) {
1521
+ if (this.mouseOverClassProperty) {
1522
+ if (this.mouseOverClassProperty.genericType.value.rawType instanceof Class) {
1523
+ this.addClassView(this.mouseOverClassProperty.genericType.value.rawType, this.canvasCoordinateToModelCoordinate(this.eventCoordinateToCanvasCoordinate(new Point(this.cursorPosition.x, this.cursorPosition.y))));
1524
+ }
1525
+ }
1526
+ else if (this.selectedClassProperty) {
1527
+ if (this.selectedClassProperty.property.genericType.value
1528
+ .rawType instanceof Class) {
1529
+ this.addClassView(this.selectedClassProperty.property.genericType.value.rawType, this.selectedClassProperty.selectionPoint);
1530
+ }
1531
+ this.selectedClassProperty = undefined;
1532
+ }
1533
+ }
1534
+ }
1535
+ // --------------------------------- Event handler --------------------------
1480
1536
  keydown(e) {
1537
+ // NOTE: Since <canvas> element does not bubble `keydown` event naturally, we will
1538
+ // manually do this in order to take advantage of application keyboard shortcuts service
1539
+ forceDispatchKeyboardEvent(e);
1481
1540
  // Remove selected view(s)
1482
1541
  if ('Delete' === e.key) {
1483
1542
  if (!this.isReadOnly) {
@@ -1501,7 +1560,7 @@ export class DiagramRenderer {
1501
1560
  diagram_deleteGeneralizationView(this.diagram, this.selectedInheritance);
1502
1561
  }
1503
1562
  }
1504
- this.selectedClasses = [];
1563
+ this.setSelectedClasses([]);
1505
1564
  this.drawScreen();
1506
1565
  }
1507
1566
  }
@@ -1527,50 +1586,6 @@ export class DiagramRenderer {
1527
1586
  this.handleEditClassView(this.selectedClasses[0]);
1528
1587
  }
1529
1588
  }
1530
- // Recenter
1531
- else if ('r' === e.key) {
1532
- if (this.selectedClasses.length !== 0) {
1533
- const firstClass = getNullableFirstElement(this.selectedClasses);
1534
- if (firstClass) {
1535
- this.recenter(firstClass.position.x + firstClass.rectangle.width / 2, firstClass.position.y + firstClass.rectangle.height / 2);
1536
- }
1537
- }
1538
- else {
1539
- this.autoRecenter();
1540
- }
1541
- }
1542
- // Zoom
1543
- else if ('z' === e.key) {
1544
- this.changeMode(this.interactionMode !== DIAGRAM_INTERACTION_MODE.ZOOM_IN
1545
- ? DIAGRAM_INTERACTION_MODE.ZOOM_IN
1546
- : DIAGRAM_INTERACTION_MODE.ZOOM_OUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1547
- }
1548
- // Use View Tool
1549
- else if ('v' === e.key) {
1550
- this.changeMode(DIAGRAM_INTERACTION_MODE.LAYOUT, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1551
- }
1552
- // Use Pan Tool
1553
- else if ('m' === e.key) {
1554
- this.changeMode(DIAGRAM_INTERACTION_MODE.PAN, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1555
- }
1556
- // Use Property Tool
1557
- else if ('p' === e.key) {
1558
- if (!this.isReadOnly) {
1559
- this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.PROPERTY);
1560
- }
1561
- }
1562
- // Use Inheritance Tool
1563
- else if ('i' === e.key) {
1564
- if (!this.isReadOnly) {
1565
- this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_RELATIONSHIP, DIAGRAM_RELATIONSHIP_EDIT_MODE.INHERITANCE);
1566
- }
1567
- }
1568
- // Add Class
1569
- else if ('c' === e.key) {
1570
- if (!this.isReadOnly) {
1571
- this.changeMode(DIAGRAM_INTERACTION_MODE.ADD_CLASS, DIAGRAM_RELATIONSHIP_EDIT_MODE.NONE);
1572
- }
1573
- }
1574
1589
  // Hide/show properties for selected element(s)
1575
1590
  else if (e.altKey && 'KeyP' === e.code) {
1576
1591
  if (!this.isReadOnly) {
@@ -1610,24 +1625,6 @@ export class DiagramRenderer {
1610
1625
  this.handleAddSimpleProperty(this.selectedClasses[0]);
1611
1626
  }
1612
1627
  }
1613
- // Eject the property
1614
- else if ('ArrowRight' === e.key) {
1615
- if (!this.isReadOnly) {
1616
- if (this.mouseOverClassProperty) {
1617
- if (this.mouseOverClassProperty.genericType.value.rawType instanceof
1618
- Class) {
1619
- this.addClassView(this.mouseOverClassProperty.genericType.value.rawType, this.canvasCoordinateToModelCoordinate(this.eventCoordinateToCanvasCoordinate(new Point(this.cursorPosition.x, this.cursorPosition.y))));
1620
- }
1621
- }
1622
- else if (this.selectedClassProperty) {
1623
- if (this.selectedClassProperty.property.genericType.value
1624
- .rawType instanceof Class) {
1625
- this.addClassView(this.selectedClassProperty.property.genericType.value.rawType, this.selectedClassProperty.selectionPoint);
1626
- }
1627
- this.selectedClassProperty = undefined;
1628
- }
1629
- }
1630
- }
1631
1628
  // Add supertypes of selected classes to the diagram
1632
1629
  else if ('ArrowUp' === e.key) {
1633
1630
  const views = this.getSuperTypeLevels(this.selectedClasses, this.diagram, 0, 1);
@@ -2164,6 +2161,7 @@ export class DiagramRenderer {
2164
2161
  }
2165
2162
  return [];
2166
2163
  }
2164
+ // --------------------------------------- Extension -----------------------------------
2167
2165
  layoutTaxonomy(classViewLevels, diagram, positionInitialClass, superType) {
2168
2166
  // Offsets
2169
2167
  const spaceY = 30;
@@ -2229,4 +2227,4 @@ export class DiagramRenderer {
2229
2227
  return [classViews, generalizationViews];
2230
2228
  }
2231
2229
  }
2232
- //# sourceMappingURL=DSL_Diagram_DiagramRenderer.js.map
2230
+ //# sourceMappingURL=DiagramRenderer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiagramRenderer.js","sourceRoot":"","sources":["../src/DiagramRenderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,IAAI,EACJ,IAAI,EACJ,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,oBAAoB,EACpB,QAAQ,EACR,MAAM,GACP,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,KAAK,EACL,WAAW,EACX,aAAa,EACb,eAAe,EACf,mCAAmC,EACnC,yBAAyB,EACzB,4BAA4B,EAC5B,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,kBAAkB,EAClB,wBAAwB,EACxB,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,MAAM,sFAAsF,CAAC;AACjH,OAAO,EAAE,KAAK,EAAE,MAAM,kFAA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K,EAAE,CAAC,OAAO,EAAE,CAChE;aACE,KAAK,CAAC,CAAC,EAAE,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC;aACpC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,CACtB,KAAK,CAAC,OAAO,CAAC,CAAC,aAAa,EAAE,EAAE,CAC7B,eAAe,CAAC,GAAG,GAAG,CAAC,CAAiB,CAAC,OAAO,CAAC,CAAC,WAAW,EAAE,EAAE;YAChE,IACE,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,eAAe;iBACtC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;iBAC3B,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,EACpC;gBACA,OAAO,IAAI,kBAAkB,CAC3B,OAAO,EACP,aAAa,EACb,WAAW,CACZ,CAAC;aACH;YACD,OAAO,EAAE,CAAC;QACZ,CAAC,CAAC,CACH,CACF,CAAC;QACJ,OAAO,CAAC,UAAU,EAAE,mBAAmB,CAAC,CAAC;IAC3C,CAAC;CACF"}
@@ -14,8 +14,10 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  import { LegendStudioApplicationPlugin, type NewElementFromStateCreator, type ElementEditorStateCreator, type ElementClassifier, type DragElementClassifier, type ElementIconGetter, type ElementEditorRenderer, type DSL_LegendStudioApplicationPlugin_Extension, type ElementEditorPostDeleteAction, type ElementEditorPostRenameAction, type ClassPreviewRenderer, type PureGrammarParserDocumentationGetter, type PureGrammarParserElementDocumentationGetter, type PureGrammarParserKeywordSuggestionGetter, type PureGrammarParserElementSnippetSuggestionsGetter } from '@finos/legend-application-studio';
17
+ import { type KeyedCommandConfigEntry } from '@finos/legend-application';
17
18
  export declare class DSL_Diagram_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
18
19
  constructor();
20
+ getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[];
19
21
  getExtraRequiredDocumentationKeys(): string[];
20
22
  getExtraClassPreviewRenderers(): ClassPreviewRenderer[];
21
23
  getExtraAccessEventLoggingApplicationContextKeys(): string[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_Diagram_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2CAA2C,EAEhD,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,2CAA2C,EAChD,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACtD,MAAM,kCAAkC,CAAC;AAwB1C,qBAAa,yCACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,MAAM,EAAE;IAO7C,6BAA6B,IAAI,oBAAoB,EAAE;IAQvD,gDAAgD,IAAI,MAAM,EAAE;IAMrE,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,mCAAmC,IAAI,0BAA0B,EAAE;IAenE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,6CAA6C,IAAI,MAAM,EAAE;IAIzD,sCAAsC,IAAI,6BAA6B,EAAE;IAWzE,sCAAsC,IAAI,6BAA6B,EAAE;IAWzE,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgChH"}
1
+ {"version":3,"file":"DSL_Diagram_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2CAA2C,EAEhD,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,EACzC,KAAK,2CAA2C,EAChD,KAAK,wCAAwC,EAE7C,KAAK,gDAAgD,EACtD,MAAM,kCAAkC,CAAC;AAkB1C,OAAO,EAGL,KAAK,uBAAuB,EAC7B,MAAM,2BAA2B,CAAC;AAOnC,qBAAa,yCACX,SAAQ,6BACR,YAAW,2CAA2C;;IAM7C,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,iCAAiC,IAAI,MAAM,EAAE;IAO7C,6BAA6B,IAAI,oBAAoB,EAAE;IAQvD,gDAAgD,IAAI,MAAM,EAAE;IAMrE,6BAA6B,IAAI,MAAM,EAAE;IAIzC,0BAA0B,IAAI,iBAAiB,EAAE;IAWjD,0BAA0B,IAAI,iBAAiB,EAAE;IAejD,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,mCAAmC,IAAI,0BAA0B,EAAE;IAenE,kCAAkC,IAAI,yBAAyB,EAAE;IAcjE,8BAA8B,IAAI,qBAAqB,EAAE;IAWzD,6CAA6C,IAAI,MAAM,EAAE;IAIzD,sCAAsC,IAAI,6BAA6B,EAAE;IAWzE,sCAAsC,IAAI,6BAA6B,EAAE;IAWzE,oDAAoD,IAAI,2CAA2C,EAAE;IAmBrG,6CAA6C,IAAI,oCAAoC,EAAE;IAgBvF,iDAAiD,IAAI,wCAAwC,EAAE;IAgB/F,yDAAyD,IAAI,gDAAgD,EAAE;CAgChH"}
@@ -24,13 +24,18 @@ import { ClassDiagramPreview } from './ClassDiagramPreview.js';
24
24
  import { PURE_GRAMMAR_DIAGRAM_ELEMENT_TYPE_LABEL, PURE_GRAMMAR_DIAGRAM_PARSER_NAME, } from '../../graphManager/DSL_Diagram_PureGraphManagerPlugin.js';
25
25
  import { DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY } from './DSL_Diagram_LegendStudioDocumentation.js';
26
26
  import { EMPTY_DIAGRAM_SNIPPET, getDiagramSnippetWithGeneralizationView, getDiagramSnippetWithOneClassView, getDiagramSnippetWithPropertyView, } from './DSL_Diagram_CodeSnippets.js';
27
+ import { collectKeyedCommandConfigEntriesFromConfig, } from '@finos/legend-application';
27
28
  import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../stores/studio/DSL_Diagram_LegendStudioApplicationNavigationContext.js';
29
+ import { DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_CONFIG } from './DSL_Diagram_LegendStudioCommand.js';
28
30
  const DIAGRAM_ELEMENT_TYPE = 'DIAGRAM';
29
31
  const DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE = 'PROJECT_EXPLORER_DIAGRAM';
30
32
  export class DSL_Diagram_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
31
33
  constructor() {
32
34
  super(packageJson.extensions.applicationStudioPlugin, packageJson.version);
33
35
  }
36
+ getExtraKeyedCommandConfigEntries() {
37
+ return collectKeyedCommandConfigEntriesFromConfig(DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_CONFIG);
38
+ }
34
39
  getExtraRequiredDocumentationKeys() {
35
40
  return [
36
41
  DSL_DIAGRAM_LEGEND_STUDIO_DOCUMENTATION_KEY.GRAMMAR_ELEMENT_DIAGRAM,
@@ -1 +1 @@
1
- {"version":3,"file":"DSL_Diagram_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,6BAA6B,GAmB9B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,OAAO,EAAE,MAAM,+EAA+E,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EACL,uCAAuC,EACvC,gCAAgC,GACjC,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,2CAA2C,EAAE,MAAM,4CAA4C,CAAC;AACzG,OAAO,EACL,qBAAqB,EACrB,uCAAuC,EACvC,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,4DAA4D,EAAE,MAAM,6EAA6E,CAAC;AAE3J,MAAM,oBAAoB,GAAG,SAAS,CAAC;AACvC,MAAM,yCAAyC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,OAAO,yCACX,SAAQ,6BAA6B;IAGrC;QACE,KAAK,CAAC,WAAW,CAAC,UAAU,CAAC,uBAAuB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEQ,iCAAiC;QACxC,OAAO;YACL,2CAA2C,CAAC,uBAAuB;YACnE,2CAA2C,CAAC,cAAc;SAC3D,CAAC;IACJ,CAAC;IAEQ,6BAA6B;QACpC,OAAO;YACL,CAAC,MAAa,EAAmB,EAAE,CAAC,CAClC,KAAC,mBAAmB,IAAC,MAAM,EAAE,MAAM,GAAI,CACxC;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Aa,KAAK,gCAAgC,EAAE;oBACtD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,2CAA2C,CAAC,cAAc,CAC3D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,gCAAgC;oBACtC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,2CAA2C,CAAC,cAAc,CAC3D;oBACH,UAAU,EAAE,gCAAgC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,gCAAgC;gBAChD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,SAAS;wBACtB,UAAU,EAAE,qBAAqB;qBAClC;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,iCAAiC,EAAE;qBAChD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,uCAAuC,EAAE;qBACtD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,iCAAiC,EAAE;qBAChD;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"DSL_Diagram_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSL_Diagram_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,WAAW,MAAM,uBAAu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,KAAK,gCAAgC,EAAE;oBACtD,OAAO,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAClE,2CAA2C,CAAC,cAAc,CAC3D,CAAC;iBACH;gBACD,OAAO,SAAS,CAAC;YACnB,CAAC;SACF,CAAC;IACJ,CAAC;IAED,iDAAiD;QAC/C,OAAO;YACL,CAAC,WAAwB,EAA+B,EAAE,CAAC;gBACzD;oBACE,IAAI,EAAE,gCAAgC;oBACtC,WAAW,EAAE,OAAO;oBACpB,aAAa,EACX,WAAW,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAC3D,2CAA2C,CAAC,cAAc,CAC3D;oBACH,UAAU,EAAE,gCAAgC;iBAC7C;aACF;SACF,CAAC;IACJ,CAAC;IAED,yDAAyD;QACvD,OAAO;YACL,CACE,WAAwB,EACxB,aAAqB,EACoB,EAAE,CAC3C,aAAa,KAAK,gCAAgC;gBAChD,CAAC,CAAC;oBACE;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,SAAS;wBACtB,UAAU,EAAE,qBAAqB;qBAClC;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,YAAY;wBACzB,UAAU,EAAE,iCAAiC,EAAE;qBAChD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,uCAAuC,EAAE;qBACtD;oBACD;wBACE,IAAI,EAAE,uCAAuC;wBAC7C,WAAW,EAAE,kBAAkB;wBAC/B,UAAU,EAAE,iCAAiC,EAAE;qBAChD;iBACF;gBACH,CAAC,CAAC,SAAS;SAChB,CAAC;IACJ,CAAC;CACF"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import type { CommandConfigData } from '@finos/legend-application';
17
+ export declare enum DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY {
18
+ RECENTER = "dsl-diagram.diagram-editor.recenter",
19
+ USE_ZOOM_TOOL = "dsl-diagram.diagram-editor.use-zoom-tool",
20
+ USE_VIEW_TOOL = "dsl-diagram.diagram-editor.use-view-tool",
21
+ USE_PAN_TOOL = "dsl-diagram.diagram-editor.use-pan-tool",
22
+ USE_PROPERTY_TOOL = "dsl-diagram.diagram-editor.use-property-tool",
23
+ USE_INHERITANCE_TOOL = "dsl-diagram.diagram-editor.use-inheritance-tool",
24
+ ADD_CLASS = "dsl-diagram.diagram-editor.add-class",
25
+ EJECT_PROPERTY = "dsl-diagram.diagram-editor.eject-property"
26
+ }
27
+ export declare const DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_CONFIG: CommandConfigData;
28
+ //# sourceMappingURL=DSL_Diagram_LegendStudioCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DSL_Diagram_LegendStudioCommand.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSL_Diagram_LegendStudioCommand.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAEnE,oBAAY,qCAAqC;IAC/C,QAAQ,wCAAwC;IAChD,aAAa,6CAA6C;IAC1D,aAAa,6CAA6C;IAC1D,YAAY,4CAA4C;IACxD,iBAAiB,iDAAiD;IAClE,oBAAoB,oDAAoD;IACxE,SAAS,yCAAyC;IAClD,cAAc,8CAA8C;CAC7D;AAED,eAAO,MAAM,wCAAwC,EAAE,iBAkCtD,CAAC"}
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export var DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY;
17
+ (function (DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY) {
18
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["RECENTER"] = "dsl-diagram.diagram-editor.recenter";
19
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_ZOOM_TOOL"] = "dsl-diagram.diagram-editor.use-zoom-tool";
20
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_VIEW_TOOL"] = "dsl-diagram.diagram-editor.use-view-tool";
21
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_PAN_TOOL"] = "dsl-diagram.diagram-editor.use-pan-tool";
22
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_PROPERTY_TOOL"] = "dsl-diagram.diagram-editor.use-property-tool";
23
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["USE_INHERITANCE_TOOL"] = "dsl-diagram.diagram-editor.use-inheritance-tool";
24
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["ADD_CLASS"] = "dsl-diagram.diagram-editor.add-class";
25
+ DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY["EJECT_PROPERTY"] = "dsl-diagram.diagram-editor.eject-property";
26
+ })(DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY = DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY || (DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY = {}));
27
+ export const DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_CONFIG = {
28
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.RECENTER]: {
29
+ title: 'Diagram Editor: Recenter',
30
+ defaultKeyboardShortcut: 'r',
31
+ },
32
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.USE_ZOOM_TOOL]: {
33
+ title: 'Diagram Editor: Use zoom tool',
34
+ defaultKeyboardShortcut: 'z',
35
+ },
36
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.USE_VIEW_TOOL]: {
37
+ title: 'Diagram Editor: Use view tool',
38
+ defaultKeyboardShortcut: 'v',
39
+ },
40
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.USE_PAN_TOOL]: {
41
+ title: 'Diagram Editor: Use pan tool',
42
+ defaultKeyboardShortcut: 'm',
43
+ },
44
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.USE_PROPERTY_TOOL]: {
45
+ title: 'Diagram Editor: Use property tool',
46
+ defaultKeyboardShortcut: 'p',
47
+ },
48
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.USE_INHERITANCE_TOOL]: {
49
+ title: 'Diagram Editor: Use inheritance tool',
50
+ defaultKeyboardShortcut: 'i',
51
+ },
52
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.ADD_CLASS]: {
53
+ title: 'Diagram Editor: Add class',
54
+ defaultKeyboardShortcut: 'c',
55
+ },
56
+ [DSL_DIAGRAM_LEGEND_STUDIO_COMMAND_KEY.EJECT_PROPERTY]: {
57
+ title: 'Diagram Editor: Eject Property',
58
+ defaultKeyboardShortcut: 'ArrowRight',
59
+ when: 'When hovering on a class property',
60
+ },
61
+ };
62
+ //# sourceMappingURL=DSL_Diagram_LegendStudioCommand.js.map