@eclipse-glsp-examples/workflow-server 2.2.0-next.94 → 2.2.0-next.95
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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,9 @@
|
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import { GModelElement, GModelRoot, PopupModelFactory, RequestPopupModelAction } from '@eclipse-glsp/server';
|
|
17
|
+
import { TaskNode } from './graph-extension';
|
|
17
18
|
export declare class WorkflowPopupFactory implements PopupModelFactory {
|
|
18
19
|
createPopupModel(element: GModelElement, action: RequestPopupModelAction): GModelRoot | undefined;
|
|
19
|
-
|
|
20
|
+
protected generateBody(task: TaskNode): string;
|
|
20
21
|
}
|
|
21
22
|
//# sourceMappingURL=workflow-popup-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-popup-factory.d.ts","sourceRoot":"","sources":["../../src/common/workflow-popup-factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAuB,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"workflow-popup-factory.d.ts","sourceRoot":"","sources":["../../src/common/workflow-popup-factory.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,aAAa,EAAE,UAAU,EAAuB,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAElI,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C,qBACa,oBAAqB,YAAW,iBAAiB;IAC1D,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,uBAAuB,GAAG,UAAU,GAAG,SAAS;IAiBjG,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM;CAKjD"}
|
|
@@ -8,7 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.WorkflowPopupFactory = void 0;
|
|
10
10
|
/********************************************************************************
|
|
11
|
-
* Copyright (c) 2022-
|
|
11
|
+
* Copyright (c) 2022-2024 STMicroelectronics and others.
|
|
12
12
|
*
|
|
13
13
|
* This program and the accompanying materials are made available under the
|
|
14
14
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-popup-factory.js","sourceRoot":"","sources":["../../src/common/workflow-popup-factory.ts"],"names":[],"mappings":";;;;;;;;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAAkI;AAClI,yCAAuC;AACvC,uDAA6C;AAE7C,MAAM,EAAE,GAAG,OAAO,CAAC;AAGZ,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;IAC7B,gBAAgB,CAAC,OAAsB,EAAE,MAA+B;QACpE,IAAI,OAAO,IAAI,OAAO,YAAY,0BAAQ,EAAE,CAAC;YACzC,MAAM,UAAU,GAAG,4BAAmB,CAAC,OAAO,EAAE;iBAC3C,EAAE,CAAC,aAAa,CAAC;iBACjB,IAAI,CAAC,oCAAoC,OAAO,CAAC,IAAI,QAAQ,CAAC;iBAC9D,KAAK,EAAE,CAAC;YAEb,MAAM,SAAS,GAAG,4BAAmB,CAAC,OAAO,EAAE;iBAC1C,EAAE,CAAC,YAAY,CAAC;iBAChB,IAAI,CAAC,mCAAmC,IAAI,CAA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,SAAS,CAAC,CAAC,KAAK,EAAE,CAAC;QACpI,CAAC;QACD,OAAO,SAAS,CAAC;IACrB,CAAC;IAES,YAAY,CAAC,IAAc;QACjC,OAAO,SAAS,IAAI,CAAC,QAAQ,IAAI,EAAE;wBACnB,IAAI,CAAC,QAAQ,IAAI,EAAE;yBAClB,IAAI,CAAC,UAAU,IAAI,EAAE,EAAE,CAAC;IAC7C,CAAC;CACJ,CAAA;AAvBY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,sBAAU,GAAE;GACA,oBAAoB,CAuBhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-server",
|
|
3
|
-
"version": "2.2.0-next.
|
|
3
|
+
"version": "2.2.0-next.95+a733f72",
|
|
4
4
|
"description": "GLSP node server for the workflow example",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"watch:bundle": "webpack -w"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@eclipse-glsp/layout-elk": "2.2.0-next.
|
|
60
|
-
"@eclipse-glsp/server": "2.2.0-next.
|
|
59
|
+
"@eclipse-glsp/layout-elk": "2.2.0-next.95+a733f72",
|
|
60
|
+
"@eclipse-glsp/server": "2.2.0-next.95+a733f72",
|
|
61
61
|
"inversify": "^6.0.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a733f72d957426f7eb20b73ce3bcda217feff80a"
|
|
72
72
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2024 STMicroelectronics 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
|
|
@@ -38,7 +38,7 @@ export class WorkflowPopupFactory implements PopupModelFactory {
|
|
|
38
38
|
return undefined;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
protected generateBody(task: TaskNode): string {
|
|
42
42
|
return `Type: ${task.taskType} ${NL}
|
|
43
43
|
Duration: ${task.duration} ${NL}
|
|
44
44
|
Reference: ${task.references} ${NL}`;
|