@eclipse-glsp/client 1.1.0-next.698b9de.254 → 1.1.0-next.69a77b0.259
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/lib/base/action-dispatcher.d.ts.map +1 -1
- package/lib/base/action-dispatcher.js +5 -3
- package/lib/base/action-dispatcher.js.map +1 -1
- package/lib/base/actions/focus-change-action.js +1 -1
- package/lib/base/actions/focus-change-action.js.map +1 -1
- package/lib/base/auto-complete/auto-complete-actions.js +1 -1
- package/lib/base/auto-complete/auto-complete-actions.js.map +1 -1
- package/lib/base/auto-complete/validation-decorator.js +1 -1
- package/lib/base/auto-complete/validation-decorator.js.map +1 -1
- package/lib/base/command-stack.d.ts +17 -2
- package/lib/base/command-stack.d.ts.map +1 -1
- package/lib/base/command-stack.js +43 -3
- package/lib/base/command-stack.js.map +1 -1
- package/lib/base/di.config.d.ts.map +1 -1
- package/lib/base/di.config.js +21 -3
- package/lib/base/di.config.js.map +1 -1
- package/lib/base/drag-aware-mouse-listener.d.ts +2 -2
- package/lib/base/drag-aware-mouse-listener.d.ts.map +1 -1
- package/lib/base/drag-aware-mouse-listener.js.map +1 -1
- package/lib/base/editor-context-service.d.ts +10 -7
- package/lib/base/editor-context-service.d.ts.map +1 -1
- package/lib/base/editor-context-service.js +27 -10
- package/lib/base/editor-context-service.js.map +1 -1
- package/lib/{features/tool-feedback → base/feedback}/css-feedback.d.ts +1 -1
- package/lib/base/feedback/css-feedback.d.ts.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/css-feedback.js +5 -6
- package/lib/base/feedback/css-feedback.js.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.d.ts +11 -9
- package/lib/base/feedback/feedback-action-dispatcher.d.ts.map +1 -0
- package/lib/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.js +26 -20
- package/lib/base/feedback/feedback-action-dispatcher.js.map +1 -0
- package/lib/{features/tool-feedback/model.d.ts → base/feedback/feedback-command.d.ts} +1 -1
- package/lib/base/feedback/feedback-command.d.ts.map +1 -0
- package/lib/{features/tool-feedback/model.js → base/feedback/feedback-command.js} +1 -1
- package/lib/base/feedback/feedback-command.js.map +1 -0
- package/lib/base/{model → feedback}/update-model-command.d.ts +3 -15
- package/lib/base/feedback/update-model-command.d.ts.map +1 -0
- package/lib/base/{model → feedback}/update-model-command.js +3 -27
- package/lib/base/feedback/update-model-command.js.map +1 -0
- package/lib/base/focus-tracker.js +2 -3
- package/lib/base/focus-tracker.js.map +1 -1
- package/lib/base/model/model-registry.js +2 -3
- package/lib/base/model/model-registry.js.map +1 -1
- package/lib/base/model-initialization-constraint.js +4 -6
- package/lib/base/model-initialization-constraint.js.map +1 -1
- package/lib/base/ranked.d.ts +34 -0
- package/lib/base/ranked.d.ts.map +1 -0
- package/lib/base/ranked.js +38 -0
- package/lib/base/ranked.js.map +1 -0
- package/lib/base/selection-clearing-mouse-listener.js +2 -3
- package/lib/base/selection-clearing-mouse-listener.js.map +1 -1
- package/lib/{features/select → base}/selection-service.d.ts +34 -13
- package/lib/base/selection-service.d.ts.map +1 -0
- package/lib/{features/select → base}/selection-service.js +73 -29
- package/lib/base/selection-service.js.map +1 -0
- package/lib/base/selection-service.spec.d.ts +2 -0
- package/lib/base/selection-service.spec.d.ts.map +1 -0
- package/lib/base/selection-service.spec.js +281 -0
- package/lib/base/selection-service.spec.js.map +1 -0
- package/lib/base/tool-manager/glsp-tool-manager.d.ts +3 -3
- package/lib/base/tool-manager/glsp-tool-manager.d.ts.map +1 -1
- package/lib/base/tool-manager/glsp-tool-manager.js +5 -6
- package/lib/base/tool-manager/glsp-tool-manager.js.map +1 -1
- package/lib/base/view/key-tool.d.ts +5 -0
- package/lib/base/view/key-tool.d.ts.map +1 -0
- package/lib/base/view/key-tool.js +36 -0
- package/lib/base/view/key-tool.js.map +1 -0
- package/lib/base/view/mouse-tool.d.ts +19 -0
- package/lib/base/view/mouse-tool.d.ts.map +1 -0
- package/lib/{features/mouse-tool → base/view}/mouse-tool.js +14 -11
- package/lib/base/view/mouse-tool.js.map +1 -0
- package/lib/base/view/view-registry.js +2 -3
- package/lib/base/view/view-registry.js.map +1 -1
- package/lib/{base/container-modules.d.ts → container-modules.d.ts} +2 -2
- package/lib/container-modules.d.ts.map +1 -0
- package/lib/{base/container-modules.js → container-modules.js} +49 -41
- package/lib/container-modules.js.map +1 -0
- package/lib/features/accessibility/move-zoom/move-handler.js +6 -8
- package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -1
- package/lib/features/accessibility/move-zoom/zoom-handler.js +6 -8
- package/lib/features/accessibility/move-zoom/zoom-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js +4 -5
- package/lib/features/accessibility/resize-key-tool/resize-key-handler.js.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +6 -8
- package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
- package/lib/features/accessibility/search/search-palette.js +3 -4
- package/lib/features/accessibility/search/search-palette.js.map +1 -1
- package/lib/features/accessibility/search/search-tool.js +2 -3
- package/lib/features/accessibility/search/search-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +2 -3
- package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js +5 -6
- package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +5 -6
- package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js +1 -1
- package/lib/features/autocomplete-palette/base-autocomplete-palette.js.map +1 -1
- package/lib/features/bounds/freeform-layout.js +2 -3
- package/lib/features/bounds/freeform-layout.js.map +1 -1
- package/lib/features/bounds/freeform-layout.spec.d.ts +3 -0
- package/lib/features/bounds/freeform-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/freeform-layout.spec.js +201 -0
- package/lib/features/bounds/freeform-layout.spec.js.map +1 -0
- package/lib/features/bounds/glsp-hidden-bounds-updater.js +2 -3
- package/lib/features/bounds/glsp-hidden-bounds-updater.js.map +1 -1
- package/lib/features/bounds/hbox-layout.js +2 -3
- package/lib/features/bounds/hbox-layout.js.map +1 -1
- package/lib/features/bounds/hbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/hbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/hbox-layout.spec.js +160 -0
- package/lib/features/bounds/hbox-layout.spec.js.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts +32 -0
- package/lib/features/bounds/layouter-test-util.spec.d.ts.map +1 -0
- package/lib/features/bounds/layouter-test-util.spec.js +96 -0
- package/lib/features/bounds/layouter-test-util.spec.js.map +1 -0
- package/lib/features/bounds/layouter.js +2 -3
- package/lib/features/bounds/layouter.js.map +1 -1
- package/lib/features/bounds/vbox-layout.js +2 -3
- package/lib/features/bounds/vbox-layout.js.map +1 -1
- package/lib/features/bounds/vbox-layout.spec.d.ts +3 -0
- package/lib/features/bounds/vbox-layout.spec.d.ts.map +1 -0
- package/lib/features/bounds/vbox-layout.spec.js +160 -0
- package/lib/features/bounds/vbox-layout.spec.js.map +1 -0
- package/lib/features/change-bounds/model.js +2 -2
- package/lib/features/change-bounds/model.js.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts +1 -1
- package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
- package/lib/features/change-bounds/movement-restrictor.js +3 -4
- package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
- package/lib/features/change-bounds/snap.js +2 -3
- package/lib/features/change-bounds/snap.js.map +1 -1
- package/lib/features/{rank/model.d.ts → change-bounds/snap.spec.d.ts} +3 -8
- package/lib/features/change-bounds/snap.spec.d.ts.map +1 -0
- package/lib/features/change-bounds/snap.spec.js +82 -0
- package/lib/features/change-bounds/snap.spec.js.map +1 -0
- package/lib/features/command-palette/command-palette-tool.js +2 -3
- package/lib/features/command-palette/command-palette-tool.js.map +1 -1
- package/lib/features/command-palette/server-command-palette-provider.js +3 -4
- package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
- package/lib/features/context-menu/delete-element-context-menu.js +2 -3
- package/lib/features/context-menu/delete-element-context-menu.js.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.d.ts.map +1 -1
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js +4 -5
- package/lib/features/context-menu/selection-service-aware-context-menu-mouse-listener.js.map +1 -1
- package/lib/features/context-menu/server-context-menu-provider.js +3 -4
- package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-context-menu.js +6 -8
- package/lib/features/copy-paste/copy-paste-context-menu.js.map +1 -1
- package/lib/features/copy-paste/copy-paste-handler.js +4 -6
- package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
- package/lib/features/decoration/decoration-placer.js +2 -3
- package/lib/features/decoration/decoration-placer.js.map +1 -1
- package/lib/features/edit-label/edit-label-tool.d.ts +0 -3
- package/lib/features/edit-label/edit-label-tool.d.ts.map +1 -1
- package/lib/features/edit-label/edit-label-tool.js +3 -11
- package/lib/features/edit-label/edit-label-tool.js.map +1 -1
- package/lib/features/edit-label/edit-label-validator.js +5 -7
- package/lib/features/edit-label/edit-label-validator.js.map +1 -1
- package/lib/features/export/glsp-svg-exporter.js +2 -3
- package/lib/features/export/glsp-svg-exporter.js.map +1 -1
- package/lib/features/hints/type-hints.d.ts +2 -2
- package/lib/features/hints/type-hints.d.ts.map +1 -1
- package/lib/features/hints/type-hints.js +9 -11
- package/lib/features/hints/type-hints.js.map +1 -1
- package/lib/features/hover/hover.d.ts.map +1 -1
- package/lib/features/hover/hover.js +3 -4
- package/lib/features/hover/hover.js.map +1 -1
- package/lib/features/layout/di.config.js +1 -1
- package/lib/features/layout/di.config.js.map +1 -1
- package/lib/features/layout/layout-elements-action.d.ts +1 -1
- package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
- package/lib/features/layout/layout-elements-action.js +14 -17
- package/lib/features/layout/layout-elements-action.js.map +1 -1
- package/lib/features/layout/layout-elements-action.spec.d.ts +3 -0
- package/lib/features/layout/layout-elements-action.spec.d.ts.map +1 -0
- package/lib/features/layout/layout-elements-action.spec.js +321 -0
- package/lib/features/layout/layout-elements-action.spec.js.map +1 -0
- package/lib/features/navigation/navigation-action-handler.js +5 -6
- package/lib/features/navigation/navigation-action-handler.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.js +2 -3
- package/lib/features/navigation/navigation-target-resolver.js.map +1 -1
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts +3 -0
- package/lib/features/navigation/navigation-target-resolver.spec.d.ts.map +1 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js +53 -0
- package/lib/features/navigation/navigation-target-resolver.spec.js.map +1 -0
- package/lib/features/routing/di.config.d.ts +22 -0
- package/lib/features/routing/di.config.d.ts.map +1 -0
- package/lib/features/routing/di.config.js +57 -0
- package/lib/features/routing/di.config.js.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.d.ts.map +1 -0
- package/lib/features/routing/glsp-manhattan-edge-router.js.map +1 -0
- package/lib/features/select/di.config.d.ts.map +1 -1
- package/lib/features/select/di.config.js +3 -5
- package/lib/features/select/di.config.js.map +1 -1
- package/lib/features/select/select-feedback-command.d.ts +12 -0
- package/lib/features/select/select-feedback-command.d.ts.map +1 -0
- package/lib/features/select/{select-feedback-action.js → select-feedback-command.js} +6 -30
- package/lib/features/select/select-feedback-command.js.map +1 -0
- package/lib/features/select/select-mouse-listener.d.ts +1 -1
- package/lib/features/select/select-mouse-listener.d.ts.map +1 -1
- package/lib/features/select/select-mouse-listener.js +2 -2
- package/lib/features/select/select-mouse-listener.js.map +1 -1
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js +5 -7
- package/lib/features/source-model-watcher/source-model-changed-action-handler.js.map +1 -1
- package/lib/features/svg-metadata/metadata-placer.js +2 -3
- package/lib/features/svg-metadata/metadata-placer.js.map +1 -1
- package/lib/features/tool-palette/tool-palette.d.ts +4 -4
- package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
- package/lib/features/tool-palette/tool-palette.js +12 -13
- package/lib/features/tool-palette/tool-palette.js.map +1 -1
- package/lib/features/tools/base-glsp-creation-tool.d.ts +10 -0
- package/lib/features/tools/base-glsp-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/base-glsp-creation-tool.js +45 -0
- package/lib/features/tools/base-glsp-creation-tool.js.map +1 -0
- package/lib/features/tools/base-glsp-tool.d.ts +26 -8
- package/lib/features/tools/base-glsp-tool.d.ts.map +1 -1
- package/lib/features/tools/base-glsp-tool.js +34 -11
- package/lib/features/tools/base-glsp-tool.js.map +1 -1
- package/lib/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.d.ts +12 -5
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.js +45 -27
- package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js.map +1 -0
- package/lib/features/tools/{change-bounds-tool.d.ts → change-bounds/change-bounds-tool.d.ts} +13 -14
- package/lib/features/tools/change-bounds/change-bounds-tool.d.ts.map +1 -0
- package/lib/features/tools/{change-bounds-tool.js → change-bounds/change-bounds-tool.js} +50 -35
- package/lib/features/tools/change-bounds/change-bounds-tool.js.map +1 -0
- package/lib/features/tools/change-bounds/di.config.d.ts +19 -0
- package/lib/features/tools/change-bounds/di.config.d.ts.map +1 -0
- package/lib/features/tools/change-bounds/di.config.js +32 -0
- package/lib/features/tools/change-bounds/di.config.js.map +1 -0
- package/lib/features/tools/change-bounds/view.d.ts +9 -0
- package/lib/features/tools/change-bounds/view.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/change-bounds}/view.js +5 -21
- package/lib/features/tools/change-bounds/view.js.map +1 -0
- package/lib/features/tools/{delete-tool.d.ts → deletion/delete-tool.d.ts} +4 -9
- package/lib/features/tools/deletion/delete-tool.d.ts.map +1 -0
- package/lib/features/tools/{delete-tool.js → deletion/delete-tool.js} +13 -29
- package/lib/features/tools/deletion/delete-tool.js.map +1 -0
- package/lib/features/{tool-feedback → tools/deletion}/di.config.d.ts +2 -2
- package/lib/features/tools/deletion/di.config.d.ts.map +1 -0
- package/lib/features/{mouse-tool → tools/deletion}/di.config.js +7 -7
- package/lib/features/tools/deletion/di.config.js.map +1 -0
- package/lib/features/{tool-feedback/creation-tool-feedback.d.ts → tools/edge-creation/dangling-edge-feedback.d.ts} +5 -10
- package/lib/features/tools/edge-creation/dangling-edge-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback/creation-tool-feedback.js → tools/edge-creation/dangling-edge-feedback.js} +25 -87
- package/lib/features/tools/edge-creation/dangling-edge-feedback.js.map +1 -0
- package/lib/features/tools/edge-creation/di.config.d.ts +19 -0
- package/lib/features/tools/edge-creation/di.config.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/di.config.js +29 -0
- package/lib/features/tools/edge-creation/di.config.js.map +1 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts +26 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js +74 -0
- package/lib/features/tools/edge-creation/edge-creation-tool-feedback.js.map +1 -0
- package/lib/features/tools/{edge-creation-tool.d.ts → edge-creation/edge-creation-tool.d.ts} +6 -11
- package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/{edge-creation-tool.js → edge-creation/edge-creation-tool.js} +29 -40
- package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -0
- package/lib/features/tools/edge-creation/view.d.ts +10 -0
- package/lib/features/tools/edge-creation/view.d.ts.map +1 -0
- package/lib/features/tools/edge-creation/view.js +43 -0
- package/lib/features/tools/edge-creation/view.js.map +1 -0
- package/lib/features/{mouse-tool → tools/edge-edit}/di.config.d.ts +2 -2
- package/lib/features/tools/edge-edit/di.config.d.ts.map +1 -0
- package/lib/features/tools/edge-edit/di.config.js +35 -0
- package/lib/features/tools/edge-edit/di.config.js.map +1 -0
- package/lib/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.d.ts +14 -8
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.js +42 -37
- package/lib/features/tools/edge-edit/edge-edit-tool-feedback.js.map +1 -0
- package/lib/features/tools/{edge-edit-tool.d.ts → edge-edit/edge-edit-tool.d.ts} +7 -9
- package/lib/features/tools/edge-edit/edge-edit-tool.d.ts.map +1 -0
- package/lib/features/tools/{edge-edit-tool.js → edge-edit/edge-edit-tool.js} +28 -33
- package/lib/features/tools/edge-edit/edge-edit-tool.js.map +1 -0
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts +21 -0
- package/lib/features/tools/enable-default-tools-on-focus-loss.d.ts.map +1 -1
- package/lib/features/tools/enable-default-tools-on-focus-loss.js +9 -3
- package/lib/features/tools/enable-default-tools-on-focus-loss.js.map +1 -1
- package/lib/features/tools/marquee-selection/di.config.d.ts +19 -0
- package/lib/features/tools/marquee-selection/di.config.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/di.config.js +34 -0
- package/lib/features/tools/marquee-selection/di.config.js.map +1 -0
- package/lib/features/tools/{marquee-behavior.d.ts → marquee-selection/marquee-behavior.d.ts} +10 -10
- package/lib/features/tools/marquee-selection/marquee-behavior.d.ts.map +1 -0
- package/lib/features/tools/{marquee-behavior.js → marquee-selection/marquee-behavior.js} +2 -2
- package/lib/features/tools/marquee-selection/marquee-behavior.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +17 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +165 -0
- package/lib/features/tools/marquee-selection/marquee-behavior.spec.js.map +1 -0
- package/lib/features/tools/{marquee-mouse-tool.d.ts → marquee-selection/marquee-mouse-tool.d.ts} +4 -6
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.d.ts.map +1 -0
- package/lib/features/tools/{marquee-mouse-tool.js → marquee-selection/marquee-mouse-tool.js} +12 -22
- package/lib/features/tools/marquee-selection/marquee-mouse-tool.js.map +1 -0
- package/lib/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.d.ts +2 -2
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.d.ts.map +1 -0
- package/lib/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.js +8 -10
- package/lib/features/tools/marquee-selection/marquee-tool-feedback.js.map +1 -0
- package/lib/features/tools/marquee-selection/marquee-tool.d.ts +12 -0
- package/lib/features/tools/marquee-selection/marquee-tool.d.ts.map +1 -0
- package/lib/features/tools/{marquee-tool.js → marquee-selection/marquee-tool.js} +8 -20
- package/lib/features/tools/marquee-selection/marquee-tool.js.map +1 -0
- package/lib/features/tools/{model.d.ts → marquee-selection/model.d.ts} +1 -1
- package/lib/features/tools/marquee-selection/model.d.ts.map +1 -0
- package/lib/features/tools/{model.js → marquee-selection/model.js} +2 -2
- package/lib/features/tools/marquee-selection/model.js.map +1 -0
- package/lib/features/tools/{view.d.ts → marquee-selection/view.d.ts} +1 -1
- package/lib/features/tools/marquee-selection/view.d.ts.map +1 -0
- package/lib/features/tools/{view.js → marquee-selection/view.js} +3 -4
- package/lib/features/tools/marquee-selection/view.js.map +1 -0
- package/lib/features/tools/node-creation/di.config.d.ts +19 -0
- package/lib/features/tools/node-creation/di.config.d.ts.map +1 -0
- package/lib/features/{rank/model.js → tools/node-creation/di.config.js} +12 -13
- package/lib/features/tools/node-creation/di.config.js.map +1 -0
- package/lib/features/tools/{node-creation-tool.d.ts → node-creation/node-creation-tool.d.ts} +7 -10
- package/lib/features/tools/node-creation/node-creation-tool.d.ts.map +1 -0
- package/lib/features/tools/{node-creation-tool.js → node-creation/node-creation-tool.js} +17 -30
- package/lib/features/tools/node-creation/node-creation-tool.js.map +1 -0
- package/lib/features/validation/marker-navigator.d.ts +4 -3
- package/lib/features/validation/marker-navigator.d.ts.map +1 -1
- package/lib/features/validation/marker-navigator.js +16 -20
- package/lib/features/validation/marker-navigator.js.map +1 -1
- package/lib/features/validation/marker-navigator.spec.d.ts +3 -0
- package/lib/features/validation/marker-navigator.spec.d.ts.map +1 -0
- package/lib/features/validation/marker-navigator.spec.js +182 -0
- package/lib/features/validation/marker-navigator.spec.js.map +1 -0
- package/lib/features/validation/validate.d.ts +2 -2
- package/lib/features/validation/validate.d.ts.map +1 -1
- package/lib/features/validation/validate.js +12 -17
- package/lib/features/validation/validate.js.map +1 -1
- package/lib/features/viewport/glsp-scroll-mouse-listener.js +3 -4
- package/lib/features/viewport/glsp-scroll-mouse-listener.js.map +1 -1
- package/lib/glsp-sprotty/index.d.ts +1 -1
- package/lib/glsp-sprotty/index.d.ts.map +1 -1
- package/lib/glsp-sprotty/index.js +26 -25
- package/lib/glsp-sprotty/index.js.map +1 -1
- package/lib/glsp-sprotty/types.d.ts +4 -8
- package/lib/glsp-sprotty/types.d.ts.map +1 -1
- package/lib/glsp-sprotty/types.js +1 -1
- package/lib/glsp-sprotty/types.js.map +1 -1
- package/lib/index.d.ts +36 -27
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +58 -46
- package/lib/index.js.map +1 -1
- package/lib/lib/model.js +1 -1
- package/lib/lib/model.js.map +1 -1
- package/lib/model-source/glsp-diagram-server.d.ts.map +1 -1
- package/lib/model-source/glsp-diagram-server.js +5 -3
- package/lib/model-source/glsp-diagram-server.js.map +1 -1
- package/lib/utils/argument-utils.js +3 -3
- package/lib/utils/argument-utils.js.map +1 -1
- package/lib/utils/marker.js +1 -1
- package/lib/utils/marker.js.map +1 -1
- package/lib/utils/smodel-util.spec.d.ts +2 -0
- package/lib/utils/smodel-util.spec.d.ts.map +1 -0
- package/lib/utils/smodel-util.spec.js +184 -0
- package/lib/utils/smodel-util.spec.js.map +1 -0
- package/lib/utils/viewpoint-util.d.ts +20 -1
- package/lib/utils/viewpoint-util.d.ts.map +1 -1
- package/lib/utils/viewpoint-util.js +30 -1
- package/lib/utils/viewpoint-util.js.map +1 -1
- package/lib/views/compartments.js +2 -3
- package/lib/views/compartments.js.map +1 -1
- package/lib/views/glsp-edge-view.js +2 -3
- package/lib/views/glsp-edge-view.js.map +1 -1
- package/lib/views/glsp-projection-view.js +2 -3
- package/lib/views/glsp-projection-view.js.map +1 -1
- package/lib/views/issue-marker-view.js +2 -3
- package/lib/views/issue-marker-view.js.map +1 -1
- package/lib/views/rounded-corner-view.js +2 -3
- package/lib/views/rounded-corner-view.js.map +1 -1
- package/package.json +3 -3
- package/src/base/action-dispatcher.ts +3 -1
- package/src/base/command-stack.ts +55 -3
- package/src/base/di.config.ts +34 -9
- package/src/base/drag-aware-mouse-listener.ts +2 -2
- package/src/base/editor-context-service.ts +28 -13
- package/src/{features/tool-feedback → base/feedback}/css-feedback.ts +1 -1
- package/src/{features/tool-feedback → base/feedback}/feedback-action-dispatcher.ts +31 -23
- package/src/base/{model → feedback}/update-model-command.ts +3 -29
- package/src/base/ranked.ts +42 -0
- package/src/{features/select → base}/selection-service.spec.ts +51 -121
- package/src/{features/select → base}/selection-service.ts +82 -31
- package/src/base/tool-manager/glsp-tool-manager.ts +4 -4
- package/src/{features/rank/model.ts → base/view/key-tool.ts} +9 -13
- package/src/{features/mouse-tool → base/view}/mouse-tool.ts +14 -15
- package/src/{base/container-modules.ts → container-modules.ts} +33 -26
- package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +2 -2
- package/src/features/accessibility/search/search-palette.ts +1 -1
- package/src/features/accessibility/view-key-tools/movement-key-tool.ts +2 -2
- package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +3 -3
- package/src/features/bounds/layouter-test-util.spec.ts +1 -1
- package/src/features/change-bounds/movement-restrictor.ts +1 -1
- package/src/features/context-menu/selection-service-aware-context-menu-mouse-listener.ts +2 -2
- package/src/features/copy-paste/copy-paste-context-menu.ts +1 -1
- package/src/features/edit-label/edit-label-tool.ts +4 -12
- package/src/features/hints/type-hints.ts +2 -2
- package/src/features/hover/hover.ts +2 -1
- package/src/features/layout/di.config.ts +1 -1
- package/src/features/layout/layout-elements-action.spec.ts +1 -3
- package/src/features/layout/layout-elements-action.ts +2 -2
- package/src/features/navigation/navigation-action-handler.ts +1 -1
- package/src/features/routing/di.config.ts +82 -0
- package/src/features/select/di.config.ts +2 -4
- package/src/features/select/{select-feedback-action.ts → select-feedback-command.ts} +2 -38
- package/src/features/select/select-mouse-listener.ts +2 -2
- package/src/features/source-model-watcher/source-model-changed-action-handler.ts +1 -1
- package/src/features/tool-palette/tool-palette.ts +12 -12
- package/src/features/tools/base-glsp-creation-tool.ts +40 -0
- package/src/features/tools/base-glsp-tool.ts +32 -10
- package/src/features/{tool-feedback → tools/change-bounds}/change-bounds-tool-feedback.ts +52 -21
- package/src/features/tools/{change-bounds-tool.ts → change-bounds/change-bounds-tool.ts} +64 -35
- package/src/features/tools/change-bounds/di.config.ts +31 -0
- package/src/features/{tool-feedback → tools/change-bounds}/view.tsx +2 -14
- package/src/features/tools/{delete-tool.ts → deletion/delete-tool.ts} +8 -18
- package/src/features/{mouse-tool → tools/deletion}/di.config.ts +7 -7
- package/src/features/{tool-feedback/creation-tool-feedback.ts → tools/edge-creation/dangling-edge-feedback.ts} +18 -88
- package/src/features/tools/edge-creation/di.config.ts +28 -0
- package/src/features/tools/edge-creation/edge-creation-tool-feedback.ts +89 -0
- package/src/features/tools/{edge-creation-tool.ts → edge-creation/edge-creation-tool.ts} +26 -43
- package/src/features/tools/edge-creation/view.tsx +33 -0
- package/src/features/tools/edge-edit/di.config.ts +41 -0
- package/src/features/{tool-feedback → tools/edge-edit}/edge-edit-tool-feedback.ts +27 -15
- package/src/features/tools/{edge-edit-tool.ts → edge-edit/edge-edit-tool.ts} +29 -27
- package/src/features/tools/enable-default-tools-on-focus-loss.ts +11 -2
- package/src/features/tools/marquee-selection/di.config.ts +35 -0
- package/src/features/tools/{marquee-behavior.ts → marquee-selection/marquee-behavior.ts} +9 -9
- package/src/features/tools/{marquee-mouse-tool.ts → marquee-selection/marquee-mouse-tool.ts} +11 -17
- package/src/features/{tool-feedback → tools/marquee-selection}/marquee-tool-feedback.ts +1 -1
- package/src/features/tools/{marquee-tool.ts → marquee-selection/marquee-tool.ts} +5 -11
- package/{lib/features/tools/di.config.d.ts → src/features/tools/node-creation/di.config.ts} +10 -12
- package/src/features/tools/{node-creation-tool.ts → node-creation/node-creation-tool.ts} +14 -31
- package/src/features/validation/marker-navigator.ts +5 -5
- package/src/features/validation/validate.ts +2 -2
- package/src/features/viewport/glsp-scroll-mouse-listener.ts +1 -1
- package/src/glsp-sprotty/index.ts +1 -1
- package/src/glsp-sprotty/types.ts +2 -4
- package/src/index.ts +63 -49
- package/src/model-source/glsp-diagram-server.ts +7 -1
- package/src/utils/smodel-util.spec.ts +3 -3
- package/src/utils/viewpoint-util.ts +32 -0
- package/lib/base/container-modules.d.ts.map +0 -1
- package/lib/base/container-modules.js.map +0 -1
- package/lib/base/model/update-model-command.d.ts.map +0 -1
- package/lib/base/model/update-model-command.js.map +0 -1
- package/lib/features/mouse-tool/di.config.d.ts.map +0 -1
- package/lib/features/mouse-tool/di.config.js.map +0 -1
- package/lib/features/mouse-tool/mouse-tool.d.ts +0 -22
- package/lib/features/mouse-tool/mouse-tool.d.ts.map +0 -1
- package/lib/features/mouse-tool/mouse-tool.js.map +0 -1
- package/lib/features/rank/model.d.ts.map +0 -1
- package/lib/features/rank/model.js.map +0 -1
- package/lib/features/select/select-feedback-action.d.ts +0 -25
- package/lib/features/select/select-feedback-action.d.ts.map +0 -1
- package/lib/features/select/select-feedback-action.js.map +0 -1
- package/lib/features/select/selection-service.d.ts.map +0 -1
- package/lib/features/select/selection-service.js.map +0 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/change-bounds-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/creation-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/creation-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/css-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/css-feedback.js.map +0 -1
- package/lib/features/tool-feedback/di.config.d.ts.map +0 -1
- package/lib/features/tool-feedback/di.config.js +0 -53
- package/lib/features/tool-feedback/di.config.js.map +0 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/edge-edit-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/feedback-action-dispatcher.d.ts.map +0 -1
- package/lib/features/tool-feedback/feedback-action-dispatcher.js.map +0 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.d.ts.map +0 -1
- package/lib/features/tool-feedback/marquee-tool-feedback.js.map +0 -1
- package/lib/features/tool-feedback/model.d.ts.map +0 -1
- package/lib/features/tool-feedback/model.js.map +0 -1
- package/lib/features/tool-feedback/view.d.ts +0 -16
- package/lib/features/tool-feedback/view.d.ts.map +0 -1
- package/lib/features/tool-feedback/view.js.map +0 -1
- package/lib/features/tools/change-bounds-tool.d.ts.map +0 -1
- package/lib/features/tools/change-bounds-tool.js.map +0 -1
- package/lib/features/tools/delete-tool.d.ts.map +0 -1
- package/lib/features/tools/delete-tool.js.map +0 -1
- package/lib/features/tools/di.config.d.ts.map +0 -1
- package/lib/features/tools/di.config.js +0 -66
- package/lib/features/tools/di.config.js.map +0 -1
- package/lib/features/tools/edge-creation-tool.d.ts.map +0 -1
- package/lib/features/tools/edge-creation-tool.js.map +0 -1
- package/lib/features/tools/edge-edit-tool.d.ts.map +0 -1
- package/lib/features/tools/edge-edit-tool.js.map +0 -1
- package/lib/features/tools/glsp-manhattan-edge-router.d.ts.map +0 -1
- package/lib/features/tools/glsp-manhattan-edge-router.js.map +0 -1
- package/lib/features/tools/marquee-behavior.d.ts.map +0 -1
- package/lib/features/tools/marquee-behavior.js.map +0 -1
- package/lib/features/tools/marquee-mouse-tool.d.ts.map +0 -1
- package/lib/features/tools/marquee-mouse-tool.js.map +0 -1
- package/lib/features/tools/marquee-tool.d.ts +0 -14
- package/lib/features/tools/marquee-tool.d.ts.map +0 -1
- package/lib/features/tools/marquee-tool.js.map +0 -1
- package/lib/features/tools/model.d.ts.map +0 -1
- package/lib/features/tools/model.js.map +0 -1
- package/lib/features/tools/node-creation-tool.d.ts.map +0 -1
- package/lib/features/tools/node-creation-tool.js.map +0 -1
- package/lib/features/tools/view.d.ts.map +0 -1
- package/lib/features/tools/view.js.map +0 -1
- package/src/features/tool-feedback/di.config.ts +0 -65
- package/src/features/tools/di.config.ts +0 -77
- /package/lib/features/{tools → routing}/glsp-manhattan-edge-router.d.ts +0 -0
- /package/lib/features/{tools → routing}/glsp-manhattan-edge-router.js +0 -0
- /package/src/{features/tool-feedback/model.ts → base/feedback/feedback-command.ts} +0 -0
- /package/src/features/{tools → routing}/glsp-manhattan-edge-router.ts +0 -0
- /package/src/features/tools/{marquee-behavior.spec.ts → marquee-selection/marquee-behavior.spec.ts} +0 -0
- /package/src/features/tools/{model.ts → marquee-selection/model.ts} +0 -0
- /package/src/features/tools/{view.tsx → marquee-selection/view.tsx} +0 -0
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import {
|
|
17
|
-
import { Action, EnableToolsAction, KeyListener,
|
|
18
|
-
import { BaseGLSPTool } from '../
|
|
16
|
+
import { injectable } from 'inversify';
|
|
17
|
+
import { Action, EnableToolsAction, KeyListener, SModelElement } from '~glsp-sprotty';
|
|
18
|
+
import { BaseGLSPTool } from '../base-glsp-tool';
|
|
19
19
|
import { MarqueeMouseTool } from './marquee-mouse-tool';
|
|
20
20
|
|
|
21
21
|
@injectable()
|
|
@@ -24,24 +24,18 @@ export class MarqueeTool extends BaseGLSPTool {
|
|
|
24
24
|
|
|
25
25
|
protected marqueeKeyListener: MarqueeKeyListener = new MarqueeKeyListener();
|
|
26
26
|
|
|
27
|
-
@inject(KeyTool) protected readonly keytool: KeyTool;
|
|
28
|
-
|
|
29
27
|
get id(): string {
|
|
30
28
|
return MarqueeTool.ID;
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
enable(): void {
|
|
34
|
-
this.keyTool.
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
disable(): void {
|
|
38
|
-
this.keyTool.deregister(this.marqueeKeyListener);
|
|
32
|
+
this.toDisposeOnDisable.push(this.keyTool.registerListener(this.marqueeKeyListener));
|
|
39
33
|
}
|
|
40
34
|
}
|
|
41
35
|
|
|
42
36
|
@injectable()
|
|
43
37
|
export class MarqueeKeyListener extends KeyListener {
|
|
44
|
-
override keyDown(
|
|
38
|
+
override keyDown(_element: SModelElement, event: KeyboardEvent): Action[] {
|
|
45
39
|
if (event.shiftKey) {
|
|
46
40
|
return [EnableToolsAction.create([MarqueeMouseTool.ID])];
|
|
47
41
|
}
|
|
@@ -14,15 +14,13 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { ContainerModule } from 'inversify';
|
|
17
|
-
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const enableDefaultToolsOnFocusLossModule: ContainerModule;
|
|
28
|
-
//# sourceMappingURL=di.config.d.ts.map
|
|
17
|
+
import { TYPES, TriggerNodeCreationAction, bindAsService, configureActionHandler } from '~glsp-sprotty';
|
|
18
|
+
import { NodeCreationTool } from './node-creation-tool';
|
|
19
|
+
|
|
20
|
+
const nodeCreationToolModule = new ContainerModule((bind, unbind, isBound, rebind) => {
|
|
21
|
+
const context = { bind, unbind, isBound, rebind };
|
|
22
|
+
bindAsService(context, TYPES.ITool, NodeCreationTool);
|
|
23
|
+
configureActionHandler(context, TriggerNodeCreationAction.KIND, NodeCreationTool);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
export default nodeCreationToolModule;
|
|
@@ -18,8 +18,6 @@ import {
|
|
|
18
18
|
Action,
|
|
19
19
|
CreateNodeOperation,
|
|
20
20
|
EnableDefaultToolsAction,
|
|
21
|
-
EnableToolsAction,
|
|
22
|
-
IActionHandler,
|
|
23
21
|
ISnapper,
|
|
24
22
|
SModelElement,
|
|
25
23
|
SNode,
|
|
@@ -28,44 +26,29 @@ import {
|
|
|
28
26
|
findParentByFeature,
|
|
29
27
|
isCtrlOrCmd
|
|
30
28
|
} from '~glsp-sprotty';
|
|
31
|
-
import { DragAwareMouseListener } from '
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
29
|
+
import { DragAwareMouseListener } from '../../../base/drag-aware-mouse-listener';
|
|
30
|
+
import { CursorCSS, cursorFeedbackAction } from '../../../base/feedback/css-feedback';
|
|
31
|
+
import { getAbsolutePosition } from '../../../utils/viewpoint-util';
|
|
32
|
+
import { Containable, isContainable } from '../../hints/model';
|
|
33
|
+
import { BaseGLSPCreationTool } from '../base-glsp-creation-tool';
|
|
36
34
|
|
|
37
35
|
@injectable()
|
|
38
|
-
export class NodeCreationTool extends
|
|
36
|
+
export class NodeCreationTool extends BaseGLSPCreationTool<TriggerNodeCreationAction> {
|
|
39
37
|
static ID = 'tool_create_node';
|
|
40
38
|
|
|
41
|
-
|
|
39
|
+
protected isTriggerAction = TriggerNodeCreationAction.is;
|
|
42
40
|
|
|
43
|
-
|
|
44
|
-
protected triggerAction: TriggerNodeCreationAction;
|
|
41
|
+
@inject(TYPES.ISnapper) @optional() readonly snapper?: ISnapper;
|
|
45
42
|
|
|
46
43
|
get id(): string {
|
|
47
44
|
return NodeCreationTool.ID;
|
|
48
45
|
}
|
|
49
46
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
this.mouseTool.register(this.creationToolMouseListener);
|
|
56
|
-
this.dispatchFeedback([cursorFeedbackAction(CursorCSS.NODE_CREATION)]);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
disable(): void {
|
|
60
|
-
this.mouseTool.deregister(this.creationToolMouseListener);
|
|
61
|
-
this.deregisterFeedback([cursorFeedbackAction()]);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
handle(action: Action): Action | void {
|
|
65
|
-
if (TriggerNodeCreationAction.is(action)) {
|
|
66
|
-
this.triggerAction = action;
|
|
67
|
-
return EnableToolsAction.create([this.id]);
|
|
68
|
-
}
|
|
47
|
+
doEnable(): void {
|
|
48
|
+
this.toDisposeOnDisable.push(
|
|
49
|
+
this.mouseTool.registerListener(new NodeCreationToolMouseListener(this.triggerAction, this)),
|
|
50
|
+
this.registerFeedback([cursorFeedbackAction(CursorCSS.NODE_CREATION)], this, [cursorFeedbackAction()])
|
|
51
|
+
);
|
|
69
52
|
}
|
|
70
53
|
}
|
|
71
54
|
|
|
@@ -111,7 +94,7 @@ export class NodeCreationToolMouseListener extends DragAwareMouseListener {
|
|
|
111
94
|
const feedback = this.creationAllowed(this.elementTypeId)
|
|
112
95
|
? cursorFeedbackAction(CursorCSS.NODE_CREATION)
|
|
113
96
|
: cursorFeedbackAction(CursorCSS.OPERATION_NOT_ALLOWED);
|
|
114
|
-
this.tool.
|
|
97
|
+
this.tool.registerFeedback([feedback]);
|
|
115
98
|
}
|
|
116
99
|
return [];
|
|
117
100
|
}
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
import { inject, injectable } from 'inversify';
|
|
17
17
|
import {
|
|
18
18
|
Action,
|
|
19
|
-
ActionDispatcher,
|
|
20
19
|
BoundsAware,
|
|
21
20
|
CenterAction,
|
|
22
21
|
IActionHandler,
|
|
@@ -38,9 +37,10 @@ import {
|
|
|
38
37
|
isSelectable,
|
|
39
38
|
matchesKeystroke
|
|
40
39
|
} from '~glsp-sprotty';
|
|
40
|
+
import { GLSPActionDispatcher } from '../../base/action-dispatcher';
|
|
41
|
+
import { SelectionService } from '../../base/selection-service';
|
|
41
42
|
import { MarkerPredicates, collectIssueMarkers } from '../../utils/marker';
|
|
42
43
|
import { getElements, isSelectableAndBoundsAware } from '../../utils/smodel-util';
|
|
43
|
-
import { SelectionService } from '../select/selection-service';
|
|
44
44
|
|
|
45
45
|
export interface NavigateToMarkerAction extends Action {
|
|
46
46
|
kind: typeof NavigateToMarkerAction.KIND;
|
|
@@ -164,11 +164,11 @@ export class NavigateToMarkerActionHandler implements IActionHandler {
|
|
|
164
164
|
@inject(MarkerNavigator)
|
|
165
165
|
protected markerNavigator: MarkerNavigator;
|
|
166
166
|
|
|
167
|
-
@inject(
|
|
167
|
+
@inject(SelectionService)
|
|
168
168
|
protected selectionService: SelectionService;
|
|
169
169
|
|
|
170
170
|
@inject(TYPES.IActionDispatcher)
|
|
171
|
-
protected actionDispatcher:
|
|
171
|
+
protected actionDispatcher: GLSPActionDispatcher;
|
|
172
172
|
|
|
173
173
|
handle(action: NavigateToMarkerAction): void {
|
|
174
174
|
const selected = this.getSelectedElements(action);
|
|
@@ -206,7 +206,7 @@ export class NavigateToMarkerActionHandler implements IActionHandler {
|
|
|
206
206
|
|
|
207
207
|
@injectable()
|
|
208
208
|
export class MarkerNavigatorContextMenuItemProvider implements IContextMenuItemProvider {
|
|
209
|
-
@inject(
|
|
209
|
+
@inject(SelectionService) protected selectionService: SelectionService;
|
|
210
210
|
|
|
211
211
|
getItems(root: Readonly<SModelRoot>, lastMousePosition?: Point): Promise<MenuItem[]> {
|
|
212
212
|
const selectedElementIds = Array.from(this.selectionService.getSelectedElementIDs());
|
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
hasArrayProp
|
|
31
31
|
} from '~glsp-sprotty';
|
|
32
32
|
import { EditorContextService } from '../../base/editor-context-service';
|
|
33
|
+
import { IFeedbackActionDispatcher, IFeedbackEmitter } from '../../base/feedback/feedback-action-dispatcher';
|
|
34
|
+
import { FeedbackCommand } from '../../base/feedback/feedback-command';
|
|
33
35
|
import { removeCssClasses } from '../../utils/smodel-util';
|
|
34
|
-
import { IFeedbackActionDispatcher, IFeedbackEmitter } from '../tool-feedback/feedback-action-dispatcher';
|
|
35
|
-
import { FeedbackCommand } from '../tool-feedback/model';
|
|
36
36
|
import { GIssueMarker, createSIssue, getOrCreateSIssueMarker, getSIssueMarker, getSeverity } from './issue-marker';
|
|
37
37
|
|
|
38
38
|
/**
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
ScrollMouseListener,
|
|
24
24
|
SModelElement
|
|
25
25
|
} from '~glsp-sprotty';
|
|
26
|
-
import { MarqueeMouseTool } from '../tools/marquee-mouse-tool';
|
|
26
|
+
import { MarqueeMouseTool } from '../tools/marquee-selection/marquee-mouse-tool';
|
|
27
27
|
|
|
28
28
|
@injectable()
|
|
29
29
|
export class GLSPScrollMouseListener extends ScrollMouseListener implements IActionHandler {
|
|
@@ -134,7 +134,7 @@ export {
|
|
|
134
134
|
IButtonHandlerRegistration,
|
|
135
135
|
configureButtonHandler
|
|
136
136
|
} from 'sprotty/lib/features/button/button-handler';
|
|
137
|
-
export
|
|
137
|
+
export { SButtonImpl as SButton, SButtonSchema } from 'sprotty/lib/features/button/model';
|
|
138
138
|
export * from 'sprotty/lib/features/command-palette/action-providers';
|
|
139
139
|
export * from 'sprotty/lib/features/command-palette/command-palette';
|
|
140
140
|
export { Anchor, IContextMenuService, IContextMenuServiceProvider } from 'sprotty/lib/features/context-menu/context-menu-service';
|
|
@@ -27,10 +27,8 @@ export const TYPES = {
|
|
|
27
27
|
IToolFactory: Symbol('Factory<Tool>'),
|
|
28
28
|
ITypeHintProvider: Symbol('ITypeHintProvider'),
|
|
29
29
|
IMovementRestrictor: Symbol('IMovementRestrictor'),
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
SModelRootListener: Symbol('SModelRootListener'),
|
|
33
|
-
MouseTool: Symbol('MouseTool'),
|
|
30
|
+
ISelectionListener: Symbol('ISelectionListener'),
|
|
31
|
+
ISModelRootListener: Symbol('ISModelRootListener'),
|
|
34
32
|
IContextMenuProvider: Symbol('IContextMenuProvider'),
|
|
35
33
|
ICopyPasteHandler: Symbol('ICopyPasteHandler'),
|
|
36
34
|
ITool: Symbol('ITool'),
|
package/src/index.ts
CHANGED
|
@@ -27,15 +27,20 @@ import glspEditLabelModule from './features/edit-label/di.config';
|
|
|
27
27
|
import modelHintsModule from './features/hints/di.config';
|
|
28
28
|
import glspHoverModule from './features/hover/di.config';
|
|
29
29
|
import layoutModule from './features/layout/di.config';
|
|
30
|
-
import glspMouseToolModule from './features/mouse-tool/di.config';
|
|
31
30
|
import navigationModule from './features/navigation/di.config';
|
|
31
|
+
import glspRoutingModule from './features/routing/di.config';
|
|
32
32
|
import saveModule from './features/save/di.config';
|
|
33
33
|
import glspSelectModule from './features/select/di.config';
|
|
34
34
|
import sourceModelWatcherModule from './features/source-model-watcher/di.config';
|
|
35
35
|
import svgMetadataModule from './features/svg-metadata/di.config';
|
|
36
|
-
import toolFeedbackModule from './features/tool-feedback/di.config';
|
|
37
36
|
import paletteModule from './features/tool-palette/di.config';
|
|
38
|
-
import
|
|
37
|
+
import changeBoundsToolModule from './features/tools/change-bounds/di.config';
|
|
38
|
+
import deletionToolModule from './features/tools/deletion/di.config';
|
|
39
|
+
import edgeCreationToolModule from './features/tools/edge-creation/di.config';
|
|
40
|
+
import edgeEditToolModule from './features/tools/edge-edit/di.config';
|
|
41
|
+
import enableDefaultToolsOnFocusLossModule from './features/tools/enable-default-tools-on-focus-loss';
|
|
42
|
+
import marqueeSelectionToolModule from './features/tools/marquee-selection/di.config';
|
|
43
|
+
import nodeCreationToolModule from './features/tools/node-creation/di.config';
|
|
39
44
|
import { markerNavigatorContextMenuModule, markerNavigatorModule, validationModule } from './features/validation/di.config';
|
|
40
45
|
import glspViewportModule from './features/viewport/di.config';
|
|
41
46
|
|
|
@@ -47,24 +52,32 @@ export * from './base/auto-complete/auto-complete-actions';
|
|
|
47
52
|
export * from './base/auto-complete/auto-complete-widget';
|
|
48
53
|
export * from './base/auto-complete/validation-decorator';
|
|
49
54
|
export * from './base/command-stack';
|
|
50
|
-
export * from './base/container-modules';
|
|
51
55
|
export { configureServerActions } from './base/di.config';
|
|
52
56
|
export * from './base/drag-aware-mouse-listener';
|
|
53
57
|
export * from './base/editor-context-service';
|
|
58
|
+
export * from './base/feedback/feedback-action-dispatcher';
|
|
59
|
+
export * from './base/feedback/feedback-command';
|
|
60
|
+
export * from './base/feedback/update-model-command';
|
|
54
61
|
export * from './base/focus-tracker';
|
|
55
62
|
export * from './base/model-initialization-constraint';
|
|
56
63
|
export * from './base/model/model-registry';
|
|
57
|
-
export * from './base/
|
|
64
|
+
export * from './base/ranked';
|
|
58
65
|
export * from './base/selection-clearing-mouse-listener';
|
|
66
|
+
export * from './base/selection-service';
|
|
59
67
|
export * from './base/source-uri-aware';
|
|
60
68
|
export * from './base/tool-manager/glsp-tool-manager';
|
|
69
|
+
export * from './base/view/mouse-tool';
|
|
61
70
|
export * from './base/view/view-registry';
|
|
71
|
+
export * from './container-modules';
|
|
72
|
+
|
|
73
|
+
//
|
|
74
|
+
// ------------------ Features ------------------
|
|
75
|
+
export * from './base/feedback/css-feedback';
|
|
76
|
+
export * from './base/view/mouse-tool';
|
|
62
77
|
export * from './features/accessibility/resize-key-tool/resize-key-tool';
|
|
63
78
|
export * from './features/accessibility/view-key-tools/deselect-key-tool';
|
|
64
79
|
export * from './features/accessibility/view-key-tools/movement-key-tool';
|
|
65
80
|
export * from './features/accessibility/view-key-tools/zoom-key-tool';
|
|
66
|
-
//
|
|
67
|
-
// ------------------ Features ------------------
|
|
68
81
|
export * from './features/bounds/freeform-layout';
|
|
69
82
|
export * from './features/bounds/glsp-hidden-bounds-updater';
|
|
70
83
|
export * from './features/bounds/hbox-layout';
|
|
@@ -88,38 +101,35 @@ export * from './features/hints/model';
|
|
|
88
101
|
export * from './features/hints/type-hints';
|
|
89
102
|
export * from './features/hover/hover';
|
|
90
103
|
export * from './features/layout/layout-elements-action';
|
|
91
|
-
export * from './features/mouse-tool/mouse-tool';
|
|
92
104
|
export * from './features/navigation/navigation-action-handler';
|
|
93
105
|
export * from './features/navigation/navigation-target-resolver';
|
|
94
|
-
export * from './features/rank/model';
|
|
95
106
|
export * from './features/reconnect/model';
|
|
107
|
+
export * from './features/routing/glsp-manhattan-edge-router';
|
|
96
108
|
export * from './features/save/model';
|
|
97
109
|
export * from './features/save/save-keylistener';
|
|
98
|
-
export * from './features/select/select-feedback-
|
|
110
|
+
export * from './features/select/select-feedback-command';
|
|
99
111
|
export * from './features/select/select-mouse-listener';
|
|
100
|
-
export * from './features/select/selection-service';
|
|
101
112
|
export * from './features/source-model-watcher/source-model-changed-action-handler';
|
|
102
113
|
export * from './features/svg-metadata/metadata-placer';
|
|
103
|
-
export * from './features/tool-feedback/change-bounds-tool-feedback';
|
|
104
|
-
export * from './features/tool-feedback/creation-tool-feedback';
|
|
105
|
-
export * from './features/tool-feedback/css-feedback';
|
|
106
|
-
export * from './features/tool-feedback/edge-edit-tool-feedback';
|
|
107
|
-
export * from './features/tool-feedback/feedback-action-dispatcher';
|
|
108
|
-
export * from './features/tool-feedback/marquee-tool-feedback';
|
|
109
|
-
export * from './features/tool-feedback/model';
|
|
110
|
-
export * from './features/tool-feedback/view';
|
|
111
114
|
export * from './features/tool-palette/tool-palette';
|
|
112
115
|
export * from './features/tools/base-glsp-tool';
|
|
113
|
-
export * from './features/tools/change-bounds-tool';
|
|
114
|
-
export * from './features/tools/
|
|
115
|
-
export
|
|
116
|
-
export * from './features/tools/
|
|
117
|
-
export * from './features/tools/edge-
|
|
116
|
+
export * from './features/tools/change-bounds/change-bounds-tool';
|
|
117
|
+
export * from './features/tools/change-bounds/change-bounds-tool-feedback';
|
|
118
|
+
export * from './features/tools/change-bounds/view';
|
|
119
|
+
export * from './features/tools/deletion/delete-tool';
|
|
120
|
+
export * from './features/tools/edge-creation/edge-creation-tool';
|
|
121
|
+
export * from './features/tools/edge-creation/edge-creation-tool-feedback';
|
|
122
|
+
export * from './features/tools/edge-creation/view';
|
|
123
|
+
export * from './features/tools/edge-edit/edge-edit-tool';
|
|
124
|
+
export * from './features/tools/edge-edit/edge-edit-tool-feedback';
|
|
118
125
|
export * from './features/tools/enable-default-tools-on-focus-loss';
|
|
119
|
-
export * from './features/tools/
|
|
120
|
-
export * from './features/tools/marquee-
|
|
121
|
-
export * from './features/tools/
|
|
122
|
-
export * from './features/tools/
|
|
126
|
+
export * from './features/tools/marquee-selection/marquee-behavior';
|
|
127
|
+
export * from './features/tools/marquee-selection/marquee-mouse-tool';
|
|
128
|
+
export * from './features/tools/marquee-selection/marquee-tool';
|
|
129
|
+
export * from './features/tools/marquee-selection/marquee-tool-feedback';
|
|
130
|
+
export * from './features/tools/marquee-selection/model';
|
|
131
|
+
export * from './features/tools/marquee-selection/view';
|
|
132
|
+
export * from './features/tools/node-creation/node-creation-tool';
|
|
123
133
|
export * from './features/validation/issue-marker';
|
|
124
134
|
export * from './features/validation/marker-navigator';
|
|
125
135
|
export * from './features/validation/validate';
|
|
@@ -139,33 +149,37 @@ export * from './utils/viewpoint-util';
|
|
|
139
149
|
export * from './views';
|
|
140
150
|
// ------------------ DI Modules ------------------
|
|
141
151
|
export {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
paletteModule,
|
|
145
|
-
toolFeedbackModule,
|
|
152
|
+
changeBoundsToolModule,
|
|
153
|
+
copyPasteContextMenuModule,
|
|
146
154
|
defaultGLSPModule,
|
|
147
|
-
|
|
155
|
+
deletionToolModule,
|
|
156
|
+
edgeCreationToolModule,
|
|
157
|
+
edgeEditToolModule,
|
|
158
|
+
enableDefaultToolsOnFocusLossModule,
|
|
159
|
+
glspAccessibilityModule,
|
|
148
160
|
glspCommandPaletteModule,
|
|
149
161
|
glspContextMenuModule,
|
|
150
|
-
|
|
151
|
-
copyPasteContextMenuModule,
|
|
152
|
-
glspSelectModule,
|
|
153
|
-
glspMouseToolModule,
|
|
154
|
-
layoutModule,
|
|
162
|
+
glspDecorationModule,
|
|
155
163
|
glspEditLabelModule,
|
|
156
164
|
glspHoverModule,
|
|
157
|
-
|
|
158
|
-
enableDefaultToolsOnFocusLossModule,
|
|
159
|
-
navigationModule,
|
|
160
|
-
markerNavigatorModule,
|
|
161
|
-
glspDecorationModule,
|
|
162
|
-
sourceModelWatcherModule,
|
|
163
|
-
markerNavigatorContextMenuModule,
|
|
164
|
-
glspViewportModule,
|
|
165
|
-
svgMetadataModule,
|
|
165
|
+
glspMoveZoomModule,
|
|
166
166
|
glspResizeKeyModule,
|
|
167
|
+
glspRoutingModule,
|
|
167
168
|
glspSearchPaletteModule,
|
|
168
|
-
|
|
169
|
+
glspSelectModule,
|
|
170
|
+
glspServerCopyPasteModule,
|
|
169
171
|
glspViewKeyToolsModule,
|
|
170
|
-
|
|
172
|
+
glspViewportModule,
|
|
173
|
+
layoutModule,
|
|
174
|
+
markerNavigatorContextMenuModule,
|
|
175
|
+
markerNavigatorModule,
|
|
176
|
+
marqueeSelectionToolModule,
|
|
177
|
+
modelHintsModule,
|
|
178
|
+
navigationModule,
|
|
179
|
+
nodeCreationToolModule,
|
|
180
|
+
paletteModule,
|
|
181
|
+
saveModule,
|
|
182
|
+
sourceModelWatcherModule,
|
|
183
|
+
svgMetadataModule,
|
|
184
|
+
validationModule
|
|
171
185
|
};
|
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
ActionMessage,
|
|
21
21
|
ComputedBoundsAction,
|
|
22
22
|
DiagramServerProxy,
|
|
23
|
+
EndProgressAction,
|
|
23
24
|
ExportSvgAction,
|
|
24
25
|
GLSPClient,
|
|
25
26
|
ICommand,
|
|
@@ -27,7 +28,9 @@ import {
|
|
|
27
28
|
ServerMessageAction,
|
|
28
29
|
ServerStatusAction,
|
|
29
30
|
SetEditModeAction,
|
|
30
|
-
|
|
31
|
+
StartProgressAction,
|
|
32
|
+
SwitchEditModeCommand,
|
|
33
|
+
UpdateProgressAction
|
|
31
34
|
} from '~glsp-sprotty';
|
|
32
35
|
import { SourceUriAware } from '../base/source-uri-aware';
|
|
33
36
|
|
|
@@ -108,6 +111,9 @@ export function registerDefaultGLSPServerActions(registry: ActionHandlerRegistry
|
|
|
108
111
|
registry.register(ServerMessageAction.KIND, diagramServer);
|
|
109
112
|
registry.register(ServerStatusAction.KIND, diagramServer);
|
|
110
113
|
registry.register(ExportSvgAction.KIND, diagramServer);
|
|
114
|
+
registry.register(StartProgressAction.KIND, diagramServer);
|
|
115
|
+
registry.register(UpdateProgressAction.KIND, diagramServer);
|
|
116
|
+
registry.register(EndProgressAction.KIND, diagramServer);
|
|
111
117
|
|
|
112
118
|
// Register an empty handler for SwitchEditMode, to avoid runtime exceptions.
|
|
113
119
|
// We don't support SwitchEditMode, but Sprotty still sends those actions, so ignore them.
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
+
import { expect } from 'chai';
|
|
17
|
+
import { Container } from 'inversify';
|
|
16
18
|
import {
|
|
17
19
|
AbstractEdgeRouter,
|
|
18
20
|
EdgeRouterRegistry,
|
|
@@ -26,9 +28,7 @@ import {
|
|
|
26
28
|
SRoutableElement,
|
|
27
29
|
SRoutingHandle,
|
|
28
30
|
routingModule
|
|
29
|
-
} from '
|
|
30
|
-
import { expect } from 'chai';
|
|
31
|
-
import { Container } from 'inversify';
|
|
31
|
+
} from '~glsp-sprotty';
|
|
32
32
|
import { ALL_ROUTING_POINTS, ROUTE_KINDS, ROUTING_POINT_KINDS, calcRoute } from './smodel-util';
|
|
33
33
|
|
|
34
34
|
class TestRouter extends AbstractEdgeRouter {
|
|
@@ -19,13 +19,16 @@ import {
|
|
|
19
19
|
BoundsAware,
|
|
20
20
|
Dimension,
|
|
21
21
|
Point,
|
|
22
|
+
SChildElement,
|
|
22
23
|
SModelElement,
|
|
23
24
|
Viewport,
|
|
24
25
|
findParentByFeature,
|
|
25
26
|
isAlignable,
|
|
27
|
+
isBoundsAware,
|
|
26
28
|
isViewport,
|
|
27
29
|
translateBounds
|
|
28
30
|
} from '~glsp-sprotty';
|
|
31
|
+
import { BoundsAwareModelElement } from './smodel-util';
|
|
29
32
|
|
|
30
33
|
/**
|
|
31
34
|
* Return the position corresponding to this mouse event (Browser coordinates)
|
|
@@ -98,3 +101,32 @@ export function toAbsolutePosition(target: SModelElement & BoundsAware): Point {
|
|
|
98
101
|
export function toAbsoluteSize(target: SModelElement & BoundsAware): Dimension {
|
|
99
102
|
return toAbsoluteBounds(target);
|
|
100
103
|
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Convert a point, specified in absolute coordinates, to a point relative
|
|
107
|
+
* to the parent of the specified child element.
|
|
108
|
+
*
|
|
109
|
+
* @param element the child element
|
|
110
|
+
* @param absolutePoint a point in absolute coordinates
|
|
111
|
+
* @returns the equivalent point, relative to the element's parent coordinates
|
|
112
|
+
*/
|
|
113
|
+
export function absoluteToParent(element: BoundsAwareModelElement & SChildElement, absolutePoint: Point): Point {
|
|
114
|
+
if (isBoundsAware(element.parent)) {
|
|
115
|
+
return absoluteToLocal(element.parent, absolutePoint);
|
|
116
|
+
}
|
|
117
|
+
// If the parent is not bounds-aware, assume it's at 0; 0 and proceed
|
|
118
|
+
return absoluteToLocal(element, absolutePoint);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Convert a point, specified in absolute coordinates, to a point relative
|
|
123
|
+
* to the specified element.
|
|
124
|
+
*
|
|
125
|
+
* @param element the element
|
|
126
|
+
* @param absolutePoint a point in absolute coordinates
|
|
127
|
+
* @returns the equivalent point, relative to the element's coordinates
|
|
128
|
+
*/
|
|
129
|
+
export function absoluteToLocal(element: BoundsAwareModelElement, absolutePoint: Point): Point {
|
|
130
|
+
const absoluteElementBounds = toAbsoluteBounds(element);
|
|
131
|
+
return { x: absolutePoint.x - absoluteElementBounds.x, y: absolutePoint.y - absoluteElementBounds.y };
|
|
132
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container-modules.d.ts","sourceRoot":"","sources":["../../src/base/container-modules.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EACH,sBAAsB,EAazB,MAAM,eAAe,CAAC;AAuBvB,eAAO,MAAM,eAAe,6kBAmClB,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAE7H;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,OAAO,EAAE,eAAe,EAAE,GAAG,SAAS,CAE9E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container-modules.js","sourceRoot":"","sources":["../../src/base/container-modules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,yCAAuD;AACvD,iDA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1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-model-command.d.ts","sourceRoot":"","sources":["../../../src/base/model/update-model-command.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,qBAAqB,EACrB,SAAS,EACT,OAAO,EAEP,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,OAAO,EAEP,UAAU,EAGV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAErB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAErE;;;;GAIG;AACH,qBACa,qBAAsB,YAAW,cAAc;IACxD,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;CAKxC;AAED,MAAM,WAAW,kBAAkB;IAC/B,gBAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACtD;AAED;;;;GAIG;AACH,qBACa,+BAAgC,SAAQ,kBAAkB;IAEnE,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC;IAI1B,SAAS,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;IAI9D,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,CAAM;IAExD,SAAS,CAAC,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;gBAG9B,MAAM,EAAE,iBAAiB,EAE/C,6BAA6B,EAAE,MAAM,OAAO,CAAC,qBAAqB,CAAC;cAMpD,aAAa,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,uBAAuB,GAAG,aAAa;IAiB3H,SAAS,CAAC,mBAAmB,CAAC,QAAQ,EAAE,qBAAqB,GAAG,OAAO,EAAE;IAazE,SAAS,CAAC,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,MAAM;cAM7C,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,EAAE,UAAU,EAAE,OAAO,EAAE,uBAAuB,GAAG,SAAS,EAAE;CAIlI"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-model-command.js","sourceRoot":"","sources":["../../../src/base/model/update-model-command.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAsE;AACtE,iDAkBuB;AAIvB;;;;GAIG;AAEH,IAAa,qBAAqB,GAAlC,MAAa,qBAAqB;IAC9B,MAAM,CAAC,MAAc;QACjB,IAAI,8BAAc,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE;YAC3B,OAAO,iCAAiB,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAC;SACvE;IACL,CAAC;CACJ,CAAA;AANY,qBAAqB;IADjC,IAAA,sBAAU,GAAE;GACA,qBAAqB,CAMjC;AANY,sDAAqB;AAYlC;;;;GAIG;AACH,IACa,+BAA+B,GAD5C,MACa,+BAAgC,SAAQ,kCAAkB;IAcnE,YAC0B,MAAyB,EAE/C,6BAAmE;QAEnE,KAAK,iBAAG,OAAO,EAAE,IAAI,IAAK,MAAM,EAAG,CAAC;QAT9B,uBAAkB,GAAyB,EAAE,CAAC;QAUpD,6BAA6B,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,qBAAqB,GAAG,QAAQ,CAAC,CAAC,CAAC;IAC9F,CAAC;IAEkB,aAAa,CAAC,OAAmB,EAAE,OAAmB,EAAE,OAAgC;QACvG,IAAI,IAAI,CAAC,wBAAwB,IAAI,IAAI,CAAC,qBAAqB,EAAE;YAC7D,mEAAmE;YACnE,uEAAuE;YACvE,MAAM,WAAW,mCACV,OAAO,KACV,IAAI,EAAE,OAAO,GAChB,CAAC;YAEF,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,CAAC,IAA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,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QAC/D,OAAO,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,YAAY,mCAAmB,CAAC,CAAC,CAAC;IACvF,CAAC;CACJ,CAAA;AA7Da;IADT,IAAA,kBAAM,EAAC,qBAAK,CAAC,OAAO,CAAC;;+DACI;AAIhB;IAFT,IAAA,kBAAM,EAAC,qBAAK,CAAC,yBAAyB,CAAC;IACvC,IAAA,oBAAQ,GAAE;;iFACmD;AAIpD;IAFT,IAAA,uBAAW,EAAC,qBAAK,CAAC,kBAAkB,CAAC;IACrC,IAAA,oBAAQ,GAAE;;2EAC6C;AAV/C,+BAA+B;IAD3C,IAAA,sBAAU,GAAE;IAgBJ,WAAA,IAAA,kBAAM,EAAC,qBAAK,CAAC,MAAM,CAAC,CAAA;IACpB,WAAA,IAAA,kBAAM,EAAC,qBAAK,CAAC,6BAA6B,CAAC,CAAA;;GAhBvC,+BAA+B,CA+D3C;AA/DY,0EAA+B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../../../src/features/mouse-tool/di.config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAI5C,QAAA,MAAM,mBAAmB,iBAIvB,CAAC;AAEH,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../../../src/features/mouse-tool/di.config.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA4C;AAC5C,iDAAiD;AACjD,6CAAgD;AAEhD,MAAM,mBAAmB,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE;IAChF,IAAI,CAAC,6BAAgB,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IACnD,IAAI,CAAC,qBAAK,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,6BAAgB,CAAC,CAAC;IAClD,MAAM,CAAC,yBAAS,CAAC,CAAC,SAAS,CAAC,6BAAgB,CAAC,CAAC;AAClD,CAAC,CAAC,CAAC;AAEH,kBAAe,mBAAmB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MouseListener, MouseTool, SModelElement, SModelRoot } from '../../glsp-sprotty/index';
|
|
2
|
-
export interface IMouseTool {
|
|
3
|
-
register(mouseListener: MouseListener): void;
|
|
4
|
-
deregister(mouseListener: MouseListener): void;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Custom helper type to declare the explicit mouse listener methods
|
|
8
|
-
* of {@link MouseListener} i.e. omitting the `decorate` method.
|
|
9
|
-
*/
|
|
10
|
-
type MouseListenerMethods = keyof Omit<MouseListener, 'decorate'>;
|
|
11
|
-
export declare class RankingMouseTool extends MouseTool implements IMouseTool {
|
|
12
|
-
protected mouseListeners: MouseListener[];
|
|
13
|
-
protected rankedMouseListeners: Map<number, MouseListener[]>;
|
|
14
|
-
constructor(mouseListeners?: MouseListener[]);
|
|
15
|
-
register(mouseListener: MouseListener): void;
|
|
16
|
-
deregister(mouseListener: MouseListener): void;
|
|
17
|
-
protected handleEvent<K extends MouseListenerMethods>(methodName: K, model: SModelRoot, event: MouseEvent): void;
|
|
18
|
-
notifyListenersByRank<K extends MouseListenerMethods>(element: SModelElement, methodName: K, model: SModelRoot, event: MouseEvent): Promise<void>;
|
|
19
|
-
dispatchActions<K extends MouseListenerMethods>(mouseListeners: MouseListener[], methodName: K, element: SModelElement, event: MouseEvent): Promise<void>;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
22
|
-
//# sourceMappingURL=mouse-tool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mouse-tool.d.ts","sourceRoot":"","sources":["../../../src/features/mouse-tool/mouse-tool.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAU,aAAa,EAAE,SAAS,EAAE,aAAa,EAAE,UAAU,EAAS,MAAM,eAAe,CAAC;AAGnG,MAAM,WAAW,UAAU;IACvB,QAAQ,CAAC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,IAAI,CAAC;CAClD;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,MAAM,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAElE,qBACa,gBAAiB,SAAQ,SAAU,YAAW,UAAU;cAGY,cAAc,EAAE,aAAa,EAAE;IAF5G,SAAS,CAAC,oBAAoB,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,EAAE,CAAC,CAAC;gBAEgB,cAAc,GAAE,aAAa,EAAO;IAKxG,QAAQ,CAAC,aAAa,EAAE,aAAa,GAAG,IAAI;IAK5C,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,IAAI;cAKpC,WAAW,CAAC,CAAC,SAAS,oBAAoB,EAAE,UAAU,EAAE,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,GAAG,IAAI;IASnH,qBAAqB,CAAC,CAAC,SAAS,oBAAoB,EACtD,OAAO,EAAE,aAAa,EACtB,UAAU,EAAE,CAAC,EACb,KAAK,EAAE,UAAU,EACjB,KAAK,EAAE,UAAU,GAClB,OAAO,CAAC,IAAI,CAAC;IAMV,eAAe,CAAC,CAAC,SAAS,oBAAoB,EAChD,cAAc,EAAE,aAAa,EAAE,EAC/B,UAAU,EAAE,CAAC,EACb,OAAO,EAAE,aAAa,EACtB,KAAK,EAAE,UAAU,GAClB,OAAO,CAAC,IAAI,CAAC;CAenB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mouse-tool.js","sourceRoot":"","sources":["../../../src/features/mouse-tool/mouse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wB;IAC5D,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,MAAmB,EAAE,IAAO,EAAE,EAAE;QAC9D,MAAM,GAAG,GAAG,WAAW,CAAC,IAAI,CAAC,CAAC;QAC9B,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YAClB,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;SAC3B;aAAM;YACH,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAChC,IAAI,OAAO,EAAE;gBACT,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACtB;SACJ;QACD,OAAO,MAAM,CAAC;IAClB,CAAC,EAAE,IAAI,GAAG,EAAU,CAAC,CAAC;IACtB,OAAO,IAAI,GAAG,CAAS,CAAC,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/features/rank/model.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,eAAO,MAAM,YAAY,IAAI,CAAC;AAE9B,MAAM,WAAW,MAAM;IACnB,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,MAAM,CAEhD;AAED,wBAAgB,OAAO,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,CAExC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/features/rank/model.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAErE,QAAA,YAAY,GAAG,CAAC,CAAC;AAM9B,SAAgB,QAAQ,CAAC,GAAQ;IAC7B,OAAO,GAAG,KAAK,SAAS,IAAI,GAAG,CAAC,IAAI,KAAK,SAAS,IAAI,OAAO,GAAG,CAAC,IAAI,KAAK,QAAQ,CAAC;AACvF,CAAC;AAFD,4BAEC;AAED,SAAgB,OAAO,CAAC,GAAQ;IAC5B,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAY,CAAC;AACnD,CAAC;AAFD,0BAEC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Action, Command, CommandExecutionContext, SModelRoot, SelectAction } from '../../glsp-sprotty/index';
|
|
2
|
-
export interface SelectFeedbackAction extends Omit<SelectAction, 'kind'>, Action {
|
|
3
|
-
kind: typeof SelectFeedbackAction.KIND;
|
|
4
|
-
}
|
|
5
|
-
export declare namespace SelectFeedbackAction {
|
|
6
|
-
const KIND = "selectFeedback";
|
|
7
|
-
function is(object: any): object is SelectFeedbackAction;
|
|
8
|
-
function create(options?: {
|
|
9
|
-
selectedElementsIDs?: string[];
|
|
10
|
-
deselectedElementsIDs?: string[] | boolean;
|
|
11
|
-
}): SelectFeedbackAction;
|
|
12
|
-
function addSelection(selectedElementsIDs: string[]): SelectFeedbackAction;
|
|
13
|
-
function removeSelection(deselectedElementsIDs: string[]): SelectFeedbackAction;
|
|
14
|
-
function setSelection(selectedElementsIDs: string[]): SelectFeedbackAction;
|
|
15
|
-
}
|
|
16
|
-
export declare class SelectFeedbackCommand extends Command {
|
|
17
|
-
action: SelectFeedbackAction;
|
|
18
|
-
static readonly KIND = "selectFeedback";
|
|
19
|
-
private sprottySelectCommand;
|
|
20
|
-
constructor(action: SelectFeedbackAction);
|
|
21
|
-
execute(context: CommandExecutionContext): SModelRoot;
|
|
22
|
-
undo(context: CommandExecutionContext): SModelRoot;
|
|
23
|
-
redo(context: CommandExecutionContext): SModelRoot;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=select-feedback-action.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-feedback-action.d.ts","sourceRoot":"","sources":["../../../src/features/select/select-feedback-action.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,OAAO,EACP,uBAAuB,EACvB,UAAU,EACV,YAAY,EAIf,MAAM,eAAe,CAAC;AAEvB,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE,MAAM;IAC5E,IAAI,EAAE,OAAO,oBAAoB,CAAC,IAAI,CAAC;CAC1C;AAED,yBAAiB,oBAAoB,CAAC;IAC3B,MAAM,IAAI,mBAAmB,CAAC;IAErC,SAAgB,EAAE,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,oBAAoB,CAE9D;IAED,SAAgB,MAAM,CAAC,OAAO,CAAC,EAAE;QAAE,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,qBAAqB,CAAC,EAAE,MAAM,EAAE,GAAG,OAAO,CAAA;KAAE,GAAG,oBAAoB,CAErI;IAED,SAAgB,YAAY,CAAC,mBAAmB,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAEhF;IAED,SAAgB,eAAe,CAAC,qBAAqB,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAErF;IAED,SAAgB,YAAY,CAAC,mBAAmB,EAAE,MAAM,EAAE,GAAG,oBAAoB,CAEhF;CACJ;AAED,qBACa,qBAAsB,SAAQ,OAAO;IAIL,MAAM,EAAE,oBAAoB;IAHrE,MAAM,CAAC,QAAQ,CAAC,IAAI,oBAA6B;IACjD,OAAO,CAAC,oBAAoB,CAAuB;gBAEV,MAAM,EAAE,oBAAoB;IAKrE,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU;IAIrD,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU;IAIlD,IAAI,CAAC,OAAO,EAAE,uBAAuB,GAAG,UAAU;CAGrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"select-feedback-action.js","sourceRoot":"","sources":["../../../src/features/select/select-feedback-action.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA+C;AAC/C,iDASuB;AAMvB,IAAiB,oBAAoB,CAsBpC;AAtBD,WAAiB,oBAAoB;IACpB,yBAAI,GAAG,gBAAgB,CAAC;IAErC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,sBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,qBAAA,IAAI,CAAC,IAAI,IAAA,4BAAY,EAAC,MAAM,EAAE,qBAAqB,CAAC,IAAI,IAAA,4BAAY,EAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC;IACxI,CAAC;IAFe,uBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAAwF;QAC3G,uCAAY,4BAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAE,IAAI,EAAE,qBAAA,IAAI,IAAG;IAC3D,CAAC;IAFe,2BAAM,SAErB,CAAA;IAED,SAAgB,YAAY,CAAC,mBAA6B;QACtD,uCAAY,4BAAY,CAAC,YAAY,CAAC,mBAAmB,CAAC,KAAE,IAAI,EAAE,qBAAA,IAAI,IAAG;IAC7E,CAAC;IAFe,iCAAY,eAE3B,CAAA;IAED,SAAgB,eAAe,CAAC,qBAA+B;QAC3D,uCAAY,4BAAY,CAAC,eAAe,CAAC,qBAAqB,CAAC,KAAE,IAAI,EAAE,qBAAA,IAAI,IAAG;IAClF,CAAC;IAFe,oCAAe,kBAE9B,CAAA;IAED,SAAgB,YAAY,CAAC,mBAA6B;QACtD,uCAAY,4BAAY,CAAC,YAAY,CAAC,mBAAmB,CAAC,KAAE,IAAI,EAAE,qBAAA,IAAI,IAAG;IAC7E,CAAC;IAFe,iCAAY,eAE3B,CAAA;AACL,CAAC,EAtBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAsBpC;AAED,IACa,qBAAqB,GADlC,MACa,qBAAsB,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