@finos/legend-extension-dsl-diagram 5.0.11 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/lib/components/studio/ClassDiagramPreview.d.ts +0 -1
  2. package/lib/components/studio/ClassDiagramPreview.d.ts.map +1 -1
  3. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.d.ts +4 -4
  4. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.d.ts.map +1 -1
  5. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.js +3 -3
  6. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin.js.map +1 -1
  7. package/lib/components/studio/DiagramEditor.d.ts +0 -1
  8. package/lib/components/studio/DiagramEditor.d.ts.map +1 -1
  9. package/lib/components/studio/DiagramEditor.js +9 -12
  10. package/lib/components/studio/DiagramEditor.js.map +1 -1
  11. package/lib/index.css +1 -1
  12. package/lib/index.d.ts +0 -1
  13. package/lib/index.d.ts.map +1 -1
  14. package/lib/index.js +0 -1
  15. package/lib/index.js.map +1 -1
  16. package/lib/package.json +3 -3
  17. package/package.json +10 -10
  18. package/src/components/studio/DSLDiagram_LegendStudioApplicationPlugin.tsx +5 -5
  19. package/src/components/studio/DiagramEditor.tsx +19 -36
  20. package/src/index.ts +0 -1
  21. package/tsconfig.json +0 -1
  22. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts +0 -30
  23. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  24. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js +0 -17
  25. package/lib/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  26. package/src/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx +0 -35
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" resolution-mode="require"/>
17
16
  import { type Class } from '@finos/legend-graph';
18
17
  export declare const ClassDiagramPreview: ((props: {
19
18
  _class: Class;
@@ -1 +1 @@
1
- {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,EAAE,KAAK,KAAK,EAAqB,MAAM,qBAAqB,CAAC;AAIpE,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAiEnE,CAAC"}
1
+ {"version":3,"file":"ClassDiagramPreview.d.ts","sourceRoot":"","sources":["../../../src/components/studio/ClassDiagramPreview.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,KAAK,KAAK,EAAqB,MAAM,qBAAqB,CAAC;AAIpE,eAAO,MAAM,mBAAmB,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CAiEnE,CAAC"}
@@ -13,20 +13,20 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { LegendStudioApplicationPlugin, type NewElementFromStateCreator, type ElementEditorStateCreator, type ElementTypeGetter, type ElementProjectExplorerDnDTypeGetter, 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';
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
17
  export declare class DSLDiagram_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin implements DSL_LegendStudioApplicationPlugin_Extension {
18
18
  constructor();
19
19
  getExtraRequiredDocumentationKeys(): string[];
20
20
  getExtraClassPreviewRenderers(): ClassPreviewRenderer[];
21
21
  getExtraAccessEventLoggingApplicationContextKeys(): string[];
22
22
  getExtraSupportedElementTypes(): string[];
23
- getExtraElementTypeGetters(): ElementTypeGetter[];
23
+ getExtraElementClassifiers(): ElementClassifier[];
24
24
  getExtraElementIconGetters(): ElementIconGetter[];
25
25
  getExtraElementEditorRenderers(): ElementEditorRenderer[];
26
26
  getExtraNewElementFromStateCreators(): NewElementFromStateCreator[];
27
27
  getExtraElementEditorStateCreators(): ElementEditorStateCreator[];
28
- getExtraElementProjectExplorerDnDTypeGetters(): ElementProjectExplorerDnDTypeGetter[];
29
- getExtraPureGrammarTextEditorDnDTypes(): string[];
28
+ getExtraDragElementClassifiers(): DragElementClassifier[];
29
+ getExtraPureGrammarTextEditorDragElementTypes(): string[];
30
30
  getExtraElementEditorPostRenameActions(): ElementEditorPostRenameAction[];
31
31
  getExtraElementEditorPostDeleteActions(): ElementEditorPostDeleteAction[];
32
32
  getExtraPureGrammarParserElementDocumentationGetters(): PureGrammarParserElementDocumentationGetter[];
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAG/B,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,mCAAmC,EACxC,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,wCACX,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,4CAA4C,IAAI,mCAAmC,EAAE;IAWrF,qCAAqC,IAAI,MAAM,EAAE;IAIjD,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":"DSLDiagram_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_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,wCACX,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"}
@@ -50,7 +50,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin extends LegendStudioApplic
50
50
  getExtraSupportedElementTypes() {
51
51
  return [DIAGRAM_ELEMENT_TYPE];
52
52
  }
53
- getExtraElementTypeGetters() {
53
+ getExtraElementClassifiers() {
54
54
  return [
55
55
  (element) => {
56
56
  if (element instanceof Diagram) {
@@ -100,7 +100,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin extends LegendStudioApplic
100
100
  },
101
101
  ];
102
102
  }
103
- getExtraElementProjectExplorerDnDTypeGetters() {
103
+ getExtraDragElementClassifiers() {
104
104
  return [
105
105
  (element) => {
106
106
  if (element instanceof Diagram) {
@@ -110,7 +110,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin extends LegendStudioApplic
110
110
  },
111
111
  ];
112
112
  }
113
- getExtraPureGrammarTextEditorDnDTypes() {
113
+ getExtraPureGrammarTextEditorDragElementTypes() {
114
114
  return [DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE];
115
115
  }
116
116
  getExtraElementEditorPostRenameActions() {
@@ -1 +1 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_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,8EAA8E,CAAC;AACvG,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,yDAAyD,CAAC;AACjE,OAAO,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AACxG,OAAO,EACL,qBAAqB,EACrB,uCAAuC,EACvC,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,4DAA4D,EAAE,MAAM,4EAA4E,CAAC;AAE1J,MAAM,oBAAoB,GAAG,SAAS,CAAC;AACvC,MAAM,yCAAyC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,OAAO,wCACX,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,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+ {"version":3,"file":"DSLDiagram_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_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,8EAA8E,CAAC;AACvG,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,yDAAyD,CAAC;AACjE,OAAO,EAAE,2CAA2C,EAAE,MAAM,2CAA2C,CAAC;AACxG,OAAO,EACL,qBAAqB,EACrB,uCAAuC,EACvC,iCAAiC,EACjC,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,4DAA4D,EAAE,MAAM,4EAA4E,CAAC;AAE1J,MAAM,oBAAoB,GAAG,SAAS,CAAC;AACvC,MAAM,yCAAyC,GAAG,0BAA0B,CAAC;AAE7E,MAAM,OAAO,wCACX,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;SACF,CA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K,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"}
@@ -13,7 +13,6 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- /// <reference types="react" resolution-mode="require"/>
17
16
  export declare const DiagramEditor: (() => JSX.Element) & {
18
17
  displayName: string;
19
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA44CH,eAAO,MAAM,aAAa;;CAuDxB,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA23CH,eAAO,MAAM,aAAa;;CAuDxB,CAAC"}
@@ -14,7 +14,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { useRef, useState, useEffect, useCallback, Fragment, forwardRef, } from 'react';
17
+ import { useRef, useState, useEffect, useCallback, forwardRef } from 'react';
18
18
  import { useResizeDetector } from 'react-resize-detector';
19
19
  import { useDrop } from 'react-dnd';
20
20
  import { observer } from 'mobx-react-lite';
@@ -22,10 +22,10 @@ import { ALIGNER_OPERATOR, DiagramRenderer, DIAGRAM_INTERACTION_MODE, DIAGRAM_RE
22
22
  import { DIAGRAM_EDITOR_SIDE_PANEL_TAB, DiagramEditorClassViewEditorSidePanelState, DiagramEditorState, } from '../../stores/studio/DiagramEditorState.js';
23
23
  import { ContextMenu, getControlledResizablePanelProps, BasePopover, BlankPanelContent, CaretDownIcon, CheckSquareIcon, clsx, createFilter, CustomSelectorInput, KeyboardIcon, DropdownMenu, MenuContent, MenuContentDivider, MenuContentItem, PlusIcon, SquareIcon, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanel, ResizeIcon, MinusIcon, MousePointerIcon, MoveIcon, PlusCircleIcon, SidebarIcon, TriangleIcon, ZoomInIcon, ZoomOutIcon, Dialog, AlignEndIcon, DistributeHorizontalIcon, DistributeVerticalIcon, AlignStartIcon, AlignCenterIcon, AlignTopIcon, AlignMiddleIcon, AlignBottomIcon, } from '@finos/legend-art';
24
24
  import { Class, DerivedProperty, Property, Multiplicity, ELEMENT_PATH_DELIMITER, MULTIPLICITY_INFINITE, GenericType, createPath, isValidFullPath, isValidPathIdentifier, resolvePackagePathAndElementName, } from '@finos/legend-graph';
25
- import { guaranteeNonNullable, isNonNullable, prettyCONSTName, } from '@finos/legend-shared';
25
+ import { guaranteeNonNullable, prettyCONSTName } from '@finos/legend-shared';
26
26
  import { flowResult } from 'mobx';
27
27
  import { useApplicationStore, useApplicationNavigationContext, buildElementOption, } from '@finos/legend-application';
28
- import { ClassFormEditor, CORE_DND_TYPE, ElementDragSource, useEditorStore, property_setName, property_setGenericType, property_setMultiplicity, } from '@finos/legend-application-studio';
28
+ import { ClassFormEditor, CORE_DND_TYPE, ElementDragSource, useEditorStore, property_setName, property_setGenericType, property_setMultiplicity, queryClass, } from '@finos/legend-application-studio';
29
29
  import { cleanUpDeadReferencesInDiagram } from '../../graph/helpers/DSLDiagram_Helper.js';
30
30
  import { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
31
31
  import { classView_setHideProperties, classView_setHideStereotypes, classView_setHideTaggedValues, } from '../../stores/studio/DSLDiagram_GraphModifierHelper.js';
@@ -33,15 +33,12 @@ import { DSL_DIAGRAM_LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '..
33
33
  const DiagramEditorContextMenu = observer(forwardRef(function DiagramEditorContextMenu(props, ref) {
34
34
  const { diagramEditorState } = props;
35
35
  const editorStore = useEditorStore();
36
- const extraClassViewContextMenuItems = diagramEditorState.contextMenuClassView
37
- ? editorStore.pluginManager
38
- .getApplicationPlugins()
39
- .flatMap((plugin) => plugin.getExtraClassViewContextMenuItemRendererConfigurations?.() ??
40
- [])
41
- .filter(isNonNullable)
42
- .map((config) => (_jsx(Fragment, { children: config.renderer(diagramEditorState, guaranteeNonNullable(diagramEditorState.contextMenuClassView)) }, config.key)))
43
- : [];
44
- return _jsx(MenuContent, { children: extraClassViewContextMenuItems });
36
+ // actions
37
+ const buildQuery = editorStore.applicationStore.guardUnhandledError(async () => {
38
+ const classView = guaranteeNonNullable(diagramEditorState.contextMenuClassView);
39
+ await queryClass(classView.class.value, editorStore);
40
+ });
41
+ return (_jsx(MenuContent, { children: _jsx(MenuContentItem, { onClick: buildQuery, children: "Query..." }) }));
45
42
  }));
46
43
  const DiagramRendererHotkeyInfosModal = observer((props) => {
47
44
  const { open, onClose } = props;
@@ -1 +1 @@
1
- {"version":3,"file":"DiagramEditor.js","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,GACX,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAA0B,OAAO,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,6BAA6B,EAC7B,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,QAAQ,EACR,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,MAAM,EACN,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACd,e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C,kBAAkB,EAAE,kBAAkB,GAAI,CACnE,EACD,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,gBAAgB,GACrB,EACD,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,8BACE,KAAC,iCAAiC,IAChC,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,IACD,CACJ,IACW,IACV,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"DiagramEditor.js","sourceRoot":"","sources":["../../../src/components/studio/DiagramEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAA0B,OAAO,EAAE,MAAM,WAAW,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,GACpB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAIL,6BAA6B,EAC7B,0CAA0C,EAC1C,kBAAkB,GACnB,MAAM,2CAA2C,CAAC;AACnD,OAAO,EAEL,WAAW,EACX,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,SAAS,EACT,gBAAgB,EACh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,kBAAkB,GAAI,CACnE,EACD,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,GAAG,EAAE,gBAAgB,GACrB,EACD,kBAAkB,CAAC,4BAA4B,IAAI,CAClD,8BACE,KAAC,iCAAiC,IAChC,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,+BAA+B,IAC9B,kBAAkB,EAAE,kBAAkB,GACtC,IACD,CACJ,IACW,IACV,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-extension-dsl-diagram v5.0.11
1
+ /** @license @finos/legend-extension-dsl-diagram v6.0.0
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/index.d.ts CHANGED
@@ -15,7 +15,6 @@
15
15
  */
16
16
  export * from './DSLDiagram_Extension.js';
17
17
  export { DSLDiagram_LegendStudioApplicationPlugin } from './components/studio/DSLDiagram_LegendStudioApplicationPlugin.js';
18
- export * from './components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
19
18
  export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
20
19
  export { DiagramRenderer, DIAGRAM_INTERACTION_MODE, } from './DiagramRenderer.js';
21
20
  export { Diagram } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,wCAAwC,EAAE,MAAM,iEAAiE,CAAC;AAC3H,cAAc,2EAA2E,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EACL,eAAe,EACf,wBAAw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AAE,MAAM,kFAAkF,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,MAAM,qFAAqF,CAAC;AACzH,OAAO,EAAE,KAAK,EAAE,MAAM,iFAAiF,CAAC;AACxG,OAAO,EAAE,SAAS,EAAE,MAAM,qFAAqF,CAAC;AAChH,OAAO,EAAE,mBAAmB,EAAE,MAAM,+FAA+F,CAAC;AAEpI,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,2CAA2C,EAAE,MAAM,wEAAwE,CAAC"}
package/lib/index.js CHANGED
@@ -15,7 +15,6 @@
15
15
  */
16
16
  export * from './DSLDiagram_Extension.js';
17
17
  export { DSLDiagram_LegendStudioApplicationPlugin } from './components/studio/DSLDiagram_LegendStudioApplicationPlugin.js';
18
- export * from './components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
19
18
  export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
20
19
  export { DiagramRenderer, DIAGRAM_INTERACTION_MODE, } from './DiagramRenderer.js';
21
20
  export { Diagram } from './graph/metamodel/pure/packageableElements/diagram/DSLDiagram_Diagram.js';
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,cAAc,2BAA2B,CAAC;AAC1C,OAAO,EAAE,wCAAwC,EAAE,MAAM,iEAAiE,CAAC;AAC3H,cAAc,2EAA2E,CAAC;AAE1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAE3E,OAAO,EACL,eAAe,EACf,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,MAAM,0EAA0E,CAAC;AACnG,OAAO,EAAE,SAAS,EAAE,MAAM,4EAA4E,CAAC;AACvG,OAAO,EAAE,gBAAgB,EAAE,MAAM,mFAAmF,CAAC;AACrH,OAAO,EAAE,kBAA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,MAAM,+FAA+F,CAAC;AAEpI,cAAc,sCAAsC,CAAC;AACrD,cAAc,iDAAiD,CAAC;AAChE,OAAO,EAAE,2CAA2C,EAAE,MAAM,wEAAwE,CAAC"}
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "5.0.11",
3
+ "version": "6.0.0",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -49,7 +49,7 @@
49
49
  "@finos/legend-graph": "workspace:*",
50
50
  "@finos/legend-shared": "workspace:*",
51
51
  "@finos/legend-storage": "workspace:*",
52
- "@types/react": "18.0.19",
52
+ "@types/react": "18.0.20",
53
53
  "mobx": "6.6.2",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -63,7 +63,7 @@
63
63
  "@jest/globals": "29.0.3",
64
64
  "@testing-library/react": "13.4.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.23.0",
66
+ "eslint": "8.23.1",
67
67
  "jest": "29.0.3",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-extension-dsl-diagram",
3
- "version": "5.0.11",
3
+ "version": "6.0.0",
4
4
  "description": "Legend extension for Diagram DSL",
5
5
  "keywords": [
6
6
  "legend",
@@ -43,13 +43,13 @@
43
43
  "test:watch": "jest --watch"
44
44
  },
45
45
  "dependencies": {
46
- "@finos/legend-application": "7.1.7",
47
- "@finos/legend-application-studio": "15.2.0",
48
- "@finos/legend-art": "3.1.0",
49
- "@finos/legend-graph": "14.1.0",
50
- "@finos/legend-shared": "6.1.0",
51
- "@finos/legend-storage": "3.0.9",
52
- "@types/react": "18.0.19",
46
+ "@finos/legend-application": "7.2.0",
47
+ "@finos/legend-application-studio": "16.0.0",
48
+ "@finos/legend-art": "3.2.0",
49
+ "@finos/legend-graph": "15.0.0",
50
+ "@finos/legend-shared": "6.1.1",
51
+ "@finos/legend-storage": "3.0.10",
52
+ "@types/react": "18.0.20",
53
53
  "mobx": "6.6.2",
54
54
  "mobx-react-lite": "3.4.0",
55
55
  "react": "18.2.0",
@@ -59,11 +59,11 @@
59
59
  "serializr": "2.0.5"
60
60
  },
61
61
  "devDependencies": {
62
- "@finos/legend-dev-utils": "2.0.15",
62
+ "@finos/legend-dev-utils": "2.0.16",
63
63
  "@jest/globals": "29.0.3",
64
64
  "@testing-library/react": "13.4.0",
65
65
  "cross-env": "7.0.3",
66
- "eslint": "8.23.0",
66
+ "eslint": "8.23.1",
67
67
  "jest": "29.0.3",
68
68
  "jest-canvas-mock": "2.4.0",
69
69
  "npm-run-all": "4.1.5",
@@ -21,8 +21,8 @@ import {
21
21
  type EditorStore,
22
22
  type ElementEditorState,
23
23
  type ElementEditorStateCreator,
24
- type ElementTypeGetter,
25
- type ElementProjectExplorerDnDTypeGetter,
24
+ type ElementClassifier,
25
+ type DragElementClassifier,
26
26
  type ElementIconGetter,
27
27
  type ElementEditorRenderer,
28
28
  type DSL_LegendStudioApplicationPlugin_Extension,
@@ -92,7 +92,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin
92
92
  return [DIAGRAM_ELEMENT_TYPE];
93
93
  }
94
94
 
95
- getExtraElementTypeGetters(): ElementTypeGetter[] {
95
+ getExtraElementClassifiers(): ElementClassifier[] {
96
96
  return [
97
97
  (element: PackageableElement): string | undefined => {
98
98
  if (element instanceof Diagram) {
@@ -158,7 +158,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin
158
158
  ];
159
159
  }
160
160
 
161
- getExtraElementProjectExplorerDnDTypeGetters(): ElementProjectExplorerDnDTypeGetter[] {
161
+ getExtraDragElementClassifiers(): DragElementClassifier[] {
162
162
  return [
163
163
  (element: PackageableElement): string | undefined => {
164
164
  if (element instanceof Diagram) {
@@ -169,7 +169,7 @@ export class DSLDiagram_LegendStudioApplicationPlugin
169
169
  ];
170
170
  }
171
171
 
172
- getExtraPureGrammarTextEditorDnDTypes(): string[] {
172
+ getExtraPureGrammarTextEditorDragElementTypes(): string[] {
173
173
  return [DIAGRAM_ELEMENT_PROJECT_EXPLORER_DND_TYPE];
174
174
  }
175
175
 
@@ -14,14 +14,7 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- import {
18
- useRef,
19
- useState,
20
- useEffect,
21
- useCallback,
22
- Fragment,
23
- forwardRef,
24
- } from 'react';
17
+ import { useRef, useState, useEffect, useCallback, forwardRef } from 'react';
25
18
  import { useResizeDetector } from 'react-resize-detector';
26
19
  import { type DropTargetMonitor, useDrop } from 'react-dnd';
27
20
  import { observer } from 'mobx-react-lite';
@@ -94,11 +87,7 @@ import {
94
87
  isValidPathIdentifier,
95
88
  resolvePackagePathAndElementName,
96
89
  } from '@finos/legend-graph';
97
- import {
98
- guaranteeNonNullable,
99
- isNonNullable,
100
- prettyCONSTName,
101
- } from '@finos/legend-shared';
90
+ import { guaranteeNonNullable, prettyCONSTName } from '@finos/legend-shared';
102
91
  import { flowResult } from 'mobx';
103
92
  import {
104
93
  type PackageableElementOption,
@@ -114,10 +103,10 @@ import {
114
103
  property_setName,
115
104
  property_setGenericType,
116
105
  property_setMultiplicity,
106
+ queryClass,
117
107
  } from '@finos/legend-application-studio';
118
108
  import { cleanUpDeadReferencesInDiagram } from '../../graph/helpers/DSLDiagram_Helper.js';
119
109
  import { Point } from '../../graph/metamodel/pure/packageableElements/diagram/geometry/DSLDiagram_Point.js';
120
- import type { DSLDiagram_LegendStudioApplicationPlugin_Extension } from './DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
121
110
  import {
122
111
  classView_setHideProperties,
123
112
  classView_setHideStereotypes,
@@ -134,28 +123,22 @@ const DiagramEditorContextMenu = observer(
134
123
  >(function DiagramEditorContextMenu(props, ref) {
135
124
  const { diagramEditorState } = props;
136
125
  const editorStore = useEditorStore();
137
- const extraClassViewContextMenuItems =
138
- diagramEditorState.contextMenuClassView
139
- ? editorStore.pluginManager
140
- .getApplicationPlugins()
141
- .flatMap(
142
- (plugin) =>
143
- (
144
- plugin as DSLDiagram_LegendStudioApplicationPlugin_Extension
145
- ).getExtraClassViewContextMenuItemRendererConfigurations?.() ??
146
- [],
147
- )
148
- .filter(isNonNullable)
149
- .map((config) => (
150
- <Fragment key={config.key}>
151
- {config.renderer(
152
- diagramEditorState,
153
- guaranteeNonNullable(diagramEditorState.contextMenuClassView),
154
- )}
155
- </Fragment>
156
- ))
157
- : [];
158
- return <MenuContent>{extraClassViewContextMenuItems}</MenuContent>;
126
+
127
+ // actions
128
+ const buildQuery = editorStore.applicationStore.guardUnhandledError(
129
+ async () => {
130
+ const classView = guaranteeNonNullable(
131
+ diagramEditorState.contextMenuClassView,
132
+ );
133
+ await queryClass(classView.class.value, editorStore);
134
+ },
135
+ );
136
+
137
+ return (
138
+ <MenuContent>
139
+ <MenuContentItem onClick={buildQuery}>Query...</MenuContentItem>
140
+ </MenuContent>
141
+ );
159
142
  }),
160
143
  );
161
144
 
package/src/index.ts CHANGED
@@ -16,7 +16,6 @@
16
16
 
17
17
  export * from './DSLDiagram_Extension.js';
18
18
  export { DSLDiagram_LegendStudioApplicationPlugin } from './components/studio/DSLDiagram_LegendStudioApplicationPlugin.js';
19
- export * from './components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.js';
20
19
 
21
20
  export { DiagramEditorState } from './stores/studio/DiagramEditorState.js';
22
21
 
package/tsconfig.json CHANGED
@@ -77,7 +77,6 @@
77
77
  "./src/stores/studio/DiagramEditorState.ts",
78
78
  "./src/components/studio/ClassDiagramPreview.tsx",
79
79
  "./src/components/studio/DSLDiagram_LegendStudioApplicationPlugin.tsx",
80
- "./src/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx",
81
80
  "./src/components/studio/DiagramEditor.tsx"
82
81
  ],
83
82
  "include": [
@@ -1,30 +0,0 @@
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
- /// <reference types="react" resolution-mode="require"/>
17
- import type { DSL_LegendStudioApplicationPlugin_Extension } from '@finos/legend-application-studio';
18
- import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
19
- import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState.js';
20
- export declare type ClassViewContextMenuItemRendererConfiguration = {
21
- key: string;
22
- renderer: (diagramEditorState: DiagramEditorState, classView: ClassView | undefined) => React.ReactNode | undefined;
23
- };
24
- export interface DSLDiagram_LegendStudioApplicationPlugin_Extension extends DSL_LegendStudioApplicationPlugin_Extension {
25
- /**
26
- * Get the list of items to be rendered in the context menu of a class view.
27
- */
28
- getExtraClassViewContextMenuItemRendererConfigurations?(): ClassViewContextMenuItemRendererConfiguration[];
29
- }
30
- //# sourceMappingURL=DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,kCAAkC,CAAC;AACpG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gFAAgF,CAAC;AAChH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,oBAAY,6CAA6C,GAAG;IAC1D,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,CACR,kBAAkB,EAAE,kBAAkB,EACtC,SAAS,EAAE,SAAS,GAAG,SAAS,KAC7B,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,MAAM,WAAW,kDACf,SAAQ,2CAA2C;IACnD;;OAEG;IACH,sDAAsD,CAAC,IAAI,6CAA6C,EAAE,CAAC;CAC5G"}
@@ -1,17 +0,0 @@
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 {};
17
- //# sourceMappingURL=DSLDiagram_LegendStudioApplicationPlugin_Extension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DSLDiagram_LegendStudioApplicationPlugin_Extension.js","sourceRoot":"","sources":["../../../src/components/studio/DSLDiagram_LegendStudioApplicationPlugin_Extension.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -1,35 +0,0 @@
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
-
17
- import type { DSL_LegendStudioApplicationPlugin_Extension } from '@finos/legend-application-studio';
18
- import type { ClassView } from '../../graph/metamodel/pure/packageableElements/diagram/DSLDiagram_ClassView.js';
19
- import type { DiagramEditorState } from '../../stores/studio/DiagramEditorState.js';
20
-
21
- export type ClassViewContextMenuItemRendererConfiguration = {
22
- key: string;
23
- renderer: (
24
- diagramEditorState: DiagramEditorState,
25
- classView: ClassView | undefined,
26
- ) => React.ReactNode | undefined;
27
- };
28
-
29
- export interface DSLDiagram_LegendStudioApplicationPlugin_Extension
30
- extends DSL_LegendStudioApplicationPlugin_Extension {
31
- /**
32
- * Get the list of items to be rendered in the context menu of a class view.
33
- */
34
- getExtraClassViewContextMenuItemRendererConfigurations?(): ClassViewContextMenuItemRendererConfiguration[];
35
- }