@eclipse-glsp-examples/workflow-glsp 2.6.0-next.1 → 2.6.0-next.12
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/css/diagram.css
CHANGED
|
@@ -73,33 +73,33 @@
|
|
|
73
73
|
stroke-width: 1;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.sprotty-edge.weighted.low:not(.selected, .navigable-element),
|
|
77
|
-
.sprotty-edge.weighted.low:not(.selected, .navigable-element) .arrow {
|
|
76
|
+
.sprotty-edge.weighted.low:not(.selected, .navigable-element, .search-highlighted),
|
|
77
|
+
.sprotty-edge.weighted.low:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
78
78
|
stroke: rgb(128, 90, 233);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
.sprotty-edge.weighted.low:not(.selected, .navigable-element) .arrow {
|
|
81
|
+
.sprotty-edge.weighted.low:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
82
82
|
fill: rgb(128, 90, 233);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.sprotty-edge.weighted:not(.selected, .navigable-element),
|
|
86
|
-
.sprotty-edge.weighted:not(.selected, .navigable-element) .arrow,
|
|
87
|
-
.sprotty-edge.weighted.medium:not(.selected, .navigable-element),
|
|
88
|
-
.sprotty-edge.weighted.medium:not(.selected, .navigable-element) .arrow {
|
|
85
|
+
.sprotty-edge.weighted:not(.selected, .navigable-element, .search-highlighted),
|
|
86
|
+
.sprotty-edge.weighted:not(.selected, .navigable-element, .search-highlighted) .arrow,
|
|
87
|
+
.sprotty-edge.weighted.medium:not(.selected, .navigable-element, .search-highlighted),
|
|
88
|
+
.sprotty-edge.weighted.medium:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
89
89
|
stroke: rgb(98, 60, 193);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.sprotty-edge.weighted:not(.selected, .navigable-element) .arrow,
|
|
93
|
-
.sprotty-edge.weighted.medium:not(.selected, .navigable-element) .arrow {
|
|
92
|
+
.sprotty-edge.weighted:not(.selected, .navigable-element, .search-highlighted) .arrow,
|
|
93
|
+
.sprotty-edge.weighted.medium:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
94
94
|
fill: rgb(98, 60, 193);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.sprotty-edge.weighted.high:not(.selected, .navigable-element),
|
|
98
|
-
.sprotty-edge.weighted.high:not(.selected, .navigable-element) .arrow {
|
|
97
|
+
.sprotty-edge.weighted.high:not(.selected, .navigable-element, .search-highlighted),
|
|
98
|
+
.sprotty-edge.weighted.high:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
99
99
|
stroke: rgb(68, 30, 163);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.sprotty-edge.weighted.high:not(.selected, .navigable-element) .arrow {
|
|
102
|
+
.sprotty-edge.weighted.high:not(.selected, .navigable-element, .search-highlighted) .arrow {
|
|
103
103
|
fill: rgb(68, 30, 163);
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2025 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-diagram-module.d.ts","sourceRoot":"","sources":["../src/workflow-diagram-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAEH,sBAAsB,EAKtB,aAAa,
|
|
1
|
+
{"version":3,"file":"workflow-diagram-module.d.ts","sourceRoot":"","sources":["../src/workflow-diagram-module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,EAEH,sBAAsB,EAKtB,aAAa,EA0BhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,6BAA6B,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,4BAA4B,CAAC;AACpC,OAAO,oBAAoB,CAAC;AAO5B,eAAO,MAAM,qBAAqB,eAsCjC,CAAC;AAEF,wBAAgB,8BAA8B,CAAC,GAAG,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAE3G;AAED,wBAAgB,kCAAkC,CAAC,SAAS,EAAE,SAAS,EAAE,GAAG,sBAAsB,EAAE,sBAAsB,GAAG,SAAS,CAUrI"}
|
|
@@ -4,7 +4,7 @@ exports.workflowDiagramModule = void 0;
|
|
|
4
4
|
exports.createWorkflowDiagramContainer = createWorkflowDiagramContainer;
|
|
5
5
|
exports.initializeWorkflowDiagramContainer = initializeWorkflowDiagramContainer;
|
|
6
6
|
/********************************************************************************
|
|
7
|
-
* Copyright (c) 2019-
|
|
7
|
+
* Copyright (c) 2019-2025 EclipseSource and others.
|
|
8
8
|
*
|
|
9
9
|
* This program and the accompanying materials are made available under the
|
|
10
10
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -34,6 +34,7 @@ exports.workflowDiagramModule = new client_1.FeatureModule((bind, unbind, isBoun
|
|
|
34
34
|
(0, client_1.bindOrRebind)(context, client_1.TYPES.LogLevel).toConstantValue(client_1.LogLevel.warn);
|
|
35
35
|
(0, client_1.bindAsService)(context, client_1.TYPES.ICommandPaletteActionProvider, client_1.RevealNamedElementActionProvider);
|
|
36
36
|
(0, client_1.bindAsService)(context, client_1.TYPES.IContextMenuItemProvider, client_1.DeleteElementContextMenuItemProvider);
|
|
37
|
+
bind(client_1.TYPES.IMovementRestrictor).to(client_1.NoOverlapMovementRestrictor).inSingletonScope();
|
|
37
38
|
(0, client_1.configureDefaultModelElements)(context);
|
|
38
39
|
(0, client_1.configureModelElement)(context, 'task:automated', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
39
40
|
(0, client_1.configureModelElement)(context, 'task:manual', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-diagram-module.js","sourceRoot":"","sources":["../src/workflow-diagram-module.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"workflow-diagram-module.js","sourceRoot":"","sources":["../src/workflow-diagram-module.ts"],"names":[],"mappings":";;;AAmGA,wEAEC;AAED,gFAUC;AAjHD;;;;;;;;;;;;;;kFAckF;AAClF,iDAiC8B;AAC9B,uCAAqC;AACrC,yCAAsC;AACtC,sCAAoC;AACpC,8BAA4B;AAC5B,iFAA4E;AAC5E,mCAAyG;AACzG,yDAAqD;AACrD,yDAAqD;AACrD,qDAA8D;AAEjD,QAAA,qBAAqB,GAAG,IAAI,sBAAa,CAClD,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC9B,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;IAElD,IAAA,qBAAY,EAAC,OAAO,EAAE,cAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,sBAAa,CAAC,CAAC,gBAAgB,EAAE,CAAC;IAC1E,IAAA,qBAAY,EAAC,OAAO,EAAE,cAAK,CAAC,QAAQ,CAAC,CAAC,eAAe,CAAC,iBAAQ,CAAC,IAAI,CAAC,CAAC;IACrE,IAAA,sBAAa,EAAC,OAAO,EAAE,cAAK,CAAC,6BAA6B,EAAE,yCAAgC,CAAC,CAAC;IAC9F,IAAA,sBAAa,EAAC,OAAO,EAAE,cAAK,CAAC,wBAAwB,EAAE,6CAAoC,CAAC,CAAC;IAC7F,IAAI,CAAC,cAAK,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,oCAA2B,CAAC,CAAC,gBAAgB,EAAE,CAAC;IACnF,IAAA,sCAA6B,EAAC,OAAO,CAAC,CAAC;IACvC,IAAA,8BAAqB,EAAC,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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.6.0-next.
|
|
43
|
+
"@eclipse-glsp/client": "2.6.0-next.12+acbf000",
|
|
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": "acbf000fc0503af38a3f9f8a221537643aaa614b"
|
|
53
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019-
|
|
2
|
+
* Copyright (c) 2019-2025 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
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
GLabelView,
|
|
31
31
|
IHelperLineOptions,
|
|
32
32
|
LogLevel,
|
|
33
|
+
NoOverlapMovementRestrictor,
|
|
33
34
|
RectangularNodeView,
|
|
34
35
|
RevealNamedElementActionProvider,
|
|
35
36
|
RoundedCornerNodeView,
|
|
@@ -64,7 +65,7 @@ export const workflowDiagramModule = new FeatureModule(
|
|
|
64
65
|
bindOrRebind(context, TYPES.LogLevel).toConstantValue(LogLevel.warn);
|
|
65
66
|
bindAsService(context, TYPES.ICommandPaletteActionProvider, RevealNamedElementActionProvider);
|
|
66
67
|
bindAsService(context, TYPES.IContextMenuItemProvider, DeleteElementContextMenuItemProvider);
|
|
67
|
-
|
|
68
|
+
bind(TYPES.IMovementRestrictor).to(NoOverlapMovementRestrictor).inSingletonScope();
|
|
68
69
|
configureDefaultModelElements(context);
|
|
69
70
|
configureModelElement(context, 'task:automated', TaskNode, RoundedCornerNodeView);
|
|
70
71
|
configureModelElement(context, 'task:manual', TaskNode, RoundedCornerNodeView);
|