@eclipse-glsp-examples/workflow-glsp 2.3.0-next.377 → 2.3.0-next.380
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.
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
import {
|
|
16
|
+
import { IDiagramStartup, IGridManager } from '@eclipse-glsp/client';
|
|
17
17
|
import { MaybePromise } from '@eclipse-glsp/sprotty';
|
|
18
18
|
export declare class WorkflowStartup implements IDiagramStartup {
|
|
19
19
|
rank: number;
|
|
20
|
-
protected gridManager?:
|
|
20
|
+
protected gridManager?: IGridManager;
|
|
21
21
|
preRequestModel(): MaybePromise<void>;
|
|
22
22
|
}
|
|
23
23
|
//# sourceMappingURL=workflow-startup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-startup.d.ts","sourceRoot":"","sources":["../src/workflow-startup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"workflow-startup.d.ts","sourceRoot":"","sources":["../src/workflow-startup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAElF,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACrE,OAAO,EAAE,YAAY,EAAS,MAAM,uBAAuB,CAAC;AAG5D,qBACa,eAAgB,YAAW,eAAe;IACnD,IAAI,SAAM;IAE8B,SAAS,CAAC,WAAW,CAAC,EAAE,YAAY,CAAC;IAE7E,eAAe,IAAI,YAAY,CAAC,IAAI,CAAC;CAGxC"}
|
package/lib/workflow-startup.js
CHANGED
|
@@ -25,7 +25,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.WorkflowStartup = void 0;
|
|
28
|
-
const
|
|
28
|
+
const sprotty_1 = require("@eclipse-glsp/sprotty");
|
|
29
29
|
const inversify_1 = require("inversify");
|
|
30
30
|
let WorkflowStartup = class WorkflowStartup {
|
|
31
31
|
constructor() {
|
|
@@ -38,9 +38,9 @@ let WorkflowStartup = class WorkflowStartup {
|
|
|
38
38
|
};
|
|
39
39
|
exports.WorkflowStartup = WorkflowStartup;
|
|
40
40
|
__decorate([
|
|
41
|
-
(0, inversify_1.inject)(
|
|
41
|
+
(0, inversify_1.inject)(sprotty_1.TYPES.IGridManager),
|
|
42
42
|
(0, inversify_1.optional)(),
|
|
43
|
-
__metadata("design:type",
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
44
|
], WorkflowStartup.prototype, "gridManager", void 0);
|
|
45
45
|
exports.WorkflowStartup = WorkflowStartup = __decorate([
|
|
46
46
|
(0, inversify_1.injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-startup.js","sourceRoot":"","sources":["../src/workflow-startup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"workflow-startup.js","sourceRoot":"","sources":["../src/workflow-startup.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;kFAckF;;;;;;;;;;;;AAGlF,mDAA4D;AAC5D,yCAAyD;AAGlD,IAAM,eAAe,GAArB,MAAM,eAAe;IAArB;QACH,SAAI,GAAG,CAAC,CAAC,CAAC;IAOd,CAAC;IAHG,eAAe;;QACX,MAAA,IAAI,CAAC,WAAW,0CAAE,cAAc,CAAC,IAAI,CAAC,CAAC;IAC3C,CAAC;CACJ,CAAA;AARY,0CAAe;AAG0B;IAAjD,IAAA,kBAAM,EAAC,eAAK,CAAC,YAAY,CAAC;IAAE,IAAA,oBAAQ,GAAE;;oDAAsC;0BAHpE,eAAe;IAD3B,IAAA,sBAAU,GAAE;GACA,eAAe,CAQ3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-glsp",
|
|
3
|
-
"version": "2.3.0-next.
|
|
3
|
+
"version": "2.3.0-next.380+b01477a",
|
|
4
4
|
"description": "GLSP diagrams for the Workflow DSL",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"glsp",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"watch": "tsc -w"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@eclipse-glsp/client": "2.3.0-next.
|
|
43
|
+
"@eclipse-glsp/client": "2.3.0-next.380+b01477a",
|
|
44
44
|
"balloon-css": "^0.5.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "b01477a769ebb7798248491db8576b46838695f8"
|
|
53
53
|
}
|
package/src/workflow-startup.ts
CHANGED
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
|
|
17
|
-
import {
|
|
18
|
-
import { MaybePromise } from '@eclipse-glsp/sprotty';
|
|
17
|
+
import { IDiagramStartup, IGridManager } from '@eclipse-glsp/client';
|
|
18
|
+
import { MaybePromise, TYPES } from '@eclipse-glsp/sprotty';
|
|
19
19
|
import { inject, injectable, optional } from 'inversify';
|
|
20
20
|
|
|
21
21
|
@injectable()
|
|
22
22
|
export class WorkflowStartup implements IDiagramStartup {
|
|
23
23
|
rank = -1;
|
|
24
24
|
|
|
25
|
-
@inject(
|
|
25
|
+
@inject(TYPES.IGridManager) @optional() protected gridManager?: IGridManager;
|
|
26
26
|
|
|
27
27
|
preRequestModel(): MaybePromise<void> {
|
|
28
28
|
this.gridManager?.setGridVisible(true);
|