@eclipse-glsp/client 2.3.0-next.381 → 2.3.0-next.384

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 (181) hide show
  1. package/lib/base/action-dispatcher.d.ts +2 -2
  2. package/lib/base/action-dispatcher.d.ts.map +1 -1
  3. package/lib/base/action-dispatcher.js.map +1 -1
  4. package/lib/base/auto-complete/base-autocomplete-palette.d.ts +2 -3
  5. package/lib/base/auto-complete/base-autocomplete-palette.d.ts.map +1 -1
  6. package/lib/base/auto-complete/base-autocomplete-palette.js +1 -2
  7. package/lib/base/auto-complete/base-autocomplete-palette.js.map +1 -1
  8. package/lib/base/editor-context-service.d.ts +2 -3
  9. package/lib/base/editor-context-service.d.ts.map +1 -1
  10. package/lib/base/editor-context-service.js +2 -3
  11. package/lib/base/editor-context-service.js.map +1 -1
  12. package/lib/base/model/diagram-loader.d.ts +2 -3
  13. package/lib/base/model/diagram-loader.d.ts.map +1 -1
  14. package/lib/base/model/diagram-loader.js +2 -3
  15. package/lib/base/model/diagram-loader.js.map +1 -1
  16. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-palette.d.ts +18 -3
  17. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-palette.d.ts.map +1 -1
  18. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-palette.js +4 -5
  19. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-palette.js.map +1 -1
  20. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-tool.d.ts +16 -1
  21. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-tool.d.ts.map +1 -1
  22. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-tool.js +2 -3
  23. package/lib/features/accessibility/edge-autocomplete/edge-autocomplete-tool.js.map +1 -1
  24. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.d.ts +2 -3
  25. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.d.ts.map +1 -1
  26. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.js +10 -13
  27. package/lib/features/accessibility/element-navigation/diagram-navigation-tool.js.map +1 -1
  28. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.d.ts.map +1 -1
  29. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.js +2 -3
  30. package/lib/features/accessibility/element-navigation/left-right-top-bottom-navigator.js.map +1 -1
  31. package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts +2 -3
  32. package/lib/features/accessibility/element-navigation/local-element-navigator.d.ts.map +1 -1
  33. package/lib/features/accessibility/element-navigation/local-element-navigator.js +1 -2
  34. package/lib/features/accessibility/element-navigation/local-element-navigator.js.map +1 -1
  35. package/lib/features/accessibility/element-navigation/position-navigator.d.ts +2 -3
  36. package/lib/features/accessibility/element-navigation/position-navigator.d.ts.map +1 -1
  37. package/lib/features/accessibility/element-navigation/position-navigator.js +3 -5
  38. package/lib/features/accessibility/element-navigation/position-navigator.js.map +1 -1
  39. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.d.ts +2 -3
  40. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.d.ts.map +1 -1
  41. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.js +2 -3
  42. package/lib/features/accessibility/focus-tracker/focus-tracker-tool.js.map +1 -1
  43. package/lib/features/accessibility/global-keylistener-tool.d.ts +17 -3
  44. package/lib/features/accessibility/global-keylistener-tool.d.ts.map +1 -1
  45. package/lib/features/accessibility/global-keylistener-tool.js +8 -10
  46. package/lib/features/accessibility/global-keylistener-tool.js.map +1 -1
  47. package/lib/features/accessibility/keyboard-grid/keyboard-grid.d.ts +2 -2
  48. package/lib/features/accessibility/keyboard-grid/keyboard-grid.d.ts.map +1 -1
  49. package/lib/features/accessibility/keyboard-grid/keyboard-grid.js +3 -4
  50. package/lib/features/accessibility/keyboard-grid/keyboard-grid.js.map +1 -1
  51. package/lib/features/accessibility/keyboard-grid/keyboard-node-grid.d.ts +1 -1
  52. package/lib/features/accessibility/keyboard-grid/keyboard-node-grid.d.ts.map +1 -1
  53. package/lib/features/accessibility/keyboard-grid/keyboard-node-grid.js +5 -6
  54. package/lib/features/accessibility/keyboard-grid/keyboard-node-grid.js.map +1 -1
  55. package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.d.ts.map +1 -1
  56. package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.js +9 -10
  57. package/lib/features/accessibility/keyboard-pointer/keyboard-pointer-listener.js.map +1 -1
  58. package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts +1 -2
  59. package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.d.ts.map +1 -1
  60. package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js +7 -8
  61. package/lib/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.js.map +1 -1
  62. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts +2 -3
  63. package/lib/features/accessibility/resize-key-tool/resize-key-tool.d.ts.map +1 -1
  64. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js +7 -9
  65. package/lib/features/accessibility/resize-key-tool/resize-key-tool.js.map +1 -1
  66. package/lib/features/accessibility/search/search-palette.d.ts.map +1 -1
  67. package/lib/features/accessibility/search/search-palette.js +5 -6
  68. package/lib/features/accessibility/search/search-palette.js.map +1 -1
  69. package/lib/features/accessibility/search/search-tool.d.ts +2 -3
  70. package/lib/features/accessibility/search/search-tool.d.ts.map +1 -1
  71. package/lib/features/accessibility/search/search-tool.js +3 -5
  72. package/lib/features/accessibility/search/search-tool.js.map +1 -1
  73. package/lib/features/accessibility/toast/toast-tool.d.ts +2 -3
  74. package/lib/features/accessibility/toast/toast-tool.d.ts.map +1 -1
  75. package/lib/features/accessibility/toast/toast-tool.js +1 -2
  76. package/lib/features/accessibility/toast/toast-tool.js.map +1 -1
  77. package/lib/features/accessibility/view-key-tools/deselect-key-tool.d.ts.map +1 -1
  78. package/lib/features/accessibility/view-key-tools/deselect-key-tool.js +2 -4
  79. package/lib/features/accessibility/view-key-tools/deselect-key-tool.js.map +1 -1
  80. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts +2 -3
  81. package/lib/features/accessibility/view-key-tools/movement-key-tool.d.ts.map +1 -1
  82. package/lib/features/accessibility/view-key-tools/movement-key-tool.js +5 -7
  83. package/lib/features/accessibility/view-key-tools/movement-key-tool.js.map +1 -1
  84. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts +3 -4
  85. package/lib/features/accessibility/view-key-tools/zoom-key-tool.d.ts.map +1 -1
  86. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js +12 -14
  87. package/lib/features/accessibility/view-key-tools/zoom-key-tool.js.map +1 -1
  88. package/lib/features/bounds/local-bounds.d.ts +2 -2
  89. package/lib/features/bounds/local-bounds.d.ts.map +1 -1
  90. package/lib/features/bounds/local-bounds.js.map +1 -1
  91. package/lib/features/bounds/set-bounds-feedback-command.d.ts +2 -3
  92. package/lib/features/bounds/set-bounds-feedback-command.d.ts.map +1 -1
  93. package/lib/features/bounds/set-bounds-feedback-command.js +1 -2
  94. package/lib/features/bounds/set-bounds-feedback-command.js.map +1 -1
  95. package/lib/features/command-palette/server-command-palette-provider.d.ts +17 -3
  96. package/lib/features/command-palette/server-command-palette-provider.d.ts.map +1 -1
  97. package/lib/features/command-palette/server-command-palette-provider.js +2 -3
  98. package/lib/features/command-palette/server-command-palette-provider.js.map +1 -1
  99. package/lib/features/context-menu/glsp-context-menu-mouse-listener.d.ts +2 -3
  100. package/lib/features/context-menu/glsp-context-menu-mouse-listener.d.ts.map +1 -1
  101. package/lib/features/context-menu/glsp-context-menu-mouse-listener.js +2 -3
  102. package/lib/features/context-menu/glsp-context-menu-mouse-listener.js.map +1 -1
  103. package/lib/features/context-menu/server-context-menu-provider.d.ts +17 -3
  104. package/lib/features/context-menu/server-context-menu-provider.d.ts.map +1 -1
  105. package/lib/features/context-menu/server-context-menu-provider.js +2 -3
  106. package/lib/features/context-menu/server-context-menu-provider.js.map +1 -1
  107. package/lib/features/copy-paste/copy-paste-handler.d.ts +17 -3
  108. package/lib/features/copy-paste/copy-paste-handler.d.ts.map +1 -1
  109. package/lib/features/copy-paste/copy-paste-handler.js +2 -3
  110. package/lib/features/copy-paste/copy-paste-handler.js.map +1 -1
  111. package/lib/features/element-template/add-template-element.d.ts +2 -3
  112. package/lib/features/element-template/add-template-element.d.ts.map +1 -1
  113. package/lib/features/element-template/add-template-element.js +1 -2
  114. package/lib/features/element-template/add-template-element.js.map +1 -1
  115. package/lib/features/hints/type-hint-provider.d.ts +2 -3
  116. package/lib/features/hints/type-hint-provider.d.ts.map +1 -1
  117. package/lib/features/hints/type-hint-provider.js +2 -3
  118. package/lib/features/hints/type-hint-provider.js.map +1 -1
  119. package/lib/features/label-edit/edit-label-validator.d.ts +17 -3
  120. package/lib/features/label-edit/edit-label-validator.d.ts.map +1 -1
  121. package/lib/features/label-edit/edit-label-validator.js +2 -3
  122. package/lib/features/label-edit/edit-label-validator.js.map +1 -1
  123. package/lib/features/status/status-overlay.d.ts +2 -3
  124. package/lib/features/status/status-overlay.d.ts.map +1 -1
  125. package/lib/features/status/status-overlay.js +2 -3
  126. package/lib/features/status/status-overlay.js.map +1 -1
  127. package/lib/features/tool-palette/tool-palette.d.ts +2 -3
  128. package/lib/features/tool-palette/tool-palette.d.ts.map +1 -1
  129. package/lib/features/tool-palette/tool-palette.js +2 -3
  130. package/lib/features/tool-palette/tool-palette.js.map +1 -1
  131. package/lib/features/tools/base-tools.d.ts +2 -3
  132. package/lib/features/tools/base-tools.d.ts.map +1 -1
  133. package/lib/features/tools/base-tools.js +1 -2
  134. package/lib/features/tools/base-tools.js.map +1 -1
  135. package/lib/features/tools/edge-creation/edge-creation-tool.d.ts +3 -4
  136. package/lib/features/tools/edge-creation/edge-creation-tool.d.ts.map +1 -1
  137. package/lib/features/tools/edge-creation/edge-creation-tool.js.map +1 -1
  138. package/lib/features/validation/marker-navigator.d.ts +2 -3
  139. package/lib/features/validation/marker-navigator.d.ts.map +1 -1
  140. package/lib/features/validation/marker-navigator.js +1 -2
  141. package/lib/features/validation/marker-navigator.js.map +1 -1
  142. package/package.json +3 -3
  143. package/src/base/action-dispatcher.ts +11 -2
  144. package/src/base/auto-complete/base-autocomplete-palette.ts +2 -3
  145. package/src/base/editor-context-service.ts +3 -3
  146. package/src/base/model/diagram-loader.ts +3 -3
  147. package/src/features/accessibility/edge-autocomplete/edge-autocomplete-palette.ts +10 -10
  148. package/src/features/accessibility/edge-autocomplete/edge-autocomplete-tool.ts +1 -2
  149. package/src/features/accessibility/element-navigation/diagram-navigation-tool.ts +6 -6
  150. package/src/features/accessibility/element-navigation/left-right-top-bottom-navigator.ts +2 -3
  151. package/src/features/accessibility/element-navigation/local-element-navigator.ts +2 -3
  152. package/src/features/accessibility/element-navigation/position-navigator.ts +14 -4
  153. package/src/features/accessibility/focus-tracker/focus-tracker-tool.ts +2 -3
  154. package/src/features/accessibility/global-keylistener-tool.ts +5 -7
  155. package/src/features/accessibility/keyboard-grid/keyboard-grid.ts +4 -3
  156. package/src/features/accessibility/keyboard-grid/keyboard-node-grid.ts +4 -5
  157. package/src/features/accessibility/keyboard-pointer/keyboard-pointer-listener.ts +3 -4
  158. package/src/features/accessibility/keyboard-tool-palette/keyboard-tool-palette.ts +5 -4
  159. package/src/features/accessibility/resize-key-tool/resize-key-tool.ts +2 -4
  160. package/src/features/accessibility/search/search-palette.ts +2 -2
  161. package/src/features/accessibility/search/search-tool.ts +11 -4
  162. package/src/features/accessibility/toast/toast-tool.ts +2 -3
  163. package/src/features/accessibility/view-key-tools/deselect-key-tool.ts +12 -3
  164. package/src/features/accessibility/view-key-tools/movement-key-tool.ts +2 -4
  165. package/src/features/accessibility/view-key-tools/zoom-key-tool.ts +12 -12
  166. package/src/features/bounds/local-bounds.ts +2 -2
  167. package/src/features/bounds/set-bounds-feedback-command.ts +2 -2
  168. package/src/features/command-palette/server-command-palette-provider.ts +4 -4
  169. package/src/features/context-menu/glsp-context-menu-mouse-listener.ts +3 -3
  170. package/src/features/context-menu/server-context-menu-provider.ts +4 -4
  171. package/src/features/copy-paste/copy-paste-handler.ts +4 -4
  172. package/src/features/element-template/add-template-element.ts +2 -2
  173. package/src/features/hints/type-hint-provider.spec.ts +3 -1
  174. package/src/features/hints/type-hint-provider.ts +3 -3
  175. package/src/features/label-edit/edit-label-validator.ts +4 -4
  176. package/src/features/layout/layout-elements-action.spec.ts +12 -0
  177. package/src/features/status/status-overlay.ts +3 -4
  178. package/src/features/tool-palette/tool-palette.ts +3 -3
  179. package/src/features/tools/base-tools.ts +2 -3
  180. package/src/features/tools/edge-creation/edge-creation-tool.ts +2 -2
  181. package/src/features/validation/marker-navigator.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAmB+B;AAC/B,yCAA+C;AAC/C,oEAAoE;AACpE,oEAAgE;AAChE,yDAA8H;AAC9H,+CAA2E;AAa3E,IAAiB,sBAAsB,CAmBtC;AAnBD,WAAiB,sBAAsB;IACtB,2BAAI,GAAG,kBAAkB,CAAC;IAEvC,SAAgB,EAAE,CAAC,MAAW;QAC1B,OAAO,gBAAM,CAAC,OAAO,CAAC,MAAM,EAAE,uBAAA,IAAI,CAAC,IAAI,IAAA,uBAAa,EAAC,MAAM,EAAE,WAAW,CAAC,IAAI,IAAA,sBAAY,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACpH,CAAC;IAFe,yBAAE,KAEjB,CAAA;IAED,SAAgB,MAAM,CAAC,OAItB;QACG,OAAO;YACH,IAAI,EAAE,uBAAA,IAAI;YACV,SAAS,EAAE,MAAM;YACjB,UAAU,EAAE,eAAe,CAAC,cAAc;YAC1C,GAAG,OAAO;SACb,CAAC;IACN,CAAC;IAXe,6BAAM,SAWrB,CAAA;AACL,CAAC,EAnBgB,sB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AU;qBAC9B;oBACD;wBACI,EAAE,EAAE,iBAAiB;wBACrB,KAAK,EAAE,iBAAiB;wBACxB,KAAK,EAAE,QAAQ;wBACf,OAAO,EAAE,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC,CAAC;wBACvF,SAAS,EAAE,GAAG,EAAE,CAAC,UAAU;qBAC9B;iBACJ;aACJ;SACJ,CAAC,CAAC;IACP,CAAC;CACJ,CAAA;AA/BY,wFAAsC;AACX;IAAnC,IAAA,kBAAM,EAAC,oCAAgB,CAAC;8BAA6B,oCAAgB;gFAAC;iDAD9D,sCAAsC;IADlD,IAAA,sBAAU,GAAE;GACA,sCAAsC,CA+BlD;AAGM,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,qBAAW;IAC9C,OAAO,CAAC,QAAuB,EAAE,KAAoB;QAC1D,IAAI,IAAA,0BAAgB,EAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;YAC5C,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC;aAAM,IAAI,IAAA,0BAAgB,EAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;YAClD,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;AATY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAStC"}
1
+ {"version":3,"file":"marker-navigator.js","sourceRoot":"","sources":["../../../src/features/validation/marker-navigator.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,mDAoB+B;AAC/B,yCAA+C;AAC/C,oEAAgE;AAChE,y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,MAAM,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC;QAClE,CAAC;aAAM,IAAI,IAAA,0BAAgB,EAAC,KAAK,EAAE,OAAO,EAAE,MAAM,CAAC,EAAE,CAAC;YAClD,OAAO,CAAC,sBAAsB,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;QACtE,CAAC;QACD,OAAO,EAAE,CAAC;IACd,CAAC;CACJ,CAAA;AATY,gEAA0B;qCAA1B,0BAA0B;IADtC,IAAA,sBAAU,GAAE;GACA,0BAA0B,CAStC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/client",
3
- "version": "2.3.0-next.381+d472c7a",
3
+ "version": "2.3.0-next.384+a172687",
4
4
  "description": "A sprotty-based client for GLSP",
5
5
  "keywords": [
6
6
  "eclipse",
@@ -46,7 +46,7 @@
46
46
  "watch": "tsc -w"
47
47
  },
48
48
  "dependencies": {
49
- "@eclipse-glsp/sprotty": "2.3.0-next.381+d472c7a",
49
+ "@eclipse-glsp/sprotty": "2.3.0-next.384+a172687",
50
50
  "autocompleter": "^9.1.2",
51
51
  "file-saver": "^2.0.5",
52
52
  "lodash": "4.17.21",
@@ -63,5 +63,5 @@
63
63
  "publishConfig": {
64
64
  "access": "public"
65
65
  },
66
- "gitHead": "d472c7a8ca5e38a813c9053fe05e12f5dae0e4cd"
66
+ "gitHead": "a172687427d52b5aeacc84e1f3f786d36118d31c"
67
67
  }
@@ -13,7 +13,16 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { Action, ActionDispatcher, EMPTY_ROOT, GModelRoot, RequestAction, ResponseAction, SetModelAction } from '@eclipse-glsp/sprotty';
16
+ import {
17
+ Action,
18
+ ActionDispatcher,
19
+ EMPTY_ROOT,
20
+ GModelRoot,
21
+ IActionDispatcher,
22
+ RequestAction,
23
+ ResponseAction,
24
+ SetModelAction
25
+ } from '@eclipse-glsp/sprotty';
17
26
  import { inject, injectable } from 'inversify';
18
27
  import { GLSPActionHandlerRegistry } from './action-handler-registry';
19
28
  import { IGModelRootListener } from './editor-context-service';
@@ -21,7 +30,7 @@ import { OptionalAction } from './model/glsp-model-source';
21
30
  import { ModelInitializationConstraint } from './model/model-initialization-constraint';
22
31
 
23
32
  @injectable()
24
- export class GLSPActionDispatcher extends ActionDispatcher implements IGModelRootListener {
33
+ export class GLSPActionDispatcher extends ActionDispatcher implements IGModelRootListener, IActionDispatcher {
25
34
  protected readonly timeouts: Map<string, NodeJS.Timeout> = new Map();
26
35
  protected initializedConstraint = false;
27
36
 
@@ -14,10 +14,9 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { Action, GModelRoot, LabeledAction, TYPES } from '@eclipse-glsp/sprotty';
17
+ import { Action, GModelRoot, IActionDispatcher, LabeledAction, TYPES } from '@eclipse-glsp/sprotty';
18
18
  import { inject } from 'inversify';
19
19
  import '../../../css/autocomplete-palette.css';
20
- import { GLSPActionDispatcher } from '../action-dispatcher';
21
20
  import { GLSPAbstractUIExtension } from '../ui-extension/ui-extension';
22
21
  import { AutoCompleteWidget, CloseReason, toActionArray } from './auto-complete-widget';
23
22
 
@@ -38,7 +37,7 @@ export abstract class BaseAutocompletePalette extends GLSPAbstractUIExtension {
38
37
  protected autocompleteWidget: AutoCompleteWidget;
39
38
 
40
39
  @inject(TYPES.IActionDispatcher)
41
- protected actionDispatcher: GLSPActionDispatcher;
40
+ protected actionDispatcher: IActionDispatcher;
42
41
 
43
42
  containerClass(): string {
44
43
  return 'autocomplete-palette';
@@ -26,6 +26,7 @@ import {
26
26
  Event,
27
27
  GModelElement,
28
28
  GModelRoot,
29
+ IActionDispatcher,
29
30
  IActionHandler,
30
31
  LazyInjector,
31
32
  MaybePromise,
@@ -36,7 +37,6 @@ import {
36
37
  ValueChange
37
38
  } from '@eclipse-glsp/sprotty';
38
39
  import { inject, injectable, postConstruct, preDestroy } from 'inversify';
39
- import { GLSPActionDispatcher } from './action-dispatcher';
40
40
  import { FocusChange, FocusTracker } from './focus/focus-tracker';
41
41
  import { IDiagramOptions, IDiagramStartup } from './model/diagram-loader';
42
42
  import { SelectionChange, SelectionService } from './selection-service';
@@ -89,8 +89,8 @@ export class EditorContextService implements IActionHandler, Disposable, IDiagra
89
89
  @inject(TYPES.IDiagramOptions)
90
90
  protected diagramOptions: IDiagramOptions;
91
91
 
92
- @inject(GLSPActionDispatcher)
93
- protected actionDispatcher: GLSPActionDispatcher;
92
+ @inject(TYPES.IActionDispatcher)
93
+ protected actionDispatcher: IActionDispatcher;
94
94
 
95
95
  @inject(FocusTracker)
96
96
  protected focusTracker: FocusTracker;
@@ -20,6 +20,7 @@ import {
20
20
  Args,
21
21
  EMPTY_ROOT,
22
22
  GLSPClient,
23
+ IActionDispatcher,
23
24
  InitializeParameters,
24
25
  LazyInjector,
25
26
  MaybePromise,
@@ -30,7 +31,6 @@ import {
30
31
  hasNumberProp
31
32
  } from '@eclipse-glsp/sprotty';
32
33
  import { inject, injectable } from 'inversify';
33
- import { GLSPActionDispatcher } from '../action-dispatcher';
34
34
  import { Ranked } from '../ranked';
35
35
  import { GLSPModelSource } from './glsp-model-source';
36
36
  import { ModelInitializationConstraint } from './model-initialization-constraint';
@@ -148,8 +148,8 @@ export class DiagramLoader {
148
148
  @inject(TYPES.IDiagramOptions)
149
149
  protected options: IDiagramOptions;
150
150
 
151
- @inject(GLSPActionDispatcher)
152
- protected actionDispatcher: GLSPActionDispatcher;
151
+ @inject(TYPES.IActionDispatcher)
152
+ protected actionDispatcher: IActionDispatcher;
153
153
 
154
154
  @inject(GLSPModelSource)
155
155
  protected modelSource: GLSPModelSource;
@@ -13,28 +13,28 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { injectable } from 'inversify';
17
16
  import {
17
+ Action,
18
18
  codiconCSSString,
19
- isConnectable,
19
+ CreateEdgeOperation,
20
20
  GModelElement,
21
21
  GModelRoot,
22
+ IActionHandler,
23
+ isConnectable,
22
24
  LabeledAction,
23
25
  name,
24
26
  SetUIExtensionVisibilityAction,
25
- IActionHandler,
26
- Action,
27
- CreateEdgeOperation,
27
+ toArray,
28
28
  TriggerEdgeCreationAction
29
29
  } from '@eclipse-glsp/sprotty';
30
- import { EnableDefaultToolsAction } from '../../../base/tool-manager/tool';
31
- import { toArray } from 'sprotty/lib/utils/iterable';
32
- import { EdgeAutocompleteContext } from './edge-autocomplete-context';
33
- import { SearchAutocompletePalette } from '../search/search-palette';
34
- import { SetEdgeTargetSelectionAction } from './action';
30
+ import { injectable } from 'inversify';
35
31
  import { CloseReason, toActionArray } from '../../../base/auto-complete/auto-complete-widget';
36
32
  import { AutocompleteSuggestion, IAutocompleteSuggestionProvider } from '../../../base/auto-complete/autocomplete-suggestion-providers';
33
+ import { EnableDefaultToolsAction } from '../../../base/tool-manager/tool';
37
34
  import { GEdge } from '../../../model';
35
+ import { SearchAutocompletePalette } from '../search/search-palette';
36
+ import { SetEdgeTargetSelectionAction } from './action';
37
+ import { EdgeAutocompleteContext } from './edge-autocomplete-context';
38
38
 
39
39
  export namespace EdgeAutocompletePaletteMetadata {
40
40
  export const ID = 'edge-autocomplete-palette';
@@ -13,10 +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 { Action, GModelElement, KeyListener, KeyTool, matchesKeystroke, SetUIExtensionVisibilityAction } from '@eclipse-glsp/sprotty';
16
17
  import { inject, injectable } from 'inversify';
17
- import { KeyTool, KeyListener, SetUIExtensionVisibilityAction, GModelElement, Action } from '@eclipse-glsp/sprotty';
18
18
  import { Tool } from '../../../base/tool-manager/tool';
19
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
20
19
  import { EdgeAutocompletePaletteMetadata } from './edge-autocomplete-palette';
21
20
 
22
21
  @injectable()
@@ -18,6 +18,7 @@ import {
18
18
  Action,
19
19
  GModelElement,
20
20
  GModelRoot,
21
+ IActionDispatcher,
21
22
  KeyListener,
22
23
  KeyTool,
23
24
  SelectAction,
@@ -26,13 +27,13 @@ import {
26
27
  findParentByFeature,
27
28
  isBoundsAware,
28
29
  isSelectable,
29
- isSelected
30
+ isSelected,
31
+ matchesKeystroke,
32
+ toArray
30
33
  } from '@eclipse-glsp/sprotty';
31
34
  import { inject, injectable } from 'inversify';
32
- import { toArray } from 'sprotty/lib/utils/iterable';
33
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
34
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
35
35
  import { EnableDefaultToolsAction, EnableToolsAction, Tool } from '../../../base/tool-manager/tool';
36
+ import { GEdge } from '../../../model';
36
37
  import { SelectableBoundsAware } from '../../../utils/gmodel-util';
37
38
  import { RepositionAction } from '../../viewport/reposition';
38
39
  import { SetAccessibleKeyShortcutAction } from '../key-shortcut/accessible-key-shortcut';
@@ -41,7 +42,6 @@ import { SearchAutocompletePaletteTool } from '../search/search-tool';
41
42
  import * as messages from '../toast/messages.json';
42
43
  import { ShowToastMessageAction } from '../toast/toast-handler';
43
44
  import { ElementNavigator } from './element-navigator';
44
- import { GEdge } from '../../../model';
45
45
 
46
46
  @injectable()
47
47
  export class ElementNavigatorTool implements Tool {
@@ -53,7 +53,7 @@ export class ElementNavigatorTool implements Tool {
53
53
  @inject(KeyTool) protected readonly keytool: KeyTool;
54
54
  @inject(TYPES.IElementNavigator) readonly elementNavigator: ElementNavigator;
55
55
  @inject(TYPES.ILocalElementNavigator) readonly localElementNavigator: ElementNavigator;
56
- @inject(TYPES.IActionDispatcher) readonly actionDispatcher: GLSPActionDispatcher;
56
+ @inject(TYPES.IActionDispatcher) readonly actionDispatcher: IActionDispatcher;
57
57
 
58
58
  get id(): string {
59
59
  return ElementNavigatorTool.ID;
@@ -14,12 +14,11 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { EdgeRouterRegistry, findParentByFeature, GModelElement, GModelRoot, Point } from '@eclipse-glsp/sprotty';
17
+ import { EdgeRouterRegistry, findParentByFeature, GModelElement, GModelRoot, Point, toArray } from '@eclipse-glsp/sprotty';
18
18
  import { inject, injectable, optional } from 'inversify';
19
- import { toArray } from 'sprotty/lib/utils/iterable';
19
+ import { GEdge } from '../../../model';
20
20
  import { calcElementAndRoute, isRoutable, isSelectableAndBoundsAware, SelectableBoundsAware } from '../../../utils/gmodel-util';
21
21
  import { ElementNavigator } from './element-navigator';
22
- import { GEdge } from '../../../model';
23
22
 
24
23
  @injectable()
25
24
  export class LeftToRightTopToBottomElementNavigator implements ElementNavigator {
@@ -13,9 +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 { EdgeRouterRegistry, GConnectableElement, GModelElement, GModelRoot, TYPES } from '@eclipse-glsp/sprotty';
16
+ import { EdgeRouterRegistry, GConnectableElement, GModelElement, GModelRoot, IActionDispatcher, TYPES } from '@eclipse-glsp/sprotty';
17
17
  import { inject, injectable, optional } from 'inversify';
18
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
19
18
  import { applyCssClasses, deleteCssClasses } from '../../../base/feedback/css-feedback';
20
19
  import { GEdge } from '../../../model';
21
20
  import { BoundsAwareModelElement, SelectableBoundsAware } from '../../../utils/gmodel-util';
@@ -25,7 +24,7 @@ import { ElementNavigator } from './element-navigator';
25
24
  export class LocalElementNavigator implements ElementNavigator {
26
25
  navigableElementCSS = 'navigable-element';
27
26
  @inject(EdgeRouterRegistry) @optional() readonly edgeRouterRegistry?: EdgeRouterRegistry;
28
- @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: GLSPActionDispatcher;
27
+ @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: IActionDispatcher;
29
28
 
30
29
  previous(
31
30
  root: Readonly<GModelRoot>,
@@ -14,16 +14,26 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
+ import {
18
+ Bounds,
19
+ GChildElement,
20
+ GModelElement,
21
+ GModelRoot,
22
+ GNode,
23
+ IActionDispatcher,
24
+ Point,
25
+ TYPES,
26
+ isBoundsAware,
27
+ isSelectable,
28
+ toArray
29
+ } from '@eclipse-glsp/sprotty';
17
30
  import { inject, injectable } from 'inversify';
18
- import { toArray } from 'sprotty/lib/utils/iterable';
19
- import { Bounds, GChildElement, Point, GModelElement, GModelRoot, GNode, TYPES, isBoundsAware, isSelectable } from '@eclipse-glsp/sprotty';
20
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
21
31
  import { SelectableBoundsAware } from '../../../utils/gmodel-util';
22
32
  import { ElementNavigator } from './element-navigator';
23
33
 
24
34
  @injectable()
25
35
  export class PositionNavigator implements ElementNavigator {
26
- @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: GLSPActionDispatcher;
36
+ @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: IActionDispatcher;
27
37
 
28
38
  previous(
29
39
  root: Readonly<GModelRoot>,
@@ -14,9 +14,8 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
+ import { IActionDispatcher, TYPES, ViewerOptions } from '@eclipse-glsp/sprotty';
17
18
  import { inject, injectable } from 'inversify';
18
- import { TYPES, ViewerOptions } from '@eclipse-glsp/sprotty';
19
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
20
19
  import { Tool } from '../../../base/tool-manager/tool';
21
20
  import * as messages from '../toast/messages.json';
22
21
  import { ShowToastMessageAction } from '../toast/toast-handler';
@@ -27,7 +26,7 @@ export class FocusTrackerTool implements Tool {
27
26
 
28
27
  isEditTool = false;
29
28
  @inject(TYPES.IActionDispatcher)
30
- protected actionDispatcher: GLSPActionDispatcher;
29
+ protected actionDispatcher: IActionDispatcher;
31
30
  @inject(TYPES.ViewerOptions)
32
31
  protected readonly viewerOptions: ViewerOptions;
33
32
 
@@ -13,16 +13,14 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
+ import { Action, IActionDispatcher, matchesKeystroke, SetUIExtensionVisibilityAction, TYPES } from '@eclipse-glsp/sprotty';
16
17
  import { inject, injectable } from 'inversify';
17
- import { SetUIExtensionVisibilityAction, Action } from '@eclipse-glsp/sprotty';
18
18
  import { Tool } from '../../base/tool-manager/tool';
19
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
19
+ import { KeyboardGridMetadata, KeyboardNodeGridMetadata } from '../accessibility/keyboard-grid/constants';
20
20
  import { ToolPalette } from '../tool-palette/tool-palette';
21
21
  import { FocusDomAction } from './actions';
22
- import { KeyboardGridMetadata, KeyboardNodeGridMetadata } from '../accessibility/keyboard-grid/constants';
23
- import { KeyboardPointerMetadata } from './keyboard-pointer/constants';
24
22
  import { AccessibleKeyShortcutProvider, SetAccessibleKeyShortcutAction } from './key-shortcut/accessible-key-shortcut';
25
- import { GLSPActionDispatcher } from '../../base/action-dispatcher';
23
+ import { KeyboardPointerMetadata } from './keyboard-pointer/constants';
26
24
  import { KeyboardToolPalette } from './keyboard-tool-palette/keyboard-tool-palette';
27
25
 
28
26
  @injectable()
@@ -32,8 +30,8 @@ export class GlobalKeyListenerTool implements Tool, AccessibleKeyShortcutProvide
32
30
  isEditTool = false;
33
31
  protected alreadyRegistered = false;
34
32
 
35
- @inject(GLSPActionDispatcher)
36
- protected actionDispatcher: GLSPActionDispatcher;
33
+ @inject(TYPES.IActionDispatcher)
34
+ protected actionDispatcher: IActionDispatcher;
37
35
 
38
36
  get id(): string {
39
37
  return GlobalKeyListenerTool.ID;
@@ -17,23 +17,24 @@ import '../../../../css/keyboard.css';
17
17
 
18
18
  import {
19
19
  Action,
20
- ActionDispatcher,
21
20
  GModelRoot,
21
+ IActionDispatcher,
22
22
  IActionHandler,
23
23
  ICommand,
24
+ KeyCode,
25
+ matchesKeystroke,
24
26
  Point,
25
27
  SetUIExtensionVisibilityAction,
26
28
  TYPES
27
29
  } from '@eclipse-glsp/sprotty';
28
30
  import { inject, injectable } from 'inversify';
29
- import { KeyCode, matchesKeystroke } from 'sprotty/lib/utils/keyboard';
30
31
  import { GLSPAbstractUIExtension } from '../../../base/ui-extension/ui-extension';
31
32
  import { EnableKeyboardGridAction, KeyboardGridCellSelectedAction, KeyboardGridKeyboardEventAction } from './action';
32
33
  import { KeyboardGridMetadata } from './constants';
33
34
 
34
35
  @injectable()
35
36
  export class KeyboardGrid extends GLSPAbstractUIExtension implements IActionHandler {
36
- @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: ActionDispatcher;
37
+ @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: IActionDispatcher;
37
38
 
38
39
  protected triggerActions: Action[] = [];
39
40
  protected originId: string;
@@ -15,14 +15,13 @@
15
15
  ********************************************************************************/
16
16
  import '../../../../css/keyboard.css';
17
17
 
18
+ import { Action, ICommand, matchesKeystroke, SetUIExtensionVisibilityAction } from '@eclipse-glsp/sprotty';
18
19
  import { inject, injectable } from 'inversify';
19
- import { ICommand, SetUIExtensionVisibilityAction, Action } from '@eclipse-glsp/sprotty';
20
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
21
- import { KeyboardPointer } from '../keyboard-pointer/keyboard-pointer';
22
20
  import { KeyboardPointerMetadata } from '../keyboard-pointer/constants';
23
- import { GridSearchPaletteMetadata } from './keyboard-grid-search-palette';
24
- import { KeyboardGrid } from './keyboard-grid';
21
+ import { KeyboardPointer } from '../keyboard-pointer/keyboard-pointer';
25
22
  import { KeyboardNodeGridMetadata } from './constants';
23
+ import { KeyboardGrid } from './keyboard-grid';
24
+ import { GridSearchPaletteMetadata } from './keyboard-grid-search-palette';
26
25
 
27
26
  @injectable()
28
27
  export class KeyboardNodeGrid extends KeyboardGrid {
@@ -14,14 +14,13 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { IActionDispatcher, SetUIExtensionVisibilityAction, CreateNodeOperation } from '@eclipse-glsp/sprotty';
18
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
17
+ import { CreateNodeOperation, IActionDispatcher, matchesKeystroke, SetUIExtensionVisibilityAction } from '@eclipse-glsp/sprotty';
18
+ import { CursorCSS } from '../../../base/feedback/css-feedback';
19
+ import { EnableDefaultToolsAction } from '../../../base/tool-manager/tool';
19
20
  import { KeyboardNodeGridMetadata } from '../keyboard-grid/constants';
20
21
  import { KeyboardPointerMetadata } from './constants';
21
22
  import { KeyboardPointer } from './keyboard-pointer';
22
23
  import { KeyboardPointerPosition } from './keyboard-pointer-position';
23
- import { EnableDefaultToolsAction } from '../../../base/tool-manager/tool';
24
- import { CursorCSS } from '../../../base/feedback/css-feedback';
25
24
 
26
25
  /**
27
26
  * Keyboard listener for the pointer with the necessary logic to handle keyboard events
@@ -16,6 +16,8 @@
16
16
  import {
17
17
  Action,
18
18
  ICommand,
19
+ KeyCode,
20
+ matchesKeystroke,
19
21
  PaletteItem,
20
22
  RequestContextActions,
21
23
  RequestMarkersAction,
@@ -24,15 +26,14 @@ import {
24
26
  TriggerNodeCreationAction
25
27
  } from '@eclipse-glsp/sprotty';
26
28
  import { injectable } from 'inversify';
27
- import { KeyCode, matchesKeystroke } from 'sprotty/lib/utils/keyboard';
28
29
  import { EnableDefaultToolsAction, EnableToolsAction } from '../../../base/tool-manager/tool';
29
30
  import {
30
- EnableToolPaletteAction,
31
- ToolPalette,
32
31
  changeCodiconClass,
33
32
  compare,
34
33
  createIcon,
35
- createToolGroup
34
+ createToolGroup,
35
+ EnableToolPaletteAction,
36
+ ToolPalette
36
37
  } from '../../tool-palette/tool-palette';
37
38
  import { MouseDeleteTool } from '../../tools/deletion/delete-tool';
38
39
  import { MarqueeMouseTool } from '../../tools/marquee-selection/marquee-mouse-tool';
@@ -14,10 +14,8 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
+ import { Action, GModelElement, IActionDispatcher, ISnapper, KeyListener, KeyTool, matchesKeystroke, TYPES } from '@eclipse-glsp/sprotty';
17
18
  import { inject, injectable, optional } from 'inversify';
18
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
19
- import { Action, ISnapper, KeyListener, KeyTool, GModelElement, TYPES } from '@eclipse-glsp/sprotty';
20
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
21
19
  import { SelectionService } from '../../../base/selection-service';
22
20
  import { EnableDefaultToolsAction, EnableToolsAction, Tool } from '../../../base/tool-manager/tool';
23
21
  import { IMovementRestrictor } from '../../change-bounds/movement-restrictor';
@@ -35,7 +33,7 @@ export class ResizeKeyTool implements Tool {
35
33
  @inject(KeyTool) protected readonly keytool: KeyTool;
36
34
  @inject(TYPES.IMovementRestrictor) @optional() readonly movementRestrictor?: IMovementRestrictor;
37
35
  @inject(TYPES.ISnapper) @optional() readonly snapper?: ISnapper;
38
- @inject(TYPES.IActionDispatcher) readonly actionDispatcher: GLSPActionDispatcher;
36
+ @inject(TYPES.IActionDispatcher) readonly actionDispatcher: IActionDispatcher;
39
37
  @inject(SelectionService) readonly selectionService: SelectionService;
40
38
 
41
39
  protected resizeKeyListener: ResizeKeyListener = new ResizeKeyListener(this);
@@ -25,11 +25,11 @@ import {
25
25
  SelectAllAction,
26
26
  codiconCSSString,
27
27
  isNameable,
28
- name
28
+ name,
29
+ toArray
29
30
  } from '@eclipse-glsp/sprotty';
30
31
  import { injectable } from 'inversify';
31
32
  import { isEqual } from 'lodash';
32
- import { toArray } from 'sprotty/lib/utils/iterable';
33
33
  import { BaseAutocompletePalette } from '../../../base/auto-complete/base-autocomplete-palette';
34
34
 
35
35
  import { AutocompleteSuggestion, IAutocompleteSuggestionProvider } from '../../../base/auto-complete/autocomplete-suggestion-providers';
@@ -14,10 +14,17 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
+ import {
18
+ Action,
19
+ GModelElement,
20
+ IActionDispatcher,
21
+ KeyListener,
22
+ KeyTool,
23
+ matchesKeystroke,
24
+ SetUIExtensionVisibilityAction,
25
+ TYPES
26
+ } from '@eclipse-glsp/sprotty';
17
27
  import { inject, injectable } from 'inversify';
18
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
19
- import { Action, KeyListener, KeyTool, GModelElement, SetUIExtensionVisibilityAction, TYPES } from '@eclipse-glsp/sprotty';
20
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
21
28
  import { Tool } from '../../../base/tool-manager/tool';
22
29
  import { AccessibleKeyShortcutProvider, SetAccessibleKeyShortcutAction } from '../key-shortcut/accessible-key-shortcut';
23
30
  import { SearchAutocompletePalette } from './search-palette';
@@ -26,7 +33,7 @@ export class SearchAutocompletePaletteTool implements Tool {
26
33
  static readonly ID = 'glsp.search-autocomplete-palette-tool';
27
34
 
28
35
  protected readonly keyListener = new SearchAutocompletePaletteKeyListener(this);
29
- @inject(TYPES.IActionDispatcher) readonly actionDispatcher: GLSPActionDispatcher;
36
+ @inject(TYPES.IActionDispatcher) readonly actionDispatcher: IActionDispatcher;
30
37
  @inject(KeyTool) protected keyTool: KeyTool;
31
38
 
32
39
  get id(): string {
@@ -14,9 +14,8 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { Action, IActionHandler, ICommand, TYPES } from '@eclipse-glsp/sprotty';
17
+ import { Action, IActionDispatcher, IActionHandler, ICommand, TYPES } from '@eclipse-glsp/sprotty';
18
18
  import { inject, injectable } from 'inversify';
19
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
20
19
  import { EditorContextService } from '../../../base/editor-context-service';
21
20
  import { IDiagramStartup } from '../../../base/model/diagram-loader';
22
21
  import { GLSPAbstractUIExtension } from '../../../base/ui-extension/ui-extension';
@@ -30,7 +29,7 @@ export class Toast extends GLSPAbstractUIExtension implements IActionHandler, ID
30
29
  static readonly ID = 'toast';
31
30
  protected messages: { [key: symbol]: ToastOptions } = {};
32
31
 
33
- @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: GLSPActionDispatcher;
32
+ @inject(TYPES.IActionDispatcher) protected readonly actionDispatcher: IActionDispatcher;
34
33
  @inject(EditorContextService)
35
34
  protected editorContext: EditorContextService;
36
35
 
@@ -14,10 +14,19 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { Action, GModelElement, GRoutableElement, KeyListener, KeyTool, SelectAction, TYPES, isSelectable } from '@eclipse-glsp/sprotty';
17
+ import {
18
+ Action,
19
+ GModelElement,
20
+ GRoutableElement,
21
+ KeyListener,
22
+ KeyTool,
23
+ SelectAction,
24
+ TYPES,
25
+ isSelectable,
26
+ matchesKeystroke,
27
+ toArray
28
+ } from '@eclipse-glsp/sprotty';
18
29
  import { inject, injectable } from 'inversify';
19
- import { toArray } from 'sprotty/lib/utils/iterable';
20
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
21
30
  import { Tool } from '../../../base/tool-manager/tool';
22
31
  import { IToolManager } from '../../../base/tool-manager/tool-manager';
23
32
  import { SwitchRoutingModeAction } from '../../tools/edge-edit/edge-edit-tool-feedback';
@@ -14,10 +14,8 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
 
17
- import { Action, GModelElement, ISnapper, KeyListener, KeyTool, TYPES } from '@eclipse-glsp/sprotty';
17
+ import { Action, GModelElement, IActionDispatcher, ISnapper, KeyListener, KeyTool, matchesKeystroke, TYPES } from '@eclipse-glsp/sprotty';
18
18
  import { inject, injectable, optional } from 'inversify';
19
- import { matchesKeystroke } from 'sprotty/lib/utils/keyboard';
20
- import { GLSPActionDispatcher } from '../../../base/action-dispatcher';
21
19
  import { SelectionService } from '../../../base/selection-service';
22
20
  import { Tool } from '../../../base/tool-manager/tool';
23
21
  import { Grid } from '../../grid/grid';
@@ -39,7 +37,7 @@ export class MovementKeyTool implements Tool {
39
37
  @inject(KeyTool) protected readonly keytool: KeyTool;
40
38
  @inject(SelectionService) selectionService: SelectionService;
41
39
  @inject(TYPES.ISnapper) @optional() readonly snapper?: ISnapper;
42
- @inject(TYPES.IActionDispatcher) readonly actionDispatcher: GLSPActionDispatcher;
40
+ @inject(TYPES.IActionDispatcher) readonly actionDispatcher: IActionDispatcher;
43
41
  @inject(TYPES.Grid) @optional() protected grid: Grid;
44
42
  @inject(TYPES.IChangeBoundsManager) readonly changeBoundsManager: IChangeBoundsManager;
45
43