@eclipse-glsp/client 2.2.0-next.326 → 2.2.0-next.328

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 (67) hide show
  1. package/css/command-palette.css +6 -2
  2. package/css/key-shortcut.css +6 -2
  3. package/css/keyboard-tool-palette.css +3 -1
  4. package/css/keyboard.css +3 -1
  5. package/css/tool-palette.css +6 -2
  6. package/lib/features/accessibility/move-zoom/move-handler.js +1 -1
  7. package/lib/features/accessibility/move-zoom/move-handler.js.map +1 -1
  8. package/lib/features/change-bounds/movement-restrictor.d.ts +16 -1
  9. package/lib/features/change-bounds/movement-restrictor.d.ts.map +1 -1
  10. package/lib/features/change-bounds/movement-restrictor.js +2 -16
  11. package/lib/features/change-bounds/movement-restrictor.js.map +1 -1
  12. package/lib/features/element-template/mouse-tracking-element-position-listener.d.ts +1 -1
  13. package/lib/features/element-template/mouse-tracking-element-position-listener.d.ts.map +1 -1
  14. package/lib/features/element-template/mouse-tracking-element-position-listener.js +1 -1
  15. package/lib/features/element-template/mouse-tracking-element-position-listener.js.map +1 -1
  16. package/lib/features/helper-lines/helper-line-feedback.d.ts.map +1 -1
  17. package/lib/features/helper-lines/helper-line-feedback.js +42 -39
  18. package/lib/features/helper-lines/helper-line-feedback.js.map +1 -1
  19. package/lib/features/helper-lines/model.d.ts +3 -9
  20. package/lib/features/helper-lines/model.d.ts.map +1 -1
  21. package/lib/features/helper-lines/model.js +10 -28
  22. package/lib/features/helper-lines/model.js.map +1 -1
  23. package/lib/features/label-edit-ui/index.d.ts +18 -0
  24. package/lib/features/label-edit-ui/index.d.ts.map +1 -0
  25. package/lib/features/label-edit-ui/index.js +34 -0
  26. package/lib/features/label-edit-ui/index.js.map +1 -0
  27. package/lib/features/layout/layout-elements-action.d.ts +16 -1
  28. package/lib/features/layout/layout-elements-action.d.ts.map +1 -1
  29. package/lib/features/layout/layout-elements-action.js +7 -6
  30. package/lib/features/layout/layout-elements-action.js.map +1 -1
  31. package/lib/features/viewport/reposition.d.ts +1 -1
  32. package/lib/features/viewport/reposition.d.ts.map +1 -1
  33. package/lib/features/viewport/reposition.js +10 -13
  34. package/lib/features/viewport/reposition.js.map +1 -1
  35. package/lib/utils/geometry-util.d.ts +42 -22
  36. package/lib/utils/geometry-util.d.ts.map +1 -1
  37. package/lib/utils/geometry-util.js +42 -83
  38. package/lib/utils/geometry-util.js.map +1 -1
  39. package/lib/utils/gmodel-util.js +1 -1
  40. package/lib/utils/gmodel-util.js.map +1 -1
  41. package/lib/utils/viewpoint-util.d.ts.map +1 -1
  42. package/lib/utils/viewpoint-util.js +10 -20
  43. package/lib/utils/viewpoint-util.js.map +1 -1
  44. package/package.json +4 -3
  45. package/src/base/feedback/index.ts +0 -1
  46. package/src/base/tool-manager/index.ts +2 -2
  47. package/src/default-modules.ts +1 -1
  48. package/src/features/accessibility/key-shortcut/index.ts +2 -2
  49. package/src/features/accessibility/keyboard-grid/index.ts +2 -2
  50. package/src/features/accessibility/keyboard-pointer/index.ts +2 -2
  51. package/src/features/accessibility/keyboard-pointer/keyboard-pointer-listener.ts +5 -2
  52. package/src/features/accessibility/keyboard-tool-palette/index.ts +2 -2
  53. package/src/features/accessibility/search/index.ts +2 -2
  54. package/src/features/command-palette/command-palette-module.ts +1 -1
  55. package/src/features/command-palette/index.ts +1 -1
  56. package/src/features/helper-lines/index.ts +2 -2
  57. package/src/features/hover/index.ts +2 -2
  58. package/src/features/index.ts +2 -1
  59. package/src/features/label-edit-ui/index.ts +17 -0
  60. package/src/features/tool-palette/index.ts +2 -2
  61. package/src/features/tools/change-bounds/index.ts +2 -2
  62. package/src/features/tools/edge-creation/edge-creation-tool-feedback.ts +5 -2
  63. package/src/features/tools/edge-creation/index.ts +2 -2
  64. package/src/features/tools/edge-edit/index.ts +2 -2
  65. package/src/features/tools/marquee-selection/index.ts +2 -2
  66. package/src/views/index.ts +2 -2
  67. package/src/views/rounded-corner.ts +5 -2
@@ -17,7 +17,6 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.outsideOfViewport = exports.absoluteToLocal = exports.absoluteToParent = exports.toAbsoluteSize = exports.toAbsolutePosition = exports.toAbsoluteBounds = exports.getViewportBounds = exports.getAbsolutePositionByPoint = exports.getAbsolutePosition = void 0;
19
19
  const sprotty_1 = require("@eclipse-glsp/sprotty");
20
- const geometry_util_1 = require("./geometry-util");
21
20
  /**
22
21
  * Return the position corresponding to this mouse event (Browser coordinates)
23
22
  * in the diagram coordinates system (i.e. relative to the Diagram's 0;0 point)
@@ -36,30 +35,21 @@ function getAbsolutePosition(target, mouseEvent) {
36
35
  }
37
36
  exports.getAbsolutePosition = getAbsolutePosition;
38
37
  function getAbsolutePositionByPoint(target, point) {
39
- let xPos = point.x;
40
- let yPos = point.y;
41
- const canvasBounds = target.root.canvasBounds;
42
- xPos -= canvasBounds.x;
43
- yPos -= canvasBounds.y;
38
+ let position = sprotty_1.Point.subtract(point, target.root.canvasBounds);
44
39
  const viewport = (0, sprotty_1.findParentByFeature)(target, sprotty_1.isViewport);
45
- const zoom = viewport ? viewport.zoom : 1;
46
40
  if (viewport) {
47
- const scroll = { x: viewport.scroll.x, y: viewport.scroll.y };
48
- xPos += scroll.x * zoom;
49
- yPos += scroll.y * zoom;
50
- xPos /= zoom;
51
- yPos /= zoom;
41
+ const zoom = viewport.zoom;
42
+ const zoomedScroll = sprotty_1.Point.multiplyScalar(viewport.scroll, zoom);
43
+ position = sprotty_1.Point.add(position, zoomedScroll);
44
+ position = sprotty_1.Point.divideScalar(position, zoom);
52
45
  }
53
- return {
54
- x: xPos,
55
- y: yPos
56
- };
46
+ return position;
57
47
  }
58
48
  exports.getAbsolutePositionByPoint = getAbsolutePositionByPoint;
59
49
  function getViewportBounds(target, bounds) {
60
- const start = getAbsolutePositionByPoint(target, (0, geometry_util_1.topLeft)(bounds));
61
- const end = getAbsolutePositionByPoint(target, (0, geometry_util_1.bottomRight)(bounds));
62
- return Object.assign(Object.assign({}, start), { width: end.x - start.x, height: end.y - start.y });
50
+ const topLeft = getAbsolutePositionByPoint(target, sprotty_1.Bounds.topLeft(bounds));
51
+ const bottomRight = getAbsolutePositionByPoint(target, sprotty_1.Bounds.bottomRight(bounds));
52
+ return sprotty_1.Bounds.from(topLeft, bottomRight);
63
53
  }
64
54
  exports.getViewportBounds = getViewportBounds;
65
55
  /**
@@ -123,7 +113,7 @@ exports.absoluteToParent = absoluteToParent;
123
113
  */
124
114
  function absoluteToLocal(element, absolutePoint) {
125
115
  const absoluteElementBounds = toAbsoluteBounds(element);
126
- return { x: absolutePoint.x - absoluteElementBounds.x, y: absolutePoint.y - absoluteElementBounds.y };
116
+ return sprotty_1.Point.subtract(absolutePoint, absoluteElementBounds);
127
117
  }
128
118
  exports.absoluteToLocal = absoluteToLocal;
129
119
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"viewpoint-util.js","sourceRoot":"","sources":["../../src/utils/viewpoint-util.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;AAElF,mDAc+B;AAC/B,mDAAuD;AAGvD;;;;;;;;;;;;GAYG;AACH,SAAgB,mBAAmB,CAAC,MAAqB,EAAE,UAAsB;IAC7E,OAAO,0BAA0B,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;AAC5F,CAAC;AAFD,kDAEC;AAED,SAAgB,0BAA0B,CAAC,MAAqB,EAAE,KAAY;IAC1E,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;IACnB,IAAI,IAAI,GAAG,KAAK,CAAC,CAAC,CAAC;IACnB,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC;IAC9C,IAAI,IAAI,YAAY,CAAC,CAAC,CAAC;IACvB,IAAI,IAAI,YAAY,CAAC,CAAC,CAAC;IAEvB,MAAM,QAAQ,GAAyB,IAAA,6BAAmB,EAAC,MAAM,EA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D,EAAE,aAAoB;IACnG,IAAI,IAAA,uBAAa,EAAC,OAAO,CAAC,MAAM,CAAC,EAAE;QAC/B,OAAO,eAAe,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;KACzD;IACD,qEAAqE;IACrE,OAAO,eAAe,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AACnD,CAAC;AAND,4CAMC;AAED;;;;;;;GAOG;AACH,SAAgB,eAAe,CAAC,OAAgC,EAAE,aAAoB;IAClF,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACxD,OAAO,eAAK,CAAC,QAAQ,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC;AAChE,CAAC;AAHD,0CAGC;AAED;;;;;GAKG;AACH,SAAgB,iBAAiB,CAAC,KAAY,EAAE,QAA+B;IAC3E,OAAO,CACH,KAAK,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC3B,KAAK,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,KAAK;QACzD,KAAK,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC;QAC3B,KAAK,CAAC,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,QAAQ,CAAC,YAAY,CAAC,MAAM,CAC7D,CAAC;AACN,CAAC;AAPD,8CAOC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eclipse-glsp/client",
3
- "version": "2.2.0-next.326+43b1470",
3
+ "version": "2.2.0-next.328+c2ca345",
4
4
  "description": "A sprotty-based client for GLSP",
5
5
  "keywords": [
6
6
  "eclipse",
@@ -38,6 +38,7 @@
38
38
  "scripts": {
39
39
  "build": "tsc -b",
40
40
  "clean": "rimraf lib *.tsbuildinfo coverage .nyc_output",
41
+ "generate:index": "glsp generateIndex src -f",
41
42
  "lint": "eslint --ext .ts,.tsx ./src",
42
43
  "test": "mocha --config ../../.mocharc \"./src/**/*.spec.?(ts|tsx)\"",
43
44
  "test:ci": "export JUNIT_REPORT_PATH=./report.xml && yarn test --reporter mocha-jenkins-reporter",
@@ -45,7 +46,7 @@
45
46
  "watch": "tsc -w"
46
47
  },
47
48
  "dependencies": {
48
- "@eclipse-glsp/sprotty": "2.2.0-next.326+43b1470",
49
+ "@eclipse-glsp/sprotty": "2.2.0-next.328+c2ca345",
49
50
  "autocompleter": "^9.1.0",
50
51
  "file-saver": "^2.0.5",
51
52
  "lodash": "4.17.21"
@@ -60,5 +61,5 @@
60
61
  "publishConfig": {
61
62
  "access": "public"
62
63
  },
63
- "gitHead": "43b14705d06f9b42eccc78108951ebd04198471e"
64
+ "gitHead": "c2ca34551f9d9268eae3be66de23e3782e880af1"
64
65
  }
@@ -18,4 +18,3 @@ export * from './feedback-action-dispatcher';
18
18
  export * from './feedback-command';
19
19
  export * from './set-model-command';
20
20
  export * from './update-model-command';
21
-
@@ -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
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './tool-manager';
17
16
  export * from './tool';
17
+ export * from './tool-manager';
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021-2023 EclipseSource and others.
2
+ * Copyright (c) 2021-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) 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
@@ -13,6 +13,6 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './accessible-key-shortcut-tool';
17
16
  export * from './accessible-key-shortcut';
17
+ export * from './accessible-key-shortcut-tool';
18
18
  export * from './di.config';
@@ -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,6 +15,6 @@
15
15
  ********************************************************************************/
16
16
  export * from './action';
17
17
  export * from './constants';
18
- export * from './keyboard-grid-search-palette';
19
18
  export * from './keyboard-grid';
19
+ export * from './keyboard-grid-search-palette';
20
20
  export * from './keyboard-node-grid';
@@ -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 @@
15
15
  ********************************************************************************/
16
16
  export * from './actions';
17
17
  export * from './constants';
18
+ export * from './keyboard-pointer';
18
19
  export * from './keyboard-pointer-listener';
19
20
  export * from './keyboard-pointer-module';
20
21
  export * from './keyboard-pointer-position';
21
- export * from './keyboard-pointer';
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2023 Business Informatics Group (TU Wien) and others.
2
+ * Copyright (c) 2023-2024 Business Informatics Group (TU Wien) 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
@@ -31,7 +31,10 @@ export class KeyboardPointerKeyboardListener {
31
31
  return this.keyboardPointer.getPosition;
32
32
  }
33
33
 
34
- constructor(protected readonly keyboardPointer: KeyboardPointer, protected readonly actionDispatcher: IActionDispatcher) {}
34
+ constructor(
35
+ protected readonly keyboardPointer: KeyboardPointer,
36
+ protected readonly actionDispatcher: IActionDispatcher
37
+ ) {}
35
38
 
36
39
  keyDown(event: KeyboardEvent): void {
37
40
  this.moveIfArrows(event);
@@ -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
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './keyboard-tool-palette-module';
17
16
  export * from './keyboard-tool-palette';
17
+ export * from './keyboard-tool-palette-module';
@@ -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
@@ -13,6 +13,6 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './search-palette-module';
17
16
  export * from './search-palette';
17
+ export * from './search-palette-module';
18
18
  export * from './search-tool';
@@ -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,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) 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,8 +14,8 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
  export * from './helper-line-feedback';
17
- export * from './helper-line-manager-default';
18
17
  export * from './helper-line-manager';
18
+ export * from './helper-line-manager-default';
19
19
  export * from './helper-line-module';
20
20
  export * from './model';
21
21
  export * from './view';
@@ -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
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './hover-module';
17
16
  export * from './hover';
17
+ export * from './hover-module';
@@ -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
@@ -26,6 +26,7 @@ export * from './helper-lines';
26
26
  export * from './hints';
27
27
  export * from './hover';
28
28
  export * from './label-edit';
29
+ export * from './label-edit-ui';
29
30
  export * from './layout';
30
31
  export * from './navigation';
31
32
  export * from './reconnect';
@@ -0,0 +1,17 @@
1
+ /********************************************************************************
2
+ * Copyright (c) 2024 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
+ ********************************************************************************/
16
+ export * from './label-edit-ui';
17
+ export * from './label-edit-ui-module';
@@ -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
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- export * from './tool-palette-module';
17
16
  export * from './tool-palette';
17
+ export * from './tool-palette-module';
@@ -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
@@ -13,7 +13,7 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
+ export * from './change-bounds-tool';
16
17
  export * from './change-bounds-tool-feedback';
17
18
  export * from './change-bounds-tool-module';
18
- export * from './change-bounds-tool';
19
19
  export * from './view';
@@ -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
@@ -34,7 +34,10 @@ import { absoluteToParent, getAbsolutePosition, toAbsoluteBounds } from '../../.
34
34
  import { FeedbackEdgeEnd, feedbackEdgeEndId } from './dangling-edge-feedback';
35
35
 
36
36
  export class FeedbackEdgeEndMovingMouseListener extends MouseListener implements Disposable {
37
- constructor(protected anchorRegistry: AnchorComputerRegistry, protected feedbackDispatcher: IFeedbackActionDispatcher) {
37
+ constructor(
38
+ protected anchorRegistry: AnchorComputerRegistry,
39
+ protected feedbackDispatcher: IFeedbackActionDispatcher
40
+ ) {
38
41
  super();
39
42
  }
40
43
 
@@ -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,6 +15,6 @@
15
15
  ********************************************************************************/
16
16
  export * from './dangling-edge-feedback';
17
17
  export * from './edege-creation-module';
18
- export * from './edge-creation-tool-feedback';
19
18
  export * from './edge-creation-tool';
19
+ export * from './edge-creation-tool-feedback';
20
20
  export * from './view';
@@ -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,5 +14,5 @@
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
16
  export * from './edge-edit-module';
17
- export * from './edge-edit-tool-feedback';
18
17
  export * from './edge-edit-tool';
18
+ export * from './edge-edit-tool-feedback';
@@ -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
@@ -16,7 +16,7 @@
16
16
  export * from './marquee-behavior';
17
17
  export * from './marquee-mouse-tool';
18
18
  export * from './marquee-selection-module';
19
- export * from './marquee-tool-feedback';
20
19
  export * from './marquee-tool';
20
+ export * from './marquee-tool-feedback';
21
21
  export * from './model';
22
22
  export * from './view';
@@ -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
@@ -18,5 +18,5 @@ export * from './compartments';
18
18
  export * from './gedge-view';
19
19
  export * from './glsp-projection-view';
20
20
  export * from './issue-marker-view';
21
- export * from './rounded-corner-view';
22
21
  export * from './rounded-corner';
22
+ export * from './rounded-corner-view';
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2021-2023 EclipseSource and others.
2
+ * Copyright (c) 2021-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
@@ -27,7 +27,10 @@ export class RoundedCornerWrapper {
27
27
  protected _bottomRightCorner: RoundedCorner;
28
28
  protected _bottomLeftCorner: RoundedCorner;
29
29
 
30
- constructor(public readonly element: GShapeElement & Hoverable & Selectable, public readonly cornerRadius: CornerRadius) {}
30
+ constructor(
31
+ public readonly element: GShapeElement & Hoverable & Selectable,
32
+ public readonly cornerRadius: CornerRadius
33
+ ) {}
31
34
 
32
35
  get size(): Dimension {
33
36
  return this.element.size;