@eclipse-glsp/client 2.3.0-next.319 → 2.3.0-next.321

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.
Files changed (79) hide show
  1. package/lib/base/action-dispatcher.d.ts +1 -1
  2. package/lib/base/action-dispatcher.js +1 -1
  3. package/lib/base/action-handler-registry.d.ts +1 -1
  4. package/lib/base/action-handler-registry.js +1 -1
  5. package/lib/base/default.module.d.ts +1 -1
  6. package/lib/base/default.module.js +1 -1
  7. package/lib/base/feedback/feedback-action-dispatcher.d.ts +1 -1
  8. package/lib/base/feedback/feedback-action-dispatcher.js +1 -1
  9. package/lib/base/feedback/feedback-command.d.ts +1 -1
  10. package/lib/base/feedback/feedback-command.js +1 -1
  11. package/lib/base/feedback/index.d.ts +1 -1
  12. package/lib/base/feedback/index.js +1 -1
  13. package/lib/base/feedback/update-model-command.d.ts +1 -1
  14. package/lib/base/feedback/update-model-command.js +1 -1
  15. package/lib/base/model/glsp-model-source.d.ts +1 -1
  16. package/lib/base/model/glsp-model-source.js +1 -1
  17. package/lib/base/ranked.d.ts +1 -1
  18. package/lib/base/ranked.js +1 -1
  19. package/lib/base/selection-service.d.ts +1 -1
  20. package/lib/base/selection-service.js +1 -1
  21. package/lib/base/selection-service.spec.js +1 -1
  22. package/lib/features/bounds/glsp-hidden-bounds-updater.d.ts +1 -1
  23. package/lib/features/bounds/glsp-hidden-bounds-updater.js +1 -1
  24. package/lib/features/bounds/local-bounds.d.ts +1 -1
  25. package/lib/features/bounds/local-bounds.js +1 -1
  26. package/lib/features/bounds/set-bounds-feedback-command.d.ts +1 -1
  27. package/lib/features/bounds/set-bounds-feedback-command.js +1 -1
  28. package/lib/features/change-bounds/position-snapper.d.ts +1 -1
  29. package/lib/features/change-bounds/position-snapper.js +1 -1
  30. package/lib/features/element-template/add-template-element.d.ts +1 -1
  31. package/lib/features/element-template/add-template-element.js +1 -1
  32. package/lib/features/helper-lines/helper-line-feedback.d.ts +1 -1
  33. package/lib/features/helper-lines/helper-line-feedback.js +1 -1
  34. package/lib/features/helper-lines/helper-line-manager-default.d.ts +1 -1
  35. package/lib/features/helper-lines/helper-line-manager-default.js +1 -1
  36. package/lib/features/helper-lines/helper-line-manager.d.ts +1 -1
  37. package/lib/features/hints/type-hint-provider.d.ts +1 -1
  38. package/lib/features/hints/type-hint-provider.js +1 -1
  39. package/lib/features/tools/change-bounds/change-bounds-tool-feedback.d.ts +1 -1
  40. package/lib/features/tools/change-bounds/change-bounds-tool-feedback.js +1 -1
  41. package/lib/features/tools/marquee-selection/marquee-behavior.spec.d.ts +1 -1
  42. package/lib/features/tools/marquee-selection/marquee-behavior.spec.js +1 -1
  43. package/lib/features/validation/validate.d.ts +20 -2
  44. package/lib/features/validation/validate.d.ts.map +1 -1
  45. package/lib/features/validation/validate.js +13 -10
  46. package/lib/features/validation/validate.js.map +1 -1
  47. package/lib/tsconfig.tsbuildinfo +1 -1
  48. package/lib/utils/contribution-provider.d.ts +1 -1
  49. package/lib/utils/contribution-provider.js +1 -1
  50. package/lib/utils/gmodel-util.d.ts +1 -1
  51. package/lib/utils/gmodel-util.js +1 -1
  52. package/lib/utils/html-utils.js +1 -1
  53. package/package.json +3 -3
  54. package/src/base/action-dispatcher.ts +1 -1
  55. package/src/base/action-handler-registry.ts +1 -1
  56. package/src/base/default.module.ts +1 -1
  57. package/src/base/feedback/feedback-action-dispatcher.ts +1 -1
  58. package/src/base/feedback/feedback-command.ts +1 -1
  59. package/src/base/feedback/index.ts +1 -1
  60. package/src/base/feedback/update-model-command.ts +1 -1
  61. package/src/base/model/glsp-model-source.ts +1 -1
  62. package/src/base/ranked.ts +1 -1
  63. package/src/base/selection-service.spec.ts +1 -1
  64. package/src/base/selection-service.ts +1 -1
  65. package/src/features/bounds/glsp-hidden-bounds-updater.ts +1 -1
  66. package/src/features/bounds/local-bounds.ts +1 -1
  67. package/src/features/bounds/set-bounds-feedback-command.ts +1 -1
  68. package/src/features/change-bounds/position-snapper.ts +1 -1
  69. package/src/features/element-template/add-template-element.ts +1 -1
  70. package/src/features/helper-lines/helper-line-feedback.ts +1 -1
  71. package/src/features/helper-lines/helper-line-manager-default.ts +1 -1
  72. package/src/features/helper-lines/helper-line-manager.ts +1 -1
  73. package/src/features/hints/type-hint-provider.ts +1 -1
  74. package/src/features/tools/change-bounds/change-bounds-tool-feedback.ts +1 -1
  75. package/src/features/tools/marquee-selection/marquee-behavior.spec.ts +1 -1
  76. package/src/features/validation/validate.ts +18 -11
  77. package/src/utils/contribution-provider.ts +1 -1
  78. package/src/utils/gmodel-util.ts +1 -1
  79. package/src/utils/html-utils.ts +1 -1
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
2
  /********************************************************************************
3
- * Copyright (c) 2019-2023 EclipseSource and others.
3
+ * Copyright (c) 2019-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GLSPActionDispatcher = void 0;
13
13
  /********************************************************************************
14
- * Copyright (c) 2019-2023 EclipseSource and others.
14
+ * Copyright (c) 2019-2024 EclipseSource and others.
15
15
  *
16
16
  * This program and the accompanying materials are made available under the
17
17
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2023 EclipseSource and others.
3
+ * Copyright (c) 2023-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultModule = void 0;
4
4
  /********************************************************************************
5
- * Copyright (c) 2019-2023 EclipseSource and others.
5
+ * Copyright (c) 2019-2024 EclipseSource and others.
6
6
  *
7
7
  * This program and the accompanying materials are made available under the
8
8
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.FeedbackActionDispatcher = void 0;
13
13
  /********************************************************************************
14
- * Copyright (c) 2019-2023 EclipseSource and others.
14
+ * Copyright (c) 2019-2024 EclipseSource and others.
15
15
  *
16
16
  * This program and the accompanying materials are made available under the
17
17
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getFeedbackRank = exports.FeedbackCommand = void 0;
4
4
  /********************************************************************************
5
- * Copyright (c) 2019-2023 EclipseSource and others.
5
+ * Copyright (c) 2019-2024 EclipseSource and others.
6
6
  *
7
7
  * This program and the accompanying materials are made available under the
8
8
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /********************************************************************************
18
- * Copyright (c) 2023 EclipseSource and others.
18
+ * Copyright (c) 2023-2024 EclipseSource and others.
19
19
  *
20
20
  * This program and the accompanying materials are made available under the
21
21
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.FeedbackAwareUpdateModelCommand = void 0;
16
16
  /********************************************************************************
17
- * Copyright (c) 2019-2023 EclipseSource and others.
17
+ * Copyright (c) 2019-2024 EclipseSource and others.
18
18
  *
19
19
  * This program and the accompanying materials are made available under the
20
20
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2023 EclipseSource and others.
3
+ * Copyright (c) 2023-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2019-2023 EclipseSource and others.
3
+ * Copyright (c) 2019-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.SelectFeedbackAction = exports.SelectAllCommand = exports.SelectCommand = exports.SelectionService = void 0;
16
16
  /********************************************************************************
17
- * Copyright (c) 2019-2023 EclipseSource and others.
17
+ * Copyright (c) 2019-2024 EclipseSource and others.
18
18
  *
19
19
  * This program and the accompanying materials are made available under the
20
20
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  };
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  /********************************************************************************
10
- * Copyright (c) 2020-2023 EclipseSource and others.
10
+ * Copyright (c) 2020-2024 EclipseSource and others.
11
11
  *
12
12
  * This program and the accompanying materials are made available under the
13
13
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2022-2023 EclipseSource and others.
2
+ * Copyright (c) 2022-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2022-2023 EclipseSource and others.
3
+ * Copyright (c) 2022-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.LocalComputedBoundsCommand = exports.LocalComputedBoundsAction = exports.LocalRequestBoundsAction = void 0;
16
16
  /********************************************************************************
17
- * Copyright (c) 2023 EclipseSource and others.
17
+ * Copyright (c) 2023-2024 EclipseSource and others.
18
18
  *
19
19
  * This program and the accompanying materials are made available under the
20
20
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SetBoundsFeedbackCommand = exports.SetBoundsFeedbackAction = void 0;
13
13
  /********************************************************************************
14
- * Copyright (c) 2023 EclipseSource and others.
14
+ * Copyright (c) 2023-2024 EclipseSource and others.
15
15
  *
16
16
  * This program and the accompanying materials are made available under the
17
17
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.PositionSnapper = void 0;
16
16
  /********************************************************************************
17
- * Copyright (c) 2023 EclipseSource and others.
17
+ * Copyright (c) 2023-2024 EclipseSource and others.
18
18
  *
19
19
  * This program and the accompanying materials are made available under the
20
20
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2023 EclipseSource and others.
3
+ * Copyright (c) 2023-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2023 EclipseSource and others.
3
+ * Copyright (c) 2023-2024 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.HelperLineManager = exports.DEFAULT_HELPER_LINE_OPTIONS = exports.DEFAULT_MOVE_DELTA = void 0;
13
13
  /********************************************************************************
14
- * Copyright (c) 2023 EclipseSource and others.
14
+ * Copyright (c) 2023-2024 EclipseSource and others.
15
15
  *
16
16
  * This program and the accompanying materials are made available under the
17
17
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 EclipseSource and others.
2
+ * Copyright (c) 2023-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.TypeHintProvider = exports.ApplyTypeHintsCommand = exports.ApplyTypeHintsAction = void 0;
16
16
  /********************************************************************************
17
- * Copyright (c) 2019-2023 EclipseSource and others.
17
+ * Copyright (c) 2019-2024 EclipseSource and others.
18
18
  *
19
19
  * This program and the accompanying materials are made available under the
20
20
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019-2023 EclipseSource and others.
2
+ * Copyright (c) 2019-2024 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.FeedbackMoveMouseListener = exports.MoveFinishedEventAction = exports.MoveInitializedEventAction = exports.HideChangeBoundsToolResizeFeedbackCommand = exports.ShowChangeBoundsToolResizeFeedbackCommand = exports.HideChangeBoundsToolResizeFeedbackAction = exports.ShowChangeBoundsToolResizeFeedbackAction = void 0;
13
13
  /********************************************************************************
14
- * Copyright (c) 2019-2023 EclipseSource and others.
14
+ * Copyright (c) 2019-2024 EclipseSource and others.
15
15
  *
16
16
  * This program and the accompanying materials are made available under the
17
17
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021 EclipseSource and others.
2
+ * Copyright (c) 2021-2023 EclipseSource and others.
3
3
  *
4
4
  * This program and the accompanying materials are made available under the
5
5
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /********************************************************************************
3
- * Copyright (c) 2021 EclipseSource and others.
3
+ * Copyright (c) 2021-2023 EclipseSource and others.
4
4
  *
5
5
  * This program and the accompanying materials are made available under the
6
6
  * terms of the Eclipse Public License v. 2.0 which is available at
@@ -1,3 +1,18 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2019-2023 EclipseSource and others.
3
+ *
4
+ * This program and the accompanying materials are made available under the
5
+ * terms of the Eclipse Public License v. 2.0 which is available at
6
+ * http://www.eclipse.org/legal/epl-2.0.
7
+ *
8
+ * This Source Code may also be made available under the following Secondary
9
+ * Licenses when the conditions for such availability set forth in the Eclipse
10
+ * Public License v. 2.0 are satisfied: GNU General Public License, version 2
11
+ * with the GNU Classpath Exception which is available at
12
+ * https://www.gnu.org/software/classpath/license.html.
13
+ *
14
+ * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
+ ********************************************************************************/
1
16
  import { Action, CommandExecutionContext, CommandReturn, DeleteMarkersAction, IActionDispatcher, IActionHandler, ICommand, Marker, SetMarkersAction } from '@eclipse-glsp/sprotty';
2
17
  import { EditorContextService } from '../../base/editor-context-service';
3
18
  import { IFeedbackActionDispatcher, IFeedbackEmitter } from '../../base/feedback/feedback-action-dispatcher';
@@ -8,14 +23,17 @@ import { FeedbackCommand } from '../../base/feedback/feedback-command';
8
23
  */
9
24
  export declare class ValidationFeedbackEmitter implements IFeedbackEmitter {
10
25
  protected feedbackActionDispatcher: IFeedbackActionDispatcher;
11
- protected actionDispatcher: () => Promise<IActionDispatcher>;
12
- protected registeredFeedbackByReason: Map<string, ApplyMarkersAction>;
26
+ protected registeredFeedbackByReason: Map<string, {
27
+ action: ApplyMarkersAction;
28
+ emitter: IFeedbackEmitter;
29
+ }>;
13
30
  /**
14
31
  * Register the action that should be emitted for visualizing validation feedback.
15
32
  * @param action the action that should be emitted when the model is updated and that will visualize the model validation feedback.
16
33
  * @param reason the reason for this validation feedback.
17
34
  */
18
35
  registerValidationFeedbackAction(action: ApplyMarkersAction, reason?: string): void;
36
+ protected createEmitter(reason: string): IFeedbackEmitter;
19
37
  }
20
38
  /**
21
39
  * Manages current markers for the outside of the GLSP.
@@ -1 +1 @@
1
- {"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/features/validation/validate.ts"],"names":[],"mappings":"AAgBA,OAAO,EACH,MAAM,EACN,uBAAuB,EACvB,aAAa,EACb,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,MAAM,EAEN,gBAAgB,EAGnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAC7G,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAIvE;;;GAGG;AACH,qBACa,yBAA0B,YAAW,gBAAgB;IACrB,SAAS,CAA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K5D;CACJ;AAED;;;GAGG;AACH,qBACa,mBAAoB,SAAQ,eAAe;IAGlB,SAAS,CAAC,MAAM,EAAE,kBAAkB;IAFtE,MAAM,CAAC,IAAI,SAA2B;gBAEM,MAAM,EAAE,kBAAkB;IAItE,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa;CAe3D;AAiBD;;GAEG;AACH,qBACa,oBAAqB,SAAQ,eAAe;IAGnB,SAAS,CAAC,MAAM,EAAE,mBAAmB;IAFvE,MAAM,CAAC,IAAI,SAA4B;gBAEK,MAAM,EAAE,mBAAmB;IAIvE,OAAO,CAAC,OAAO,EAAE,uBAAuB,GAAG,aAAa;CAwB3D"}
@@ -28,8 +28,8 @@ exports.DeleteMarkersCommand = exports.ApplyMarkersCommand = exports.ApplyMarker
28
28
  *
29
29
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
30
30
  ********************************************************************************/
31
- const inversify_1 = require("inversify");
32
31
  const sprotty_1 = require("@eclipse-glsp/sprotty");
32
+ const inversify_1 = require("inversify");
33
33
  const editor_context_service_1 = require("../../base/editor-context-service");
34
34
  const feedback_command_1 = require("../../base/feedback/feedback-command");
35
35
  const gmodel_util_1 = require("../../utils/gmodel-util");
@@ -50,14 +50,21 @@ let ValidationFeedbackEmitter = class ValidationFeedbackEmitter {
50
50
  registerValidationFeedbackAction(action, reason = '') {
51
51
  // De-register feedback and clear existing markers with the same reason
52
52
  const previousFeedbackWithSameReason = this.registeredFeedbackByReason.get(reason);
53
+ let emitter;
53
54
  if (previousFeedbackWithSameReason) {
54
- this.feedbackActionDispatcher.deregisterFeedback(this, [previousFeedbackWithSameReason]);
55
- const deleteMarkersAction = sprotty_1.DeleteMarkersAction.create(previousFeedbackWithSameReason.markers);
56
- this.actionDispatcher().then(dispatcher => dispatcher.dispatch(deleteMarkersAction));
55
+ emitter = previousFeedbackWithSameReason.emitter;
56
+ const deleteMarkersAction = sprotty_1.DeleteMarkersAction.create(previousFeedbackWithSameReason.action.markers);
57
+ this.feedbackActionDispatcher.deregisterFeedback(emitter, [deleteMarkersAction]);
58
+ }
59
+ if (!emitter) {
60
+ emitter = this.createEmitter(reason);
57
61
  }
58
62
  // Register new action responsible for applying markers and re-applying them when the model is updated
59
- this.registeredFeedbackByReason.set(reason, action);
60
- this.feedbackActionDispatcher.registerFeedback(this, [...this.registeredFeedbackByReason.values()]);
63
+ this.registeredFeedbackByReason.set(reason, { action, emitter });
64
+ this.feedbackActionDispatcher.registerFeedback(emitter, [action]);
65
+ }
66
+ createEmitter(reason) {
67
+ return { id: 'validationFeedbackEmitter_' + reason };
61
68
  }
62
69
  };
63
70
  exports.ValidationFeedbackEmitter = ValidationFeedbackEmitter;
@@ -65,10 +72,6 @@ __decorate([
65
72
  (0, inversify_1.inject)(sprotty_1.TYPES.IFeedbackActionDispatcher),
66
73
  __metadata("design:type", Object)
67
74
  ], ValidationFeedbackEmitter.prototype, "feedbackActionDispatcher", void 0);
68
- __decorate([
69
- (0, inversify_1.inject)(sprotty_1.TYPES.IActionDispatcherProvider),
70
- __metadata("design:type", Function)
71
- ], ValidationFeedbackEmitter.prototype, "actionDispatcher", void 0);
72
75
  exports.ValidationFeedbackEmitter = ValidationFeedbackEmitter = __decorate([
73
76
  (0, inversify_1.injectable)()
74
77
  ], ValidationFeedbackEmitter);
@@ -1 +1 @@
1
- {"version":3,"file":"validate.js","sourceRoot":"","sources":["../../../src/features/validation/validate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAAyD;AACzD,mDAa+B;AAC/B,8EAAyE;AAEzE,2EAAuE;AACvE,yDAA2D;AAC3D,iDAAmH;AAEnH;;;GAGG;AAEI,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;IAA/B;QAKO,+BAA0B,GAAoC,IAAI,GAAG,EAAE,CAAC;IAoBtF,CAAC;IAlBG;;;;OAIG;IACH,gCAAgC,CAAC,MAA0B,EAAE,MAAM,GAA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