@eclipse-papyrus/papyrus-web-parent 2026.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.prettierrc +22 -0
- package/.project +11 -0
- package/.turbo/cache/2e7de991e3eb5b77-meta.json +1 -0
- package/.turbo/cache/2e7de991e3eb5b77.tar.zst +0 -0
- package/.turbo/cache/6d4efa6c3019818e-meta.json +1 -0
- package/.turbo/cache/6d4efa6c3019818e.tar.zst +0 -0
- package/.turbo/cache/904b84e8ab6fefb1-meta.json +1 -0
- package/.turbo/cache/904b84e8ab6fefb1.tar.zst +0 -0
- package/.turbo/cache/b657accc57a869a6-meta.json +1 -0
- package/.turbo/cache/b657accc57a869a6.tar.zst +0 -0
- package/.turbo/cookies/1.cookie +0 -0
- package/.turbo/cookies/2.cookie +0 -0
- package/.turbo/cookies/3.cookie +0 -0
- package/.turbo/cookies/4.cookie +0 -0
- package/.turbo/cookies/5.cookie +0 -0
- package/.turbo/cookies/6.cookie +0 -0
- package/.turbo/cookies/7.cookie +0 -0
- package/.turbo/cookies/8.cookie +0 -0
- package/.turbo/daemon/8a1f25190e5082e3-turbo.log.2026-04-01 +0 -0
- package/package.json +32 -0
- package/papyrus-web/.env.development +2 -0
- package/papyrus-web/.prettierrc +22 -0
- package/papyrus-web/.turbo/turbo-build.log +30 -0
- package/papyrus-web/.turbo/turbo-format-lint.log +6 -0
- package/papyrus-web/README.adoc +84 -0
- package/papyrus-web/dist/assets/Lato-Black-B_kLSaRn.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-BlackItalic-B2JUbIh8.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Bold-DBmunEOG.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-BoldItalic-DfTVlc2v.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Italic-CxPt6gM6.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Light-Cg7pVZQZ.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-LightItalic-BkbZ6uep.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Regular-57KsL5Ww.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-Thin-CvSM47fD.ttf +0 -0
- package/papyrus-web/dist/assets/Lato-ThinItalic-9M4CJfMt.ttf +0 -0
- package/papyrus-web/dist/assets/browser-ponyfill-CVpHIrSq.js +2 -0
- package/papyrus-web/dist/assets/index-CjSWMYED.js +6122 -0
- package/papyrus-web/dist/assets/index-DJjGIuFa.css +1 -0
- package/papyrus-web/dist/assets/papyrus-icon-DqmMeq_6.png +0 -0
- package/papyrus-web/dist/favicon.ico +0 -0
- package/papyrus-web/dist/index.html +42 -0
- package/papyrus-web/dist/manifest.json +15 -0
- package/papyrus-web/dist/papyrus.ico +0 -0
- package/papyrus-web/index.html +41 -0
- package/papyrus-web/package.json +104 -0
- package/papyrus-web/public/favicon.ico +0 -0
- package/papyrus-web/public/manifest.json +15 -0
- package/papyrus-web/public/papyrus.ico +0 -0
- package/papyrus-web/src/ReactFlow.css +17 -0
- package/papyrus-web/src/core/PapyrusIcon.tsx +17 -0
- package/papyrus-web/src/core/PapyrusNavigationBarIcon.tsx +46 -0
- package/papyrus-web/src/core/URL.ts +34 -0
- package/papyrus-web/src/extensions/ExtensionRegistryMergeStrategy.ts +50 -0
- package/papyrus-web/src/fonts/Lato/Lato-Black.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-BlackItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Bold.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-BoldItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Italic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Light.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-LightItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Regular.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-Thin.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/Lato-ThinItalic.ttf +0 -0
- package/papyrus-web/src/fonts/Lato/OFL.txt +93 -0
- package/papyrus-web/src/fonts.css +81 -0
- package/papyrus-web/src/footer/Footer.tsx +50 -0
- package/papyrus-web/src/icons/papyrus-icon.png +0 -0
- package/papyrus-web/src/index.tsx +325 -0
- package/papyrus-web/src/portals.css +16 -0
- package/papyrus-web/src/react-app-env.d.ts +1 -0
- package/papyrus-web/src/reset.css +218 -0
- package/papyrus-web/src/variables.css +111 -0
- package/papyrus-web/src/vite-env.d.ts +1 -0
- package/papyrus-web/tsconfig.json +34 -0
- package/papyrus-web/vite.config.js +24 -0
- package/papyrus-web-components/.prettierrc +22 -0
- package/papyrus-web-components/.turbo/turbo-build.log +77 -0
- package/papyrus-web-components/.turbo/turbo-format-lint.log +6 -0
- package/papyrus-web-components/README.adoc +13 -0
- package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts +48 -0
- package/papyrus-web-components/dist/diagram-tools/EditProjectView.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts +33 -0
- package/papyrus-web-components/dist/diagram-tools/FilterableSortableList.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts +15 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts +20 -0
- package/papyrus-web-components/dist/diagram-tools/ModelBrowserFilterBar.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts +53 -0
- package/papyrus-web-components/dist/diagram-tools/PapyrusPopupToolContribution.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts +3 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts +32 -0
- package/papyrus-web-components/dist/diagram-tools/TransferModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/index.d.ts +61 -0
- package/papyrus-web-components/dist/index.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts +15 -0
- package/papyrus-web-components/dist/nodes/NodesDocumentTransform.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts +29 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/cuboid/CuboidNodeListLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts +3 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts +34 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts +22 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/customImage/CustomImageNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts +15 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts +33 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts +25 -0
- package/papyrus-web-components/dist/nodes/ellipse/EllipseNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/innerFlag/InnerFlagNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/note/NoteLabel.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts +19 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts +41 -0
- package/papyrus-web-components/dist/nodes/note/NoteNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/note/NoteNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/outerFlag/OuterFlagNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts +29 -0
- package/papyrus-web-components/dist/nodes/package/PackageNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts +24 -0
- package/papyrus-web-components/dist/nodes/package/PackageNodeListLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts +18 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts +23 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts +21 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.d.ts.map +1 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts +20 -0
- package/papyrus-web-components/dist/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.d.ts.map +1 -0
- package/papyrus-web-components/dist/papyrus-web-components.es.js +11710 -0
- package/papyrus-web-components/dist/papyrus-web-components.umd.js +11664 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts +3 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts +55 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts +65 -0
- package/papyrus-web-components/dist/profile/apply-profile/ApplyProfileModalMachine.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/apply-profile/UMLModelTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts +15 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts +48 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModal.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts +65 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/ApplyStereotypeModalMachine.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts +16 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts +72 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts +16 -0
- package/papyrus-web-components/dist/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts +15 -0
- package/papyrus-web-components/dist/widgets/CustomWidgetsDocumentTransform.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts +145 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferencePreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ContainmentReferenceSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts +18 -0
- package/papyrus-web-components/dist/widgets/containmentReference/ReorderIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts +23 -0
- package/papyrus-web-components/dist/widgets/containmentReference/dialogs/CreateNewChildDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/customImage/AddImageIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts +83 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts +20 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImagePreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/customImage/CustomImageSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts +17 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts +29 -0
- package/papyrus-web-components/dist/widgets/dialogs/ReorderItemsDialog.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts +97 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionFragment.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts +6 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts +21 -0
- package/papyrus-web-components/dist/widgets/languageExpression/LanguageExpressionSection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts +7 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts +135 -0
- package/papyrus-web-components/dist/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts +42 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioFragment.type.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts +16 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioIcon.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts +19 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioPreview.d.ts.map +1 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts +18 -0
- package/papyrus-web-components/dist/widgets/primitiveRadio/PrimitiveRadioSection.d.ts.map +1 -0
- package/papyrus-web-components/package.json +105 -0
- package/papyrus-web-components/src/diagram-tools/EditProjectView.types.ts +56 -0
- package/papyrus-web-components/src/diagram-tools/FilterableSortableList.tsx +172 -0
- package/papyrus-web-components/src/diagram-tools/FilterableSortableList.types.ts +34 -0
- package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.tsx +73 -0
- package/papyrus-web-components/src/diagram-tools/ModelBrowserFilterBar.types.ts +19 -0
- package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.tsx +206 -0
- package/papyrus-web-components/src/diagram-tools/PapyrusPopupToolContribution.types.ts +61 -0
- package/papyrus-web-components/src/diagram-tools/TransferModal.tsx +235 -0
- package/papyrus-web-components/src/diagram-tools/TransferModal.types.ts +35 -0
- package/papyrus-web-components/src/index.ts +61 -0
- package/papyrus-web-components/src/nodes/NodesDocumentTransform.ts +242 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNode.tsx +183 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNode.types.ts +30 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeConverter.ts +201 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeLayoutHandler.ts +283 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListConverter.ts +238 -0
- package/papyrus-web-components/src/nodes/cuboid/CuboidNodeListLayoutHandler.ts +260 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNode.tsx +153 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNode.types.ts +37 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNodeConverter.ts +212 -0
- package/papyrus-web-components/src/nodes/customImage/CustomImageNodeLayoutHandler.ts +53 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNode.tsx +119 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNode.types.ts +35 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNodeConverter.ts +208 -0
- package/papyrus-web-components/src/nodes/ellipse/EllipseNodeLayoutHandler.ts +284 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.tsx +156 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/innerFlag/InnerFlagNodeLayoutHandler.ts +118 -0
- package/papyrus-web-components/src/nodes/note/NoteLabel.tsx +146 -0
- package/papyrus-web-components/src/nodes/note/NoteNode.tsx +168 -0
- package/papyrus-web-components/src/nodes/note/NoteNode.types.ts +43 -0
- package/papyrus-web-components/src/nodes/note/NoteNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/note/NoteNodeLayoutHandler.ts +85 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.tsx +153 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeConverter.ts +200 -0
- package/papyrus-web-components/src/nodes/outerFlag/OuterFlagNodeLayoutHandler.ts +116 -0
- package/papyrus-web-components/src/nodes/package/PackageNode.tsx +200 -0
- package/papyrus-web-components/src/nodes/package/PackageNode.types.ts +30 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeConverter.ts +243 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeLayoutHandler.ts +229 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeListConverter.ts +254 -0
- package/papyrus-web-components/src/nodes/package/PackageNodeListLayoutHandler.ts +253 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.tsx +155 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode.types.ts +23 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter.ts +205 -0
- package/papyrus-web-components/src/nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler.ts +55 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.tsx +238 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModal.types.tsx +65 -0
- package/papyrus-web-components/src/profile/apply-profile/ApplyProfileModalMachine.tsx +175 -0
- package/papyrus-web-components/src/profile/apply-profile/UMLModelTreeItemContextMenuContribution.tsx +74 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.tsx +248 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModal.types.ts +57 -0
- package/papyrus-web-components/src/profile/apply-stereotype/ApplyStereotypeModalMachine.ts +185 -0
- package/papyrus-web-components/src/profile/apply-stereotype/UMLElementTreeItemContextMenuContribution.tsx +70 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.tsx +380 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileDialog.types.ts +84 -0
- package/papyrus-web-components/src/profile/publish-profile/PublishProfileTreeItemContextMenuContribution.tsx +59 -0
- package/papyrus-web-components/src/widgets/CustomWidgetsDocumentTransform.ts +215 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceFragment.types.ts +178 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceIcon.tsx +38 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferencePreview.tsx +106 -0
- package/papyrus-web-components/src/widgets/containmentReference/ContainmentReferenceSection.tsx +508 -0
- package/papyrus-web-components/src/widgets/containmentReference/ReorderIcon.tsx +31 -0
- package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.tsx +104 -0
- package/papyrus-web-components/src/widgets/containmentReference/dialogs/CreateNewChildDialog.types.ts +24 -0
- package/papyrus-web-components/src/widgets/customImage/AddImageIcon.tsx +35 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageFragment.types.ts +98 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageIcon.tsx +34 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImagePreview.tsx +87 -0
- package/papyrus-web-components/src/widgets/customImage/CustomImageSection.tsx +348 -0
- package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.tsx +145 -0
- package/papyrus-web-components/src/widgets/dialogs/ReorderItemsDialog.types.ts +30 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionFragment.types.ts +117 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionIcon.tsx +36 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionPreview.tsx +163 -0
- package/papyrus-web-components/src/widgets/languageExpression/LanguageExpressionSection.tsx +548 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPreview.tsx +158 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.tsx +616 -0
- package/papyrus-web-components/src/widgets/primitiveList/PrimitiveListWidgetPropertySection.types.ts +162 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioFragment.type.ts +49 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioIcon.tsx +36 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioPreview.tsx +88 -0
- package/papyrus-web-components/src/widgets/primitiveRadio/PrimitiveRadioSection.tsx +128 -0
- package/papyrus-web-components/tsconfig.json +14 -0
- package/papyrus-web-components/vite.config.js +26 -0
- package/turbo.json +31 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 CEA LIST, Obeo.
|
|
3
|
+
* This program and the accompanying materials
|
|
4
|
+
* are made available under the terms of the Eclipse Public License v2.0
|
|
5
|
+
* which accompanies this distribution, and is available at
|
|
6
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
*
|
|
10
|
+
* Contributors:
|
|
11
|
+
* Obeo - initial API and implementation
|
|
12
|
+
*******************************************************************************/
|
|
13
|
+
|
|
14
|
+
import IconButton from '@mui/material/IconButton';
|
|
15
|
+
import InputAdornment from '@mui/material/InputAdornment';
|
|
16
|
+
import { Theme } from '@mui/material/styles';
|
|
17
|
+
import { makeStyles } from 'tss-react/mui';
|
|
18
|
+
import TextField from '@mui/material/TextField';
|
|
19
|
+
import ClearIcon from '@mui/icons-material/Clear';
|
|
20
|
+
import SearchIcon from '@mui/icons-material/Search';
|
|
21
|
+
import { ModelBrowserFilterBarProps } from './ModelBrowserFilterBar.types';
|
|
22
|
+
|
|
23
|
+
const useFilterBarStyles = makeStyles()((theme: Theme) => ({
|
|
24
|
+
filterbar: {
|
|
25
|
+
display: 'flex',
|
|
26
|
+
flexDirection: 'row',
|
|
27
|
+
overflow: 'hidden',
|
|
28
|
+
},
|
|
29
|
+
textfield: {
|
|
30
|
+
height: theme.spacing(3),
|
|
31
|
+
fontSize: theme.typography.fontSize,
|
|
32
|
+
},
|
|
33
|
+
placeHolderIcon: {
|
|
34
|
+
color: theme.palette.text.disabled,
|
|
35
|
+
},
|
|
36
|
+
}));
|
|
37
|
+
export const ModelBrowserFilterBar = ({ onTextChange, onTextClear, text, onFocus }: ModelBrowserFilterBarProps) => {
|
|
38
|
+
const { classes } = useFilterBarStyles();
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<div className={classes.filterbar}>
|
|
42
|
+
<TextField
|
|
43
|
+
id="filterbar-textfield"
|
|
44
|
+
data-testid="filterbar-textfield"
|
|
45
|
+
name="filterbar-textfield"
|
|
46
|
+
placeholder="Type to filter"
|
|
47
|
+
spellCheck={false}
|
|
48
|
+
size="small"
|
|
49
|
+
margin="none"
|
|
50
|
+
autoFocus={onFocus}
|
|
51
|
+
multiline={false}
|
|
52
|
+
fullWidth
|
|
53
|
+
value={text}
|
|
54
|
+
onChange={onTextChange}
|
|
55
|
+
InputProps={{
|
|
56
|
+
startAdornment: (
|
|
57
|
+
<InputAdornment position="start">
|
|
58
|
+
<SearchIcon fontSize="small" className={classes.placeHolderIcon} />
|
|
59
|
+
</InputAdornment>
|
|
60
|
+
),
|
|
61
|
+
endAdornment: (
|
|
62
|
+
<InputAdornment position="end">
|
|
63
|
+
<IconButton data-testid="filterbar-clear-button" aria-label="clear" size="small" onClick={onTextClear}>
|
|
64
|
+
<ClearIcon fontSize="small" />
|
|
65
|
+
</IconButton>
|
|
66
|
+
</InputAdornment>
|
|
67
|
+
),
|
|
68
|
+
className: classes.textfield,
|
|
69
|
+
}}
|
|
70
|
+
/>
|
|
71
|
+
</div>
|
|
72
|
+
);
|
|
73
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 Obeo.
|
|
3
|
+
* This program and the accompanying materials
|
|
4
|
+
* are made available under the terms of the Eclipse Public License v2.0
|
|
5
|
+
* which accompanies this distribution, and is available at
|
|
6
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
*
|
|
10
|
+
* Contributors:
|
|
11
|
+
* Obeo - initial API and implementation
|
|
12
|
+
*******************************************************************************/
|
|
13
|
+
|
|
14
|
+
export interface ModelBrowserFilterBarProps {
|
|
15
|
+
onTextChange: React.ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
|
|
16
|
+
onTextClear: () => void;
|
|
17
|
+
text: string | null;
|
|
18
|
+
onFocus: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/*****************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 CEA LIST, Obeo.
|
|
3
|
+
*
|
|
4
|
+
* All rights reserved. This program and the accompanying materials
|
|
5
|
+
* are made available under the terms of the Eclipse Public License 2.0
|
|
6
|
+
* which accompanies this distribution, and is available at
|
|
7
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
8
|
+
*
|
|
9
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
10
|
+
*
|
|
11
|
+
* Contributors:
|
|
12
|
+
* Obeo - Initial API and implementation
|
|
13
|
+
*****************************************************************************/
|
|
14
|
+
import { gql, useMutation, useQuery } from '@apollo/client';
|
|
15
|
+
import { ServerContext, ServerContextValue, useMultiToast } from '@eclipse-sirius/sirius-components-core';
|
|
16
|
+
import {
|
|
17
|
+
DiagramContext,
|
|
18
|
+
DiagramContextValue,
|
|
19
|
+
DiagramPaletteToolContributionComponentProps,
|
|
20
|
+
NodeData,
|
|
21
|
+
} from '@eclipse-sirius/sirius-components-diagrams';
|
|
22
|
+
import { useCurrentProject } from '@eclipse-sirius/sirius-web-application';
|
|
23
|
+
import IconButton from '@mui/material/IconButton';
|
|
24
|
+
import { Node, useNodes } from '@xyflow/react';
|
|
25
|
+
import { Fragment, useContext, useEffect, useState } from 'react';
|
|
26
|
+
import { GQLGetProjectQueryData, GQLGetProjectQueryVariables } from './EditProjectView.types';
|
|
27
|
+
import {
|
|
28
|
+
ErrorPayload,
|
|
29
|
+
GQLCreateMetaclassImportData,
|
|
30
|
+
GQLCreateMetaclassImportVariables,
|
|
31
|
+
GQLGetMetaclassesQueryData,
|
|
32
|
+
GQLGetMetaclassesQueryVariables,
|
|
33
|
+
} from './PapyrusPopupToolContribution.types';
|
|
34
|
+
|
|
35
|
+
import { TransferModal } from './TransferModal';
|
|
36
|
+
|
|
37
|
+
type Modal = 'dialog';
|
|
38
|
+
|
|
39
|
+
const getProjectQuery = gql`
|
|
40
|
+
query getRepresentation($projectId: ID!, $representationId: ID!, $includeRepresentation: Boolean!) {
|
|
41
|
+
viewer {
|
|
42
|
+
project(projectId: $projectId) {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
currentEditingContext {
|
|
46
|
+
id
|
|
47
|
+
representation(representationId: $representationId) @include(if: $includeRepresentation) {
|
|
48
|
+
id
|
|
49
|
+
label
|
|
50
|
+
kind
|
|
51
|
+
isProfileDiagram
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
`;
|
|
58
|
+
|
|
59
|
+
const getMetaclassMetadatas = gql`
|
|
60
|
+
query getMetaclassMetadatas($editingContextId: ID!) {
|
|
61
|
+
viewer {
|
|
62
|
+
editingContext(editingContextId: $editingContextId) {
|
|
63
|
+
metaclassMetadatas {
|
|
64
|
+
id
|
|
65
|
+
name
|
|
66
|
+
imagePath
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
72
|
+
|
|
73
|
+
const createMetaclassImportMutation = gql`
|
|
74
|
+
mutation createMetaclassImport($input: CreateMetaclassImportInput!) {
|
|
75
|
+
createMetaclassImport(input: $input) {
|
|
76
|
+
__typename
|
|
77
|
+
... on ErrorPayload {
|
|
78
|
+
message
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
|
|
84
|
+
export const PapyrusPopupToolContribution = ({
|
|
85
|
+
diagramElementId,
|
|
86
|
+
x,
|
|
87
|
+
y,
|
|
88
|
+
}: DiagramPaletteToolContributionComponentProps) => {
|
|
89
|
+
const [modal, setModal] = useState<Modal | null>(null);
|
|
90
|
+
const { addErrorMessage } = useMultiToast();
|
|
91
|
+
const { httpOrigin } = useContext<ServerContextValue>(ServerContext);
|
|
92
|
+
const { diagramId, editingContextId } = useContext<DiagramContextValue>(DiagramContext);
|
|
93
|
+
const { project } = useCurrentProject();
|
|
94
|
+
|
|
95
|
+
const onClose = (selectedElementIds: string[]) => {
|
|
96
|
+
setModal(null);
|
|
97
|
+
const variables: GQLCreateMetaclassImportVariables = {
|
|
98
|
+
input: {
|
|
99
|
+
id: crypto.randomUUID(),
|
|
100
|
+
editingContextId,
|
|
101
|
+
representationId: diagramId,
|
|
102
|
+
diagramElementId,
|
|
103
|
+
x,
|
|
104
|
+
y,
|
|
105
|
+
metaclassIds: selectedElementIds,
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
createMetaclassImport({ variables });
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const [isProfileDiagram, setIsProfileDIagram] = useState(false);
|
|
112
|
+
const [metaclasses, setMetaclasses] = useState([{ id: '0', name: 'Loading...', imagePath: '' }]);
|
|
113
|
+
|
|
114
|
+
const {
|
|
115
|
+
loading: loadingRepresentationQuery,
|
|
116
|
+
data: dataRepresentationQuery,
|
|
117
|
+
error: errorRepresentationQuery,
|
|
118
|
+
} = useQuery<GQLGetProjectQueryData, GQLGetProjectQueryVariables>(getProjectQuery, {
|
|
119
|
+
variables: {
|
|
120
|
+
projectId: project.id,
|
|
121
|
+
representationId: diagramId,
|
|
122
|
+
includeRepresentation: true,
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
useEffect(() => {
|
|
126
|
+
if (!loadingRepresentationQuery) {
|
|
127
|
+
if (errorRepresentationQuery) {
|
|
128
|
+
addErrorMessage(errorRepresentationQuery.message);
|
|
129
|
+
}
|
|
130
|
+
if (dataRepresentationQuery) {
|
|
131
|
+
setIsProfileDIagram(
|
|
132
|
+
!!dataRepresentationQuery?.viewer?.project?.currentEditingContext?.representation?.isProfileDiagram
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}, [loadingRepresentationQuery, dataRepresentationQuery, errorRepresentationQuery]);
|
|
137
|
+
|
|
138
|
+
const {
|
|
139
|
+
loading: loadingQuery,
|
|
140
|
+
error: errorQuery,
|
|
141
|
+
data: dataQuery,
|
|
142
|
+
} = useQuery<GQLGetMetaclassesQueryData, GQLGetMetaclassesQueryVariables>(getMetaclassMetadatas, {
|
|
143
|
+
variables: { editingContextId },
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
useEffect(() => {
|
|
147
|
+
if (dataQuery?.viewer?.editingContext?.metaclassMetadatas) {
|
|
148
|
+
setMetaclasses(dataQuery.viewer.editingContext.metaclassMetadatas);
|
|
149
|
+
}
|
|
150
|
+
if (!loadingQuery) {
|
|
151
|
+
if (errorQuery) {
|
|
152
|
+
addErrorMessage(errorQuery.message);
|
|
153
|
+
} else if (!dataQuery?.viewer?.editingContext?.metaclassMetadatas) {
|
|
154
|
+
addErrorMessage('Failed to retrieve MetaClass metadatas');
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}, [loadingQuery, dataQuery, errorQuery]);
|
|
158
|
+
|
|
159
|
+
const [createMetaclassImport, { data, error }] = useMutation<
|
|
160
|
+
GQLCreateMetaclassImportData,
|
|
161
|
+
GQLCreateMetaclassImportVariables
|
|
162
|
+
>(createMetaclassImportMutation);
|
|
163
|
+
useEffect(() => {
|
|
164
|
+
if (error) {
|
|
165
|
+
addErrorMessage(error.message);
|
|
166
|
+
}
|
|
167
|
+
if (data && data.createMetaclassImport.__typename === 'ErrorPayload') {
|
|
168
|
+
const errorPayload = data.createMetaclassImport as ErrorPayload;
|
|
169
|
+
addErrorMessage(errorPayload.message);
|
|
170
|
+
}
|
|
171
|
+
}, [data, error, onClose]);
|
|
172
|
+
|
|
173
|
+
let modalElement: JSX.Element | null = null;
|
|
174
|
+
if (modal === 'dialog') {
|
|
175
|
+
modalElement = <TransferModal editingContextId={editingContextId} items={metaclasses} onClose={onClose} />;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
const nodes = useNodes<Node<NodeData>>();
|
|
179
|
+
|
|
180
|
+
const result = (
|
|
181
|
+
<Fragment key="import-metaclass-modal-contribution">
|
|
182
|
+
<IconButton
|
|
183
|
+
size="small"
|
|
184
|
+
color="inherit"
|
|
185
|
+
aria-label="Import Metaclass"
|
|
186
|
+
title="Import Metaclass"
|
|
187
|
+
onClick={() => setModal('dialog')}
|
|
188
|
+
data-testid="import-metaclass">
|
|
189
|
+
<img width="16" height="16" alt={''} src={httpOrigin + '/api/images/icons-override/full/obj16/Metaclass.svg'} />
|
|
190
|
+
</IconButton>
|
|
191
|
+
{modalElement}
|
|
192
|
+
</Fragment>
|
|
193
|
+
);
|
|
194
|
+
|
|
195
|
+
if (!isProfileDiagram) {
|
|
196
|
+
return null;
|
|
197
|
+
}
|
|
198
|
+
const targetedNode = nodes.find((node) => node.id === diagramElementId);
|
|
199
|
+
if (diagramId === diagramElementId) {
|
|
200
|
+
return result;
|
|
201
|
+
} else if (targetedNode?.data.targetObjectKind === 'siriusComponents://semantic?domain=uml&entity=Profile') {
|
|
202
|
+
return result;
|
|
203
|
+
} else {
|
|
204
|
+
return null;
|
|
205
|
+
}
|
|
206
|
+
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*****************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 CEA LIST, Obeo.
|
|
3
|
+
*
|
|
4
|
+
* All rights reserved. This program and the accompanying materials
|
|
5
|
+
* are made available under the terms of the Eclipse Public License 2.0
|
|
6
|
+
* which accompanies this distribution, and is available at
|
|
7
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
8
|
+
*
|
|
9
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
10
|
+
*
|
|
11
|
+
* Contributors:
|
|
12
|
+
* Obeo - Initial API and implementation
|
|
13
|
+
*****************************************************************************/
|
|
14
|
+
export interface GQLGetMetaclassesQueryVariables {
|
|
15
|
+
editingContextId: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface GQLGetMetaclassesQueryData {
|
|
19
|
+
viewer: GQLViewer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface GQLViewer {
|
|
23
|
+
editingContext: GQLEditingContext;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface GQLEditingContext {
|
|
27
|
+
metaclassMetadatas: [GQLMetaclassMetadata];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface GQLMetaclassMetadata {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
imagePath: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface GQLCreateMetaclassImportData {
|
|
37
|
+
createMetaclassImport: GQLCreateMetaclassImportPayload;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface GQLCreateMetaclassImportPayload {
|
|
41
|
+
__typename: string;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface ErrorPayload extends GQLCreateMetaclassImportPayload {
|
|
45
|
+
__typename: 'ErrorPayload';
|
|
46
|
+
message: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface GQLCreateMetaclassImportVariables {
|
|
50
|
+
input: GQLCreateMetaclassImportInput;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface GQLCreateMetaclassImportInput {
|
|
54
|
+
id: string;
|
|
55
|
+
editingContextId: string;
|
|
56
|
+
representationId: string;
|
|
57
|
+
diagramElementId: string;
|
|
58
|
+
metaclassIds: string[];
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 CEA LIST, Obeo.
|
|
3
|
+
* This program and the accompanying materials
|
|
4
|
+
* are made available under the terms of the Eclipse Public License v2.0
|
|
5
|
+
* which accompanies this distribution, and is available at
|
|
6
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
*
|
|
10
|
+
* Contributors:
|
|
11
|
+
* Obeo - initial API and implementation
|
|
12
|
+
* CEA LIST - Copied from TranserModal.tsx at b975254b422a849f96b6fd56d7e9316d52b750e0. Adapted to show a FilterableSortableList on the left and right.
|
|
13
|
+
*******************************************************************************/
|
|
14
|
+
import ChevronLeftIcon from '@mui/icons-material/ChevronLeft';
|
|
15
|
+
import ChevronRightIcon from '@mui/icons-material/ChevronRight';
|
|
16
|
+
import Button from '@mui/material/Button';
|
|
17
|
+
import Dialog from '@mui/material/Dialog';
|
|
18
|
+
import DialogActions from '@mui/material/DialogActions';
|
|
19
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
20
|
+
import DialogTitle from '@mui/material/DialogTitle';
|
|
21
|
+
import Grid from '@mui/material/Grid';
|
|
22
|
+
import IconButton from '@mui/material/IconButton';
|
|
23
|
+
import React, { useState } from 'react';
|
|
24
|
+
import { makeStyles } from 'tss-react/mui';
|
|
25
|
+
import { FilterableSortableList } from './FilterableSortableList';
|
|
26
|
+
import { ItemWithIcon, TransferModalProps, TransferModalState } from './TransferModal.types';
|
|
27
|
+
|
|
28
|
+
const useStyles = makeStyles()((theme) => ({
|
|
29
|
+
dialogContent: {
|
|
30
|
+
overflowX: 'hidden',
|
|
31
|
+
},
|
|
32
|
+
root: {
|
|
33
|
+
margin: 'auto',
|
|
34
|
+
},
|
|
35
|
+
paper: {
|
|
36
|
+
width: 400,
|
|
37
|
+
height: 370,
|
|
38
|
+
overflow: 'auto',
|
|
39
|
+
},
|
|
40
|
+
button: {
|
|
41
|
+
margin: theme.spacing(0.5, 0),
|
|
42
|
+
},
|
|
43
|
+
}));
|
|
44
|
+
|
|
45
|
+
export const TransferModal = ({ items, onClose }: TransferModalProps) => {
|
|
46
|
+
const { classes } = useStyles();
|
|
47
|
+
const [state, setState] = useState<TransferModalState>({
|
|
48
|
+
right: [],
|
|
49
|
+
rightSelection: [],
|
|
50
|
+
draggingRightItemId: undefined,
|
|
51
|
+
left: items.map((i) => ({
|
|
52
|
+
id: i.id,
|
|
53
|
+
label: i.name,
|
|
54
|
+
iconURL: i.imagePath,
|
|
55
|
+
})),
|
|
56
|
+
leftSelection: [],
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
const onClick = (event: React.MouseEvent<Element, MouseEvent>, item: ItemWithIcon) => {
|
|
60
|
+
const isItemRight = state.right.find((entry) => entry.id === item.id);
|
|
61
|
+
const isItemLeft = state.left.find((entry) => entry.id === item.id);
|
|
62
|
+
|
|
63
|
+
if (event.ctrlKey || event.metaKey) {
|
|
64
|
+
event.stopPropagation();
|
|
65
|
+
|
|
66
|
+
if (isItemRight) {
|
|
67
|
+
const isItemInSelection = state.rightSelection.find((entry) => entry.id === item.id);
|
|
68
|
+
const newSelection: ItemWithIcon[] = isItemInSelection
|
|
69
|
+
? state.rightSelection.filter((entry) => entry.id !== item.id)
|
|
70
|
+
: [...state.rightSelection, item];
|
|
71
|
+
setState((prevState) => {
|
|
72
|
+
return {
|
|
73
|
+
...prevState,
|
|
74
|
+
rightSelection: newSelection,
|
|
75
|
+
leftSelection: [],
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
} else if (isItemLeft) {
|
|
79
|
+
const isItemInSelection = state.leftSelection.find((entry) => entry.id === item.id);
|
|
80
|
+
const newSelection: ItemWithIcon[] = isItemInSelection
|
|
81
|
+
? state.leftSelection.filter((entry) => entry.id !== item.id)
|
|
82
|
+
: [...state.leftSelection, item];
|
|
83
|
+
setState((prevState) => {
|
|
84
|
+
return {
|
|
85
|
+
...prevState,
|
|
86
|
+
rightSelection: [],
|
|
87
|
+
leftSelection: newSelection,
|
|
88
|
+
};
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
} else {
|
|
92
|
+
setState((prevState) => {
|
|
93
|
+
return {
|
|
94
|
+
...prevState,
|
|
95
|
+
rightSelection: isItemRight ? [item] : [],
|
|
96
|
+
leftSelection: isItemLeft ? [item] : [],
|
|
97
|
+
};
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const handleDispatchRight = () => {
|
|
103
|
+
setState((prevState) => {
|
|
104
|
+
return {
|
|
105
|
+
...prevState,
|
|
106
|
+
right: prevState.right
|
|
107
|
+
.concat(
|
|
108
|
+
prevState.leftSelection.filter(
|
|
109
|
+
(newEntry) => !prevState.right.some((existingEntry) => existingEntry.id === newEntry.id)
|
|
110
|
+
)
|
|
111
|
+
)
|
|
112
|
+
.sort((o1, o2) => o1.label.localeCompare(o2.label)),
|
|
113
|
+
left: prevState.left.filter(
|
|
114
|
+
(newEntry) => !prevState.leftSelection.some((existingEntry) => existingEntry.id === newEntry.id)
|
|
115
|
+
),
|
|
116
|
+
leftSelection: [],
|
|
117
|
+
rightSelection: [],
|
|
118
|
+
};
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
const handleDispatchLeft = () => {
|
|
123
|
+
setState((prevState) => {
|
|
124
|
+
return {
|
|
125
|
+
...prevState,
|
|
126
|
+
right: prevState.right.filter(
|
|
127
|
+
(entry) => !prevState.rightSelection.some((selected) => selected.id === entry.id)
|
|
128
|
+
),
|
|
129
|
+
rightSelection: [],
|
|
130
|
+
left: prevState.left
|
|
131
|
+
.concat(
|
|
132
|
+
prevState.rightSelection.filter(
|
|
133
|
+
(newEntry) => !prevState.left.some((existingEntry) => existingEntry.id === newEntry.id)
|
|
134
|
+
)
|
|
135
|
+
)
|
|
136
|
+
.sort((o1, o2) => o1.label.localeCompare(o2.label)),
|
|
137
|
+
leftSelection: [],
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
return (
|
|
143
|
+
<Dialog
|
|
144
|
+
open={true}
|
|
145
|
+
onClose={() => onClose([])}
|
|
146
|
+
aria-labelledby="dialog-title"
|
|
147
|
+
maxWidth={false}
|
|
148
|
+
onMouseDown={(event) => event.stopPropagation()}
|
|
149
|
+
data-testid="transfer-modal">
|
|
150
|
+
<DialogTitle id="dialog-title">Select Metaclass</DialogTitle>
|
|
151
|
+
<DialogContent className={classes.dialogContent}>
|
|
152
|
+
<Grid container spacing={2} justifyContent="center" alignItems="center" className={classes.root}>
|
|
153
|
+
<Grid>
|
|
154
|
+
<div className={classes.paper}>
|
|
155
|
+
<FilterableSortableList
|
|
156
|
+
items={state.left}
|
|
157
|
+
setItems={(items: ItemWithIcon[]) =>
|
|
158
|
+
setState((prevState) => {
|
|
159
|
+
return {
|
|
160
|
+
...prevState,
|
|
161
|
+
left: items,
|
|
162
|
+
};
|
|
163
|
+
})
|
|
164
|
+
}
|
|
165
|
+
onClick={onClick}
|
|
166
|
+
onDoubleClick={handleDispatchRight}
|
|
167
|
+
selectedItems={state.leftSelection}
|
|
168
|
+
onFocusFilter={true}
|
|
169
|
+
/>
|
|
170
|
+
</div>
|
|
171
|
+
</Grid>
|
|
172
|
+
<Grid>
|
|
173
|
+
<Grid container direction="column" alignItems="center">
|
|
174
|
+
<IconButton
|
|
175
|
+
className={classes.button}
|
|
176
|
+
onClick={handleDispatchRight}
|
|
177
|
+
disabled={
|
|
178
|
+
!state.leftSelection.some(
|
|
179
|
+
(leftEntry) => !state.right.some((rightEntry) => rightEntry.id === leftEntry.id)
|
|
180
|
+
)
|
|
181
|
+
}
|
|
182
|
+
aria-label="move selected right"
|
|
183
|
+
data-testid="move-right">
|
|
184
|
+
<ChevronRightIcon />
|
|
185
|
+
</IconButton>
|
|
186
|
+
<IconButton
|
|
187
|
+
className={classes.button}
|
|
188
|
+
onClick={handleDispatchLeft}
|
|
189
|
+
disabled={
|
|
190
|
+
!state.rightSelection.some(
|
|
191
|
+
(rightEntry) => !state.left.some((leftEntry) => leftEntry.id === rightEntry.id)
|
|
192
|
+
)
|
|
193
|
+
}
|
|
194
|
+
aria-label="move selected left"
|
|
195
|
+
data-testid="move-left">
|
|
196
|
+
<ChevronLeftIcon />
|
|
197
|
+
</IconButton>
|
|
198
|
+
</Grid>
|
|
199
|
+
</Grid>
|
|
200
|
+
<Grid>
|
|
201
|
+
<div className={classes.paper}>
|
|
202
|
+
<FilterableSortableList
|
|
203
|
+
items={state.right}
|
|
204
|
+
setItems={(items: ItemWithIcon[]) =>
|
|
205
|
+
setState((prevState) => {
|
|
206
|
+
return {
|
|
207
|
+
...prevState,
|
|
208
|
+
right: items,
|
|
209
|
+
};
|
|
210
|
+
})
|
|
211
|
+
}
|
|
212
|
+
onClick={onClick}
|
|
213
|
+
onDoubleClick={handleDispatchLeft}
|
|
214
|
+
selectedItems={state.rightSelection}
|
|
215
|
+
onFocusFilter={false}
|
|
216
|
+
/>
|
|
217
|
+
</div>
|
|
218
|
+
</Grid>
|
|
219
|
+
</Grid>
|
|
220
|
+
</DialogContent>
|
|
221
|
+
<DialogActions>
|
|
222
|
+
<Button
|
|
223
|
+
variant="contained"
|
|
224
|
+
color="primary"
|
|
225
|
+
type="button"
|
|
226
|
+
data-testid="apply-change"
|
|
227
|
+
onClick={() => {
|
|
228
|
+
onClose(state.right.map((entry) => entry.id));
|
|
229
|
+
}}>
|
|
230
|
+
Apply
|
|
231
|
+
</Button>
|
|
232
|
+
</DialogActions>
|
|
233
|
+
</Dialog>
|
|
234
|
+
);
|
|
235
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2023, 2025 Obeo.
|
|
3
|
+
* This program and the accompanying materials
|
|
4
|
+
* are made available under the terms of the Eclipse Public License v2.0
|
|
5
|
+
* which accompanies this distribution, and is available at
|
|
6
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
*
|
|
10
|
+
* Contributors:
|
|
11
|
+
* Obeo - initial API and implementation
|
|
12
|
+
* CEA LIST - copied from TranserModal.types.ts at 10f4e6386bb9eeb3839071e9cdd4d1ceb8efcb39. Adapted to show a FilterableSortableList on the left and right.
|
|
13
|
+
*******************************************************************************/
|
|
14
|
+
|
|
15
|
+
import { GQLMetaclassMetadata } from './PapyrusPopupToolContribution.types';
|
|
16
|
+
|
|
17
|
+
export interface TransferModalProps {
|
|
18
|
+
editingContextId: string;
|
|
19
|
+
items: GQLMetaclassMetadata[];
|
|
20
|
+
onClose: (selectedElementIds: string[]) => void;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface TransferModalState {
|
|
24
|
+
left: ItemWithIcon[];
|
|
25
|
+
leftSelection: ItemWithIcon[];
|
|
26
|
+
right: ItemWithIcon[];
|
|
27
|
+
rightSelection: ItemWithIcon[];
|
|
28
|
+
draggingRightItemId: string | undefined;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface ItemWithIcon {
|
|
32
|
+
id: string;
|
|
33
|
+
label: string;
|
|
34
|
+
iconURL: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
* Copyright (c) 2025 CEA LIST, Obeo.
|
|
3
|
+
* This program and the accompanying materials
|
|
4
|
+
* are made available under the terms of the Eclipse Public License v2.0
|
|
5
|
+
* which accompanies this distribution, and is available at
|
|
6
|
+
* https://www.eclipse.org/legal/epl-2.0/
|
|
7
|
+
*
|
|
8
|
+
* SPDX-License-Identifier: EPL-2.0
|
|
9
|
+
*
|
|
10
|
+
* Contributors:
|
|
11
|
+
* Obeo - initial API and implementation
|
|
12
|
+
*******************************************************************************/
|
|
13
|
+
|
|
14
|
+
export { ContainmentReferenceIcon } from './widgets/containmentReference/ContainmentReferenceIcon';
|
|
15
|
+
export { ContainmentReferencePreview } from './widgets/containmentReference/ContainmentReferencePreview';
|
|
16
|
+
export { CuboidNode } from './nodes/cuboid/CuboidNode';
|
|
17
|
+
export { CuboidNodeConverter } from './nodes/cuboid/CuboidNodeConverter';
|
|
18
|
+
export { CuboidNodeLayoutHandler } from './nodes/cuboid/CuboidNodeLayoutHandler';
|
|
19
|
+
export { CuboidNodeListConverter } from './nodes/cuboid/CuboidNodeListConverter';
|
|
20
|
+
export { CuboidNodeListLayoutHandler } from './nodes/cuboid/CuboidNodeListLayoutHandler';
|
|
21
|
+
export { CustomImageIcon } from './widgets/customImage/CustomImageIcon';
|
|
22
|
+
export { CustomImageNode } from './nodes/customImage/CustomImageNode';
|
|
23
|
+
export { CustomImageNodeConverter } from './nodes/customImage/CustomImageNodeConverter';
|
|
24
|
+
export { CustomImageNodeLayoutHandler } from './nodes/customImage/CustomImageNodeLayoutHandler';
|
|
25
|
+
export { CustomImagePreview } from './widgets/customImage/CustomImagePreview';
|
|
26
|
+
export { CustomImageSection } from './widgets/customImage/CustomImageSection';
|
|
27
|
+
export { customWidgetsDocumentTransform } from './widgets/CustomWidgetsDocumentTransform';
|
|
28
|
+
export { default as ContainmentReferenceSection } from './widgets/containmentReference/ContainmentReferenceSection';
|
|
29
|
+
export { EllipseNode } from './nodes/ellipse/EllipseNode';
|
|
30
|
+
export { EllipseNodeConverter } from './nodes/ellipse/EllipseNodeConverter';
|
|
31
|
+
export { EllipseNodeLayoutHandler } from './nodes/ellipse/EllipseNodeLayoutHandler';
|
|
32
|
+
export { InnerFlagNode } from './nodes/innerFlag/InnerFlagNode';
|
|
33
|
+
export { InnerFlagNodeConverter } from './nodes/innerFlag/InnerFlagNodeConverter';
|
|
34
|
+
export { InnerFlagNodeLayoutHandler } from './nodes/innerFlag/InnerFlagNodeLayoutHandler';
|
|
35
|
+
export { LanguageExpressionIcon } from './widgets/languageExpression/LanguageExpressionIcon';
|
|
36
|
+
export { LanguageExpressionPreview } from './widgets/languageExpression/LanguageExpressionPreview';
|
|
37
|
+
export { LanguageExpressionSection } from './widgets/languageExpression/LanguageExpressionSection';
|
|
38
|
+
export { nodesStyleDocumentTransform } from './nodes/NodesDocumentTransform';
|
|
39
|
+
export { NoteNode } from './nodes/note/NoteNode';
|
|
40
|
+
export { NoteNodeConverter } from './nodes/note/NoteNodeConverter';
|
|
41
|
+
export { NoteNodeLayoutHandler } from './nodes/note/NoteNodeLayoutHandler';
|
|
42
|
+
export { OuterFlagNode } from './nodes/outerFlag/OuterFlagNode';
|
|
43
|
+
export { OuterFlagNodeConverter } from './nodes/outerFlag/OuterFlagNodeConverter';
|
|
44
|
+
export { OuterFlagNodeLayoutHandler } from './nodes/outerFlag/OuterFlagNodeLayoutHandler';
|
|
45
|
+
export { PackageNode } from './nodes/package/PackageNode';
|
|
46
|
+
export { PackageNodeConverter } from './nodes/package/PackageNodeConverter';
|
|
47
|
+
export { PackageNodeLayoutHandler } from './nodes/package/PackageNodeLayoutHandler';
|
|
48
|
+
export { PackageNodeListConverter } from './nodes/package/PackageNodeListConverter';
|
|
49
|
+
export { PackageNodeListLayoutHandler } from './nodes/package/PackageNodeListLayoutHandler';
|
|
50
|
+
export { PapyrusPopupToolContribution } from './diagram-tools/PapyrusPopupToolContribution';
|
|
51
|
+
export { PrimitiveListSection } from './widgets/primitiveList/PrimitiveListWidgetPropertySection';
|
|
52
|
+
export { PrimitiveListWidgetPreview } from './widgets/primitiveList/PrimitiveListWidgetPreview';
|
|
53
|
+
export { PrimitiveRadioIcon } from './widgets/primitiveRadio/PrimitiveRadioIcon';
|
|
54
|
+
export { PrimitiveRadioPreview } from './widgets/primitiveRadio/PrimitiveRadioPreview';
|
|
55
|
+
export { PrimitiveRadioSection } from './widgets/primitiveRadio/PrimitiveRadioSection';
|
|
56
|
+
export { PublishProfileTreeItemContextMenuContribution } from './profile/publish-profile/PublishProfileTreeItemContextMenuContribution';
|
|
57
|
+
export { RectangleWithExternalLabelNode } from './nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNode';
|
|
58
|
+
export { RectangleWithExternalLabelNodeConverter } from './nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeConverter';
|
|
59
|
+
export { RectangleWithExternalLabelNodeLayoutHandler } from './nodes/rectangleWithExternalLabel/RectangleWithExternalLabelNodeLayoutHandler';
|
|
60
|
+
export { UMLElementTreeItemContextMenuContribution } from './profile/apply-stereotype/UMLElementTreeItemContextMenuContribution';
|
|
61
|
+
export { UMLModelTreeItemContextMenuContribution } from './profile/apply-profile/UMLModelTreeItemContextMenuContribution';
|