@eclipse-glsp-examples/workflow-server 2.6.0-next.3 → 2.7.0-next.6
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/handler/create-foreign-node-handler.d.ts +25 -0
- package/lib/common/handler/create-foreign-node-handler.d.ts.map +1 -0
- package/lib/common/handler/create-foreign-node-handler.js +52 -0
- package/lib/common/handler/create-foreign-node-handler.js.map +1 -0
- package/lib/common/handler/create-foreign-object-node-handler.d.ts +25 -0
- package/lib/common/handler/create-foreign-object-node-handler.d.ts.map +1 -0
- package/lib/common/handler/create-foreign-object-node-handler.js +40 -0
- package/lib/common/handler/create-foreign-object-node-handler.js.map +1 -0
- package/lib/common/util/model-types.d.ts +1 -1
- package/lib/common/util/model-types.d.ts.map +1 -1
- package/lib/common/util/model-types.js +1 -2
- package/lib/common/util/model-types.js.map +1 -1
- package/package.json +5 -5
- package/src/common/util/model-types.ts +1 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2026 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
|
+
import { CreateNodeOperation, GNode, GNodeBuilder, Point } from '@eclipse-glsp/server';
|
|
17
|
+
import { CreateWorkflowNodeOperationHandler } from './create-workflow-node-operation-handler';
|
|
18
|
+
export declare class CreateForeignNodeHandler extends CreateWorkflowNodeOperationHandler {
|
|
19
|
+
elementTypeIds: string[];
|
|
20
|
+
label: string;
|
|
21
|
+
protected multiText: string;
|
|
22
|
+
createNode(operation: CreateNodeOperation, relativeLocation?: Point): GNode | undefined;
|
|
23
|
+
protected builder(point?: Point): GNodeBuilder;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=create-foreign-node-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-foreign-node-handler.d.ts","sourceRoot":"","sources":["../../../src/common/handler/create-foreign-node-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EACH,mBAAmB,EAKnB,KAAK,EACL,YAAY,EACZ,KAAK,EACR,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAE9F,qBAAa,wBAAyB,SAAQ,kCAAkC;IAC5E,cAAc,WAA6B;IAC3C,KAAK,SAAkB;IACvB,SAAS,CAAC,SAAS,SAC4N;IAE/O,UAAU,CAAC,SAAS,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS;IAIvF,SAAS,CAAC,OAAO,CAAC,KAAK,GAAE,KAAoB,GAAG,YAAY;CAsB/D"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateForeignNodeHandler = void 0;
|
|
4
|
+
/********************************************************************************
|
|
5
|
+
* Copyright (c) 2026 EclipseSource and others.
|
|
6
|
+
*
|
|
7
|
+
* This program and the accompanying materials are made available under the
|
|
8
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
+
*
|
|
11
|
+
* This Source Code may also be made available under the following Secondary
|
|
12
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
+
* with the GNU Classpath Exception which is available at
|
|
15
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
16
|
+
*
|
|
17
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
|
+
********************************************************************************/
|
|
19
|
+
const server_1 = require("@eclipse-glsp/server");
|
|
20
|
+
const model_types_1 = require("../util/model-types");
|
|
21
|
+
const create_workflow_node_operation_handler_1 = require("./create-workflow-node-operation-handler");
|
|
22
|
+
class CreateForeignNodeHandler extends create_workflow_node_operation_handler_1.CreateWorkflowNodeOperationHandler {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
this.elementTypeIds = [model_types_1.ModelTypes.FOREIGN_NODE];
|
|
26
|
+
this.label = 'Foreign Node';
|
|
27
|
+
this.multiText = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ';
|
|
28
|
+
}
|
|
29
|
+
createNode(operation, relativeLocation) {
|
|
30
|
+
return this.builder(relativeLocation).build();
|
|
31
|
+
}
|
|
32
|
+
builder(point = server_1.Point.ORIGIN) {
|
|
33
|
+
return server_1.GNode.builder()
|
|
34
|
+
.type(this.elementTypeIds[0])
|
|
35
|
+
.position(point)
|
|
36
|
+
.layout('vbox')
|
|
37
|
+
.addLayoutOption('prefWidth', 50)
|
|
38
|
+
.addLayoutOption('prefHeight', 50)
|
|
39
|
+
.add(server_1.GCompartment.builder()
|
|
40
|
+
.layout('hbox')
|
|
41
|
+
.add(server_1.GLabel.builder().text('Test').build())
|
|
42
|
+
.add(server_1.GForeignObjectElement.builder()
|
|
43
|
+
.type(server_1.DefaultTypes.FOREIGN_OBJECT)
|
|
44
|
+
.id('test-foreign-object')
|
|
45
|
+
.addCssClass('wfp-multiline')
|
|
46
|
+
.addArg('text', this.multiText)
|
|
47
|
+
.build())
|
|
48
|
+
.build());
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateForeignNodeHandler = CreateForeignNodeHandler;
|
|
52
|
+
//# sourceMappingURL=create-foreign-node-handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-foreign-node-handler.js","sourceRoot":"","sources":["../../../src/common/handler/create-foreign-node-handler.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAS8B;AAC9B,qDAAiD;AACjD,qGAA8F;AAE9F,MAAa,wBAAyB,SAAQ,2EAAkC;IAAhF;;QACI,mBAAc,GAAG,CAAC,wBAAU,CAAC,YAAY,CAAC,CAAC;QAC3C,UAAK,GAAG,cAAc,CAAC;QACb,cAAS,GACf,0OAA0O,CAAC;IA4BnP,CAAC;IA1BG,UAAU,CAAC,SAA8B,EAAE,gBAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAC;IAClD,CAAC;IAES,OAAO,CAAC,QAAe,cAAK,CAAC,MAAM;QACzC,OAAO,cAAK,CAAC,OAAO,EAAE;aACjB,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;aAC5B,QAAQ,CAAC,KAAK,CAAC;aACf,MAAM,CAAC,MAAM,CAAC;aACd,eAAe,CAAC,WAAW,EAAE,EAAE,CAAC;aAChC,eAAe,CAAC,YAAY,EAAE,EAAE,CAAC;aACjC,GAAG,CACA,qBAAY,CAAC,OAAO,EAAE;aACjB,MAAM,CAAC,MAAM,CAAC;aACd,GAAG,CAAC,eAAM,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,CAAC;aAC1C,GAAG,CACA,8BAAqB,CAAC,OAAO,EAAE;aAC1B,IAAI,CAAC,qBAAY,CAAC,cAAc,CAAC;aACjC,EAAE,CAAC,qBAAqB,CAAC;aACzB,WAAW,CAAC,eAAe,CAAC;aAC5B,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC;aAC9B,KAAK,EAAE,CACf;aACA,KAAK,EAAE,CACf,CAAC;IACV,CAAC;CACJ;AAhCD,4DAgCC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/********************************************************************************
|
|
2
|
+
* Copyright (c) 2022-2023 STMicroelectronics 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
|
+
import { CreateNodeOperation, GNode, Point } from '@eclipse-glsp/server';
|
|
17
|
+
import { ForeignObjectNodeBuilder } from '../graph-extension';
|
|
18
|
+
import { CreateWorkflowNodeOperationHandler } from './create-workflow-node-operation-handler';
|
|
19
|
+
export declare class CreateForeignObjectNodeHandler extends CreateWorkflowNodeOperationHandler {
|
|
20
|
+
elementTypeIds: string[];
|
|
21
|
+
label: string;
|
|
22
|
+
createNode(operation: CreateNodeOperation, relativeLocation?: Point): GNode | undefined;
|
|
23
|
+
protected builder(point?: Point): ForeignObjectNodeBuilder;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=create-foreign-object-node-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-foreign-object-node-handler.d.ts","sourceRoot":"","sources":["../../../src/common/handler/create-foreign-object-node-handler.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAAE,mBAAmB,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,EAAqB,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEjF,OAAO,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AAE9F,qBAAa,8BAA+B,SAAQ,kCAAkC;IAClF,cAAc,WAAoC;IAClD,KAAK,SAAyB;IAE9B,UAAU,CAAC,SAAS,EAAE,mBAAmB,EAAE,gBAAgB,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS;IAIvF,SAAS,CAAC,OAAO,CAAC,KAAK,GAAE,KAAoB,GAAG,wBAAwB;CAM3E"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateForeignObjectNodeHandler = void 0;
|
|
4
|
+
/********************************************************************************
|
|
5
|
+
* Copyright (c) 2022-2023 STMicroelectronics and others.
|
|
6
|
+
*
|
|
7
|
+
* This program and the accompanying materials are made available under the
|
|
8
|
+
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
9
|
+
* http://www.eclipse.org/legal/epl-2.0.
|
|
10
|
+
*
|
|
11
|
+
* This Source Code may also be made available under the following Secondary
|
|
12
|
+
* Licenses when the conditions for such availability set forth in the Eclipse
|
|
13
|
+
* Public License v. 2.0 are satisfied: GNU General Public License, version 2
|
|
14
|
+
* with the GNU Classpath Exception which is available at
|
|
15
|
+
* https://www.gnu.org/software/classpath/license.html.
|
|
16
|
+
*
|
|
17
|
+
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
|
+
********************************************************************************/
|
|
19
|
+
const server_1 = require("@eclipse-glsp/server");
|
|
20
|
+
const graph_extension_1 = require("../graph-extension");
|
|
21
|
+
const model_types_1 = require("../util/model-types");
|
|
22
|
+
const create_workflow_node_operation_handler_1 = require("./create-workflow-node-operation-handler");
|
|
23
|
+
class CreateForeignObjectNodeHandler extends create_workflow_node_operation_handler_1.CreateWorkflowNodeOperationHandler {
|
|
24
|
+
constructor() {
|
|
25
|
+
super(...arguments);
|
|
26
|
+
this.elementTypeIds = [model_types_1.ModelTypes.FOREIGN_OBJECT_NODE];
|
|
27
|
+
this.label = 'Foreign Object Node';
|
|
28
|
+
}
|
|
29
|
+
createNode(operation, relativeLocation) {
|
|
30
|
+
return this.builder(relativeLocation).build();
|
|
31
|
+
}
|
|
32
|
+
builder(point = server_1.Point.ORIGIN) {
|
|
33
|
+
return graph_extension_1.ForeignObjectNode.builder()
|
|
34
|
+
.type(model_types_1.ModelTypes.FOREIGN_OBJECT_NODE)
|
|
35
|
+
.position(point)
|
|
36
|
+
.name('ForeignObjectNode' + this.modelState.index.getAllByClass(graph_extension_1.ForeignObjectNode).length);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.CreateForeignObjectNodeHandler = CreateForeignObjectNodeHandler;
|
|
40
|
+
//# sourceMappingURL=create-foreign-object-node-handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-foreign-object-node-handler.js","sourceRoot":"","sources":["../../../src/common/handler/create-foreign-object-node-handler.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAAyE;AACzE,wDAAiF;AACjF,qDAAiD;AACjD,qGAA8F;AAE9F,MAAa,8BAA+B,SAAQ,2EAAkC;IAAtF;;QACI,mBAAc,GAAG,CAAC,wBAAU,CAAC,mBAAmB,CAAC,CAAC;QAClD,UAAK,GAAG,qBAAqB,CAAC;IAYlC,CAAC;IAVG,UAAU,CAAC,SAA8B,EAAE,gBAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,KAAK,EAAE,CAAC;IAClD,CAAC;IAES,OAAO,CAAC,QAAe,cAAK,CAAC,MAAM;QACzC,OAAO,mCAAiB,CAAC,OAAO,EAAE;aAC7B,IAAI,CAAC,wBAAU,CAAC,mBAAmB,CAAC;aACpC,QAAQ,CAAC,KAAK,CAAC;aACf,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,aAAa,CAAC,mCAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;IACnG,CAAC;CACJ;AAdD,wEAcC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2026 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-types.d.ts","sourceRoot":"","sources":["../../../src/common/util/model-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;
|
|
1
|
+
{"version":3,"file":"model-types.d.ts","sourceRoot":"","sources":["../../../src/common/util/model-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yBAAiB,UAAU,CAAC;IACjB,MAAM,aAAa,kBAAkB,CAAC;IACtC,MAAM,UAAU,eAAe,CAAC;IAChC,MAAM,WAAW,gBAAgB,CAAC;IAClC,MAAM,UAAU,eAAe,CAAC;IAChC,MAAM,aAAa,kBAAkB,CAAC;IACtC,MAAM,IAAI,SAAS,CAAC;IACpB,MAAM,aAAa,iBAAiB,CAAC;IACrC,MAAM,aAAa,0BAA8B,CAAC;IAClD,MAAM,UAAU,uBAA2B,CAAC;IAC5C,MAAM,SAAS,sBAA0B,CAAC;IAC1C,MAAM,SAAS,sBAA0B,CAAC;IAC1C,MAAM,IAAI,SAAS,CAAC;IACpB,MAAM,WAAW,gBAAmB,CAAC;IACrC,MAAM,cAAc,mBAAsB,CAAC;IAC3C,MAAM,QAAQ,aAAa,CAAC;IAC5B,MAAM,SAAS,WAAW,CAAC;IAElC,SAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAmB/C;CACJ"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ModelTypes = void 0;
|
|
4
4
|
/********************************************************************************
|
|
5
|
-
* Copyright (c) 2022-
|
|
5
|
+
* Copyright (c) 2022-2026 STMicroelectronics and others.
|
|
6
6
|
*
|
|
7
7
|
* This program and the accompanying materials are made available under the
|
|
8
8
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -16,7 +16,6 @@ exports.ModelTypes = void 0;
|
|
|
16
16
|
*
|
|
17
17
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
18
|
********************************************************************************/
|
|
19
|
-
/* eslint-disable @typescript-eslint/padding-line-between-statements */
|
|
20
19
|
var ModelTypes;
|
|
21
20
|
(function (ModelTypes) {
|
|
22
21
|
ModelTypes.LABEL_HEADING = 'label:heading';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../src/common/util/model-types.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../src/common/util/model-types.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,IAAiB,UAAU,CAsC1B;AAtCD,WAAiB,UAAU;IACV,wBAAa,GAAG,eAAe,CAAC;IAChC,qBAAU,GAAG,YAAY,CAAC;IAC1B,sBAAW,GAAG,aAAa,CAAC;IAC5B,qBAAU,GAAG,YAAY,CAAC;IAC1B,wBAAa,GAAG,eAAe,CAAC;IAChC,eAAI,GAAG,MAAM,CAAC;IACd,wBAAa,GAAG,cAAc,CAAC;IAC/B,wBAAa,GAAG,GAAG,WAAA,aAAa,WAAW,CAAC;IAC5C,qBAAU,GAAG,GAAG,WAAA,aAAa,QAAQ,CAAC;IACtC,oBAAS,GAAG,GAAG,WAAA,aAAa,OAAO,CAAC;IACpC,oBAAS,GAAG,GAAG,WAAA,aAAa,OAAO,CAAC;IACpC,eAAI,GAAG,MAAM,CAAC;IACd,sBAAW,GAAG,GAAG,WAAA,IAAI,SAAS,CAAC;IAC/B,yBAAc,GAAG,GAAG,WAAA,IAAI,YAAY,CAAC;IACrC,mBAAQ,GAAG,UAAU,CAAC;IACtB,oBAAS,GAAG,QAAQ,CAAC;IAElC,SAAgB,UAAU,CAAC,IAAY;QACnC,QAAQ,IAAI,EAAE,CAAC;YACX,KAAK,WAAA,aAAa;gBACd,OAAO,cAAc,CAAC;YAC1B,KAAK,WAAA,UAAU;gBACX,OAAO,WAAW,CAAC;YACvB,KAAK,WAAA,SAAS;gBACV,OAAO,UAAU,CAAC;YACtB,KAAK,WAAA,SAAS;gBACV,OAAO,UAAU,CAAC;YACtB,KAAK,WAAA,WAAW;gBACZ,OAAO,QAAQ,CAAC;YACpB,KAAK,WAAA,cAAc;gBACf,OAAO,WAAW,CAAC;YACvB,KAAK,WAAA,QAAQ;gBACT,OAAO,UAAU,CAAC;YACtB;gBACI,OAAO,SAAS,CAAC;QACzB,CAAC;IACL,CAAC;IAnBe,qBAAU,aAmBzB,CAAA;AACL,CAAC,EAtCgB,UAAU,0BAAV,UAAU,QAsC1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-server",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0-next.6+2d275ee",
|
|
4
4
|
"description": "GLSP node server for the workflow example",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"bundle:browser": "webpack --env target=webworker ",
|
|
52
52
|
"clean": "rimraf lib *.tsbuildinfo",
|
|
53
53
|
"generate:index": "glsp generateIndex src/browser src/common src/node -s -f",
|
|
54
|
-
"lint": "eslint
|
|
54
|
+
"lint": "eslint ./src",
|
|
55
55
|
"watch": "tsc -w",
|
|
56
56
|
"watch:bundle": "webpack -w"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@eclipse-glsp/layout-elk": "2.
|
|
60
|
-
"@eclipse-glsp/server": "2.
|
|
59
|
+
"@eclipse-glsp/layout-elk": "2.7.0-next.6+2d275ee",
|
|
60
|
+
"@eclipse-glsp/server": "2.7.0-next.6+2d275ee",
|
|
61
61
|
"inversify": "^6.1.3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "2d275ee9c4ea080f5fd99171e5c760f53ad34f49"
|
|
72
72
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2022-
|
|
2
|
+
* Copyright (c) 2022-2026 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
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*
|
|
14
14
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
15
15
|
********************************************************************************/
|
|
16
|
-
/* eslint-disable @typescript-eslint/padding-line-between-statements */
|
|
17
16
|
export namespace ModelTypes {
|
|
18
17
|
export const LABEL_HEADING = 'label:heading';
|
|
19
18
|
export const LABEL_TEXT = 'label:text';
|