@eclipse-glsp-examples/workflow-glsp 1.1.0-next.7ff1b00.184 → 1.1.0-next.a07a5f7.197
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/di.config.d.ts.map +1 -1
- package/lib/di.config.js +1 -0
- package/lib/di.config.js.map +1 -1
- package/package.json +5 -4
- package/scripts/config.json +9 -0
- package/scripts/download.ts +5 -7
- package/src/di.config.ts +3 -1
package/lib/di.config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../src/di.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../src/di.config.ts"],"names":[],"mappings":"AAwCA,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAmB,MAAM,WAAW,CAAC;AACvD,OAAO,4BAA4B,CAAC;AACpC,OAAO,oBAAoB,CAAC;AAgC5B,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAOnE"}
|
package/lib/di.config.js
CHANGED
|
@@ -45,6 +45,7 @@ const workflowDiagramModule = new inversify_1.ContainerModule((bind, unbind, isB
|
|
|
45
45
|
(0, client_1.configureModelElement)(context, 'activityNode:decision', model_1.ActivityNode, client_1.DiamondNodeView);
|
|
46
46
|
(0, client_1.configureModelElement)(context, 'activityNode:fork', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
47
47
|
(0, client_1.configureModelElement)(context, 'activityNode:join', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
48
|
+
(0, client_1.configureModelElement)(context, protocol_1.DefaultTypes.GRAPH, client_1.GLSPGraph, client_1.GLSPProjectionView);
|
|
48
49
|
(0, client_1.configureModelElement)(context, 'category', model_1.CategoryNode, client_1.RoundedCornerNodeView);
|
|
49
50
|
(0, client_1.configureModelElement)(context, 'struct', client_1.SCompartment, client_1.StructureCompartmentView);
|
|
50
51
|
});
|
package/lib/di.config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../src/di.config.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../src/di.config.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,iDAuB8B;AAC9B,qDAAsD;AACtD,uCAAqC;AACrC,yCAAuD;AACvD,sCAAoC;AACpC,8BAA4B;AAC5B,+DAAmE;AACnE,mCAAmF;AACnF,qDAA8D;AAE9D,MAAM,qBAAqB,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAChF,MAAM,CAAC,cAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,sBAAa,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAC3D,MAAM,CAAC,cAAK,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,iBAAQ,CAAC,IAAI,CAAC,CAAC;IACtD,IAAI,CAAC,cAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,oBAAW,CAAC,CAAC;IACrC,IAAI,CAAC,cAAK,CAAC,6BAA6B,CAAC,CAAC,EAAE,CAAC,yCAAgC,CAAC,CAAC;IAC/E,IAAI,CAAC,cAAK,CAAC,wBAAwB,CAAC,CAAC,EAAE,CAAC,6CAAoC,CAAC,CAAC;IAC9E,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAElD,IAAA,sCAA6B,EAAC,OAAO,CAAC,CAAC;IACvC,IAAA,8BAAqB,EAAC,OAAO,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,8BAAqB,CAAC,CAAC;IAClF,IAAA,8BAAqB,EAAC,OAAO,EAAE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AAA,8BAAqB,EAAC,OAAO,EAAE,QAAQ,EAAE,qBAAY,EAAE,iCAAwB,CAAC,CAAC;AACrF,CAAC,CAAC,CAAC;AAEH,SAAwB,eAAe,CAAC,QAAgB;IACpD,MAAM,SAAS,GAAG,IAAA,8BAAqB,EAAC,qBAAqB,EAAE,4BAAgB,CAAC,CAAC;IACjF,IAAA,8BAAqB,EAAC,SAAS,EAAE;QAC7B,OAAO,EAAE,QAAQ;QACjB,SAAS,EAAE,QAAQ,GAAG,SAAS;KAClC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACrB,CAAC;AAPD,kCAOC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-glsp",
|
|
3
|
-
"version": "1.1.0-next.
|
|
3
|
+
"version": "1.1.0-next.a07a5f7.197+a07a5f7",
|
|
4
4
|
"description": "GLSP diagrams for the Workflow DSL",
|
|
5
5
|
"license": "(EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0)",
|
|
6
6
|
"keywords": [
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@eclipse-glsp/client": "1.1.0-next.
|
|
29
|
+
"@eclipse-glsp/client": "1.1.0-next.a07a5f7.197+a07a5f7",
|
|
30
30
|
"balloon-css": "^0.5.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"prepare": "yarn clean && yarn build && yarn lint",
|
|
37
37
|
"clean": "rimraf tsconfig.tsbuildinfo lib",
|
|
38
38
|
"build": "tsc",
|
|
39
|
-
"lint": "eslint
|
|
39
|
+
"lint": "eslint --ext .ts,.tsx ./src",
|
|
40
|
+
"lint:fix": "eslint --fix --ext .ts,.tsx ./src",
|
|
40
41
|
"watch": "tsc -w"
|
|
41
42
|
},
|
|
42
43
|
"files": [
|
|
@@ -51,5 +52,5 @@
|
|
|
51
52
|
"publishConfig": {
|
|
52
53
|
"access": "public"
|
|
53
54
|
},
|
|
54
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "a07a5f7b4431c017641a824a9f54d1e228ab473a"
|
|
55
56
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"releaseRepository": "https://repo1.maven.org/maven2/",
|
|
3
|
+
"snapshotRepository": "https://oss.sonatype.org/content/repositories/snapshots/",
|
|
4
|
+
"groupId": "org.eclipse.glsp.example",
|
|
5
|
+
"artifactId": "org.eclipse.glsp.example.workflow",
|
|
6
|
+
"version": "1.1.0",
|
|
7
|
+
"isSnapShot": true,
|
|
8
|
+
"classifier": "glsp"
|
|
9
|
+
}
|
package/scripts/download.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020-
|
|
2
|
+
* Copyright (c) 2020-2022 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,16 +15,14 @@
|
|
|
15
15
|
********************************************************************************/
|
|
16
16
|
import download from 'mvn-artifact-download';
|
|
17
17
|
import { join, resolve } from 'path';
|
|
18
|
+
import * as config from './config.json';
|
|
18
19
|
|
|
19
20
|
const downloadDir = resolve(join(__dirname)) + '/../../..';
|
|
20
|
-
|
|
21
|
-
const groupId =
|
|
22
|
-
const
|
|
23
|
-
const version = '1.0.0';
|
|
24
|
-
const classifier = 'glsp';
|
|
21
|
+
|
|
22
|
+
const { groupId, artifactId, classifier, version, isSnapShot } = config;
|
|
23
|
+
const mavenRepository = isSnapShot ? config.snapshotRepository : config.releaseRepository;
|
|
25
24
|
|
|
26
25
|
console.log('Downloading latest version of the Workflow Example Java Server from the maven repository...');
|
|
27
|
-
const isSnapShot = false;
|
|
28
26
|
download({ groupId, artifactId, version, classifier, isSnapShot }, downloadDir, mavenRepository).then(() =>
|
|
29
27
|
console.log(
|
|
30
28
|
'Download completed. Start the server using this command: \njava -jar org.eclipse.glsp.example.workflow-' +
|
package/src/di.config.ts
CHANGED
|
@@ -21,6 +21,8 @@ import {
|
|
|
21
21
|
DeleteElementContextMenuItemProvider,
|
|
22
22
|
DiamondNodeView,
|
|
23
23
|
editLabelFeature,
|
|
24
|
+
GLSPGraph,
|
|
25
|
+
GLSPProjectionView,
|
|
24
26
|
GridSnapper,
|
|
25
27
|
LogLevel,
|
|
26
28
|
overrideViewerOptions,
|
|
@@ -66,7 +68,7 @@ const workflowDiagramModule = new ContainerModule((bind, unbind, isBound, rebind
|
|
|
66
68
|
configureModelElement(context, 'activityNode:decision', ActivityNode, DiamondNodeView);
|
|
67
69
|
configureModelElement(context, 'activityNode:fork', ActivityNode, RectangularNodeView);
|
|
68
70
|
configureModelElement(context, 'activityNode:join', ActivityNode, RectangularNodeView);
|
|
69
|
-
|
|
71
|
+
configureModelElement(context, DefaultTypes.GRAPH, GLSPGraph, GLSPProjectionView);
|
|
70
72
|
configureModelElement(context, 'category', CategoryNode, RoundedCornerNodeView);
|
|
71
73
|
configureModelElement(context, 'struct', SCompartment, StructureCompartmentView);
|
|
72
74
|
});
|