@eclipse-glsp/server 2.6.0-next.1 → 2.6.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/common/features/contextactions/context-menu-item-provider.d.ts +3 -3
- package/lib/common/features/contextactions/context-menu-item-provider.d.ts.map +1 -1
- package/lib/common/features/contextactions/context-menu-item-provider.js +1 -1
- package/lib/common/features/contextactions/context-menu-item-provider.js.map +1 -1
- package/package.json +3 -3
- package/src/common/features/contextactions/context-menu-item-provider.ts +3 -4
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import { Args, EditorContext, LabeledAction, MenuItem, Point } from '@eclipse-glsp/protocol';
|
|
17
17
|
import { ContextActionsProvider } from './context-actions-provider';
|
|
18
18
|
/**
|
|
19
|
-
* A {@link ContextActionsProvider} for {@link
|
|
19
|
+
* A {@link ContextActionsProvider} for {@link MenuItem}s.
|
|
20
20
|
*/
|
|
21
21
|
export declare abstract class ContextMenuItemProvider implements ContextActionsProvider {
|
|
22
22
|
/**
|
|
@@ -24,12 +24,12 @@ export declare abstract class ContextMenuItemProvider implements ContextActionsP
|
|
|
24
24
|
*/
|
|
25
25
|
get contextId(): string;
|
|
26
26
|
/**
|
|
27
|
-
* Returns a list of {@link
|
|
27
|
+
* Returns a list of {@link MenuItem}s for a given list of selected elements at a certain mouse position.
|
|
28
28
|
*
|
|
29
29
|
* @param selectedElementIds The list of currently selected elementIds.
|
|
30
30
|
* @param position The current mouse position.
|
|
31
31
|
* @param args Additional arguments.
|
|
32
|
-
* @returns A list of {@link
|
|
32
|
+
* @returns A list of {@link MenuItem}s for a given list of selected elements at a certain mouse position.
|
|
33
33
|
*/
|
|
34
34
|
abstract getItems(selectedElementIds: string[], position: Point, args?: Args): MenuItem[];
|
|
35
35
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu-item-provider.d.ts","sourceRoot":"","sources":["../../../../src/common/features/contextactions/context-menu-item-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,8BACsB,uBAAwB,YAAW,sBAAsB;IAC3E;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;;;;OAOG;
|
|
1
|
+
{"version":3,"file":"context-menu-item-provider.d.ts","sourceRoot":"","sources":["../../../../src/common/features/contextactions/context-menu-item-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE7F,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE;;GAEG;AACH,8BACsB,uBAAwB,YAAW,sBAAsB;IAC3E;;OAEG;IACH,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAQ,CAAC,kBAAkB,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,QAAQ,EAAE;IAEzF;;;;;OAKG;IACH,UAAU,CAAC,aAAa,EAAE,aAAa,GAAG,aAAa,EAAE;CAI5D"}
|
|
@@ -9,7 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
9
9
|
exports.ContextMenuItemProvider = void 0;
|
|
10
10
|
const inversify_1 = require("inversify");
|
|
11
11
|
/**
|
|
12
|
-
* A {@link ContextActionsProvider} for {@link
|
|
12
|
+
* A {@link ContextActionsProvider} for {@link MenuItem}s.
|
|
13
13
|
*/
|
|
14
14
|
let ContextMenuItemProvider = class ContextMenuItemProvider {
|
|
15
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context-menu-item-provider.js","sourceRoot":"","sources":["../../../../src/common/features/contextactions/context-menu-item-provider.ts"],"names":[],"mappings":";;;;;;;;;AAgBA,yCAAuC;AAGvC;;GAEG;AAEI,IAAe,uBAAuB,GAAtC,MAAe,uBAAuB;IACzC;;OAEG;IACH,IAAI,SAAS;QACT,OAAO,cAAc,CAAC;IAC1B,CAAC;
|
|
1
|
+
{"version":3,"file":"context-menu-item-provider.js","sourceRoot":"","sources":["../../../../src/common/features/contextactions/context-menu-item-provider.ts"],"names":[],"mappings":";;;;;;;;;AAgBA,yCAAuC;AAGvC;;GAEG;AAEI,IAAe,uBAAuB,GAAtC,MAAe,uBAAuB;IACzC;;OAEG;IACH,IAAI,SAAS;QACT,OAAO,cAAc,CAAC;IAC1B,CAAC;IAYD;;;;;OAKG;IACH,UAAU,CAAC,aAA4B;QACnC,MAAM,QAAQ,GAAG,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;QACpG,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,kBAAkB,EAAE,QAAQ,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC;IACzF,CAAC;CACJ,CAAA;AA5BqB,0DAAuB;kCAAvB,uBAAuB;IAD5C,IAAA,sBAAU,GAAE;GACS,uBAAuB,CA4B5C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp/server",
|
|
3
|
-
"version": "2.6.0-next.
|
|
3
|
+
"version": "2.6.0-next.2+d52fe81",
|
|
4
4
|
"description": "A js server framework for Eclipse GLSP",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"watch": "tsc -w"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eclipse-glsp/graph": "2.6.0-next.
|
|
61
|
+
"@eclipse-glsp/graph": "2.6.0-next.2+d52fe81",
|
|
62
62
|
"@eclipse-glsp/protocol": "next",
|
|
63
63
|
"@types/uuid": "8.3.1",
|
|
64
64
|
"commander": "^8.3.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"publishConfig": {
|
|
79
79
|
"access": "public"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "d52fe815b19fedd8a842659e4fa322f030bca925"
|
|
82
82
|
}
|
|
@@ -18,7 +18,7 @@ import { injectable } from 'inversify';
|
|
|
18
18
|
import { ContextActionsProvider } from './context-actions-provider';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
|
-
* A {@link ContextActionsProvider} for {@link
|
|
21
|
+
* A {@link ContextActionsProvider} for {@link MenuItem}s.
|
|
22
22
|
*/
|
|
23
23
|
@injectable()
|
|
24
24
|
export abstract class ContextMenuItemProvider implements ContextActionsProvider {
|
|
@@ -30,14 +30,13 @@ export abstract class ContextMenuItemProvider implements ContextActionsProvider
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Returns a list of {@link
|
|
33
|
+
* Returns a list of {@link MenuItem}s for a given list of selected elements at a certain mouse position.
|
|
34
34
|
*
|
|
35
35
|
* @param selectedElementIds The list of currently selected elementIds.
|
|
36
36
|
* @param position The current mouse position.
|
|
37
37
|
* @param args Additional arguments.
|
|
38
|
-
* @returns A list of {@link
|
|
38
|
+
* @returns A list of {@link MenuItem}s for a given list of selected elements at a certain mouse position.
|
|
39
39
|
*/
|
|
40
|
-
|
|
41
40
|
abstract getItems(selectedElementIds: string[], position: Point, args?: Args): MenuItem[];
|
|
42
41
|
|
|
43
42
|
/**
|