@eclipse-glsp-examples/workflow-glsp 0.9.0-rc-01 → 0.10.0-next.146a812.165
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/LICENSE +642 -277
- package/README.md +6 -4
- package/css/diagram.css +38 -135
- package/lib/di.config.d.ts +2 -17
- package/lib/di.config.d.ts.map +1 -1
- package/lib/di.config.js +28 -27
- package/lib/di.config.js.map +1 -1
- package/lib/direct-task-editing/di.config.js +4 -4
- package/lib/direct-task-editing/di.config.js.map +1 -1
- package/lib/direct-task-editing/direct-task-editor.d.ts +1 -1
- package/lib/direct-task-editing/direct-task-editor.d.ts.map +1 -1
- package/lib/direct-task-editing/direct-task-editor.js +89 -189
- package/lib/direct-task-editing/direct-task-editor.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/lib/model.d.ts +7 -2
- package/lib/model.d.ts.map +1 -1
- package/lib/model.js +71 -69
- package/lib/model.js.map +1 -1
- package/lib/workflow-views.d.ts +7 -7
- package/lib/workflow-views.d.ts.map +1 -1
- package/lib/workflow-views.js +52 -50
- package/lib/workflow-views.js.map +1 -1
- package/package.json +9 -20
- package/scripts/download.ts +19 -16
- package/src/di.config.ts +14 -53
- package/src/direct-task-editing/direct-task-editor.ts +19 -18
- package/src/index.ts +1 -2
- package/src/model.ts +51 -15
- package/src/workflow-views.tsx +57 -22
package/README.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# workflow-glsp
|
|
2
2
|
|
|
3
|
-
This package contains the configuration for the GLSP diagrams of the Workflow example language.
|
|
3
|
+
This package contains the configuration for the GLSP diagrams of the Workflow example language.
|
|
4
|
+
It contains the base code that is independent from the actual application framework and integration variant.
|
|
5
|
+
Separating this base configuration and the actual integration code means that it can be reused for various different integration variants of the GLSP Workflow example language e.g in a Theia application, Standalone application, VS Code plugin or integrated into the Eclipse IDE.
|
|
4
6
|
|
|
5
7
|
## Building
|
|
6
|
-
This package is built with `yarn` and is available from npm via [@eclipse-glsp-examples/workflow-glsp](https://www.npmjs.com/package/@eclipse-glsp-examples/worfklow-glsp)
|
|
7
8
|
|
|
9
|
+
This package is built with `yarn` and is available from npm via [@eclipse-glsp-examples/workflow-glsp](https://www.npmjs.com/package/@eclipse-glsp-examples/worfklow-glsp)
|
|
8
10
|
|
|
9
11
|
## More information
|
|
10
12
|
|
|
11
|
-
For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
|
|
13
|
+
For more information, please visit the [Eclipse GLSP Umbrella repository](https://github.com/eclipse-glsp/glsp) and the [Eclipse GLSP Website](https://www.eclipse.org/glsp/).
|
|
14
|
+
If you have questions, contact us on our [spectrum chat](https://spectrum.chat/glsp/) and have a look at our [communication and support options](https://www.eclipse.org/glsp/contact/).
|
|
12
15
|
|
|
13
16
|

|
|
14
|
-
|
package/css/diagram.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019 EclipseSource and others.
|
|
2
|
+
* Copyright (c) 2019-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
|
|
@@ -20,13 +20,9 @@
|
|
|
20
20
|
height: 100%;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.sprotty-popup {
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
23
|
.sprotty-text {
|
|
28
24
|
font-size: 12pt;
|
|
29
|
-
text-anchor: middle
|
|
25
|
+
text-anchor: middle;
|
|
30
26
|
}
|
|
31
27
|
|
|
32
28
|
.sprotty-node {
|
|
@@ -34,16 +30,6 @@
|
|
|
34
30
|
font-weight: bold;
|
|
35
31
|
}
|
|
36
32
|
|
|
37
|
-
.sprotty-node.mouseover:not(.selected) {
|
|
38
|
-
stroke-width: 3;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.sprotty-comp {
|
|
42
|
-
line-height: 3px;
|
|
43
|
-
font-weight: normal;
|
|
44
|
-
text-align: left;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
33
|
.sprotty-label {
|
|
48
34
|
stroke-width: 0;
|
|
49
35
|
fill: #000;
|
|
@@ -53,151 +39,68 @@
|
|
|
53
39
|
}
|
|
54
40
|
|
|
55
41
|
.sprotty-label.heading {
|
|
56
|
-
font-weight:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.sprotty-icon {
|
|
60
|
-
fill: black;
|
|
61
|
-
stroke-width: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.sprotty-label.icon {
|
|
65
|
-
fill: #fff;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
font-size: 0.7em;
|
|
44
|
+
fill: #f0f3f8;
|
|
66
45
|
}
|
|
67
46
|
|
|
68
|
-
.
|
|
69
|
-
fill: #152;
|
|
47
|
+
.icon path {
|
|
70
48
|
stroke-width: 0;
|
|
49
|
+
fill: #f0f3f8;
|
|
71
50
|
}
|
|
72
51
|
|
|
73
|
-
.
|
|
74
|
-
fill:
|
|
75
|
-
stroke-width: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.sprotty-edge.selected {
|
|
79
|
-
stroke-width: 4px;
|
|
52
|
+
.icon .icon-background {
|
|
53
|
+
fill: transparent;
|
|
80
54
|
}
|
|
81
55
|
|
|
82
|
-
.sprotty-
|
|
83
|
-
|
|
56
|
+
.task.automated > .sprotty-node {
|
|
57
|
+
fill: #5b9fa8;
|
|
84
58
|
}
|
|
85
59
|
|
|
86
|
-
.sprotty-
|
|
87
|
-
|
|
88
|
-
fill: #884;
|
|
89
|
-
stroke: none;
|
|
90
|
-
z-index: 1000;
|
|
60
|
+
.task.manual > .sprotty-node {
|
|
61
|
+
fill: #db8651;
|
|
91
62
|
}
|
|
92
63
|
|
|
93
|
-
.sprotty-
|
|
94
|
-
|
|
64
|
+
.category > .sprotty-node {
|
|
65
|
+
fill: #5c87bd;
|
|
95
66
|
}
|
|
96
67
|
|
|
97
|
-
.sprotty-edge
|
|
98
|
-
|
|
68
|
+
.sprotty-edge.weighted.low:not(.selected),
|
|
69
|
+
.sprotty-edge.weighted.low:not(.selected) .arrow {
|
|
70
|
+
stroke: rgb(128, 90, 233);
|
|
99
71
|
}
|
|
100
72
|
|
|
101
|
-
.sprotty-edge
|
|
102
|
-
|
|
103
|
-
stroke-width: 1;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.sprotty-missing {
|
|
107
|
-
stroke-width: 1;
|
|
108
|
-
stroke: #f00;
|
|
109
|
-
fill: #f00;
|
|
110
|
-
font-size: 14pt;
|
|
111
|
-
text-anchor: middle;
|
|
73
|
+
.sprotty-edge.weighted.low:not(.selected) .arrow {
|
|
74
|
+
fill: rgb(128, 90, 233);
|
|
112
75
|
}
|
|
113
76
|
|
|
114
|
-
.sprotty-
|
|
115
|
-
|
|
77
|
+
.sprotty-edge.weighted:not(.selected),
|
|
78
|
+
.sprotty-edge.weighted:not(.selected) .arrow,
|
|
79
|
+
.sprotty-edge.weighted.medium:not(.selected),
|
|
80
|
+
.sprotty-edge.weighted.medium:not(.selected) .arrow {
|
|
81
|
+
stroke: rgb(98, 60, 193);
|
|
116
82
|
}
|
|
117
83
|
|
|
118
|
-
.sprotty-
|
|
119
|
-
|
|
120
|
-
|
|
84
|
+
.sprotty-edge.weighted:not(.selected) .arrow,
|
|
85
|
+
.sprotty-edge.weighted.medium:not(.selected) .arrow {
|
|
86
|
+
fill: rgb(98, 60, 193);
|
|
121
87
|
}
|
|
122
88
|
|
|
123
|
-
.
|
|
124
|
-
|
|
89
|
+
.sprotty-edge.weighted.high:not(.selected),
|
|
90
|
+
.sprotty-edge.weighted.high:not(.selected) .arrow {
|
|
91
|
+
stroke: rgb(68, 30, 163);
|
|
125
92
|
}
|
|
126
93
|
|
|
127
|
-
.
|
|
128
|
-
fill:
|
|
94
|
+
.sprotty-edge.weighted.high:not(.selected) .arrow {
|
|
95
|
+
fill: rgb(68, 30, 163);
|
|
129
96
|
}
|
|
130
97
|
|
|
131
|
-
|
|
132
|
-
stroke
|
|
133
|
-
|
|
134
|
-
fill: #000;
|
|
135
|
-
font-family: sans-serif;
|
|
136
|
-
font-size: 8pt;
|
|
137
|
-
text-anchor: middle;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.sprotty-edge.weighted.low, .sprotty-edge.weighted.low .arrow {
|
|
141
|
-
stroke: lightblue
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.sprotty-edge.weighted.low .arrow {
|
|
145
|
-
fill: lightblue;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.sprotty-edge.weighted, .sprotty-edge.weighted .arrow, .sprotty-edge.weighted.medium, .sprotty-edge.weighted.medium .arrow {
|
|
149
|
-
stroke: rgb(53, 53, 226);
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.sprotty-edge.weighted .arrow, .sprotty-edge.weighted.medium .arrow {
|
|
153
|
-
fill: rgb(53, 53, 226);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.sprotty-edge.weighted.high, .sprotty-edge.weighted.high .arrow {
|
|
157
|
-
stroke: darkblue
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.sprotty-edge.weighted.high .arrow {
|
|
161
|
-
fill: darkblue;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
polygon.sprotty-node {
|
|
165
|
-
fill: white;
|
|
166
|
-
stroke-width: 1pt;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.sprotty-node.selected {
|
|
170
|
-
stroke-width: 4;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
svg {
|
|
174
|
-
border-style: solid;
|
|
175
|
-
border-width: 1px;
|
|
176
|
-
border-color: #bbb;
|
|
98
|
+
.sprotty-comp {
|
|
99
|
+
stroke: transparent;
|
|
100
|
+
fill: transparent;
|
|
177
101
|
}
|
|
178
102
|
|
|
179
103
|
.label-edit input {
|
|
180
|
-
margin-top: -
|
|
181
|
-
margin-left: -
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
g .movement-not-allowed>.sprotty-node {
|
|
185
|
-
stroke: var(--glsp-error-foreground)!important;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.sprotty-resize-handle.movement-not-allowed {
|
|
189
|
-
stroke: var(--glsp-error-foreground)!important;
|
|
190
|
-
fill: var(--glsp-error-foreground)!important;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
.error>.sprotty-node {
|
|
194
|
-
stroke: var(--glsp-error-foreground)!important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.warning>.sprotty-node {
|
|
198
|
-
stroke: var(--glsp-warning-foreground)!important;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.info>.sprotty-node {
|
|
202
|
-
stroke: var(--glsp-info-foreground)!important;
|
|
104
|
+
margin-top: -3px;
|
|
105
|
+
margin-left: -3px;
|
|
203
106
|
}
|
package/lib/di.config.d.ts
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2019 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 '../css/diagram.css';
|
|
17
1
|
import 'balloon-css/balloon.min.css';
|
|
18
|
-
import 'sprotty/css/edit-label.css';
|
|
19
2
|
import { Container } from 'inversify';
|
|
3
|
+
import 'sprotty/css/edit-label.css';
|
|
4
|
+
import '../css/diagram.css';
|
|
20
5
|
export default function createContainer(widgetId: string): Container;
|
|
21
6
|
//# sourceMappingURL=di.config.d.ts.map
|
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":"AAsCA,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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/********************************************************************************
|
|
4
|
-
* Copyright (c) 2019 EclipseSource and others.
|
|
4
|
+
* Copyright (c) 2019-2021 EclipseSource and others.
|
|
5
5
|
*
|
|
6
6
|
* This program and the accompanying materials are made available under the
|
|
7
7
|
* terms of the Eclipse Public License v. 2.0 which is available at
|
|
@@ -15,41 +15,42 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
*
|
|
16
16
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
17
17
|
********************************************************************************/
|
|
18
|
-
require("
|
|
18
|
+
const client_1 = require("@eclipse-glsp/client");
|
|
19
|
+
const protocol_1 = require("@eclipse-glsp/protocol");
|
|
19
20
|
require("balloon-css/balloon.min.css");
|
|
21
|
+
const inversify_1 = require("inversify");
|
|
20
22
|
require("sprotty/css/edit-label.css");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var workflowDiagramModule = new inversify_1.ContainerModule(function (bind, unbind, isBound, rebind) {
|
|
23
|
+
require("../css/diagram.css");
|
|
24
|
+
const di_config_1 = require("./direct-task-editing/di.config");
|
|
25
|
+
const model_1 = require("./model");
|
|
26
|
+
const workflow_views_1 = require("./workflow-views");
|
|
27
|
+
const workflowDiagramModule = new inversify_1.ContainerModule((bind, unbind, isBound, rebind) => {
|
|
27
28
|
rebind(client_1.TYPES.ILogger).to(client_1.ConsoleLogger).inSingletonScope();
|
|
28
29
|
rebind(client_1.TYPES.LogLevel).toConstantValue(client_1.LogLevel.warn);
|
|
29
|
-
bind(client_1.GLSP_TYPES.IMovementRestrictor).to(client_1.NoOverlapMovmentRestrictor).inSingletonScope();
|
|
30
30
|
bind(client_1.TYPES.ISnapper).to(client_1.GridSnapper);
|
|
31
31
|
bind(client_1.TYPES.ICommandPaletteActionProvider).to(client_1.RevealNamedElementActionProvider);
|
|
32
32
|
bind(client_1.TYPES.IContextMenuItemProvider).to(client_1.DeleteElementContextMenuItemProvider);
|
|
33
|
-
|
|
34
|
-
client_1.configureDefaultModelElements(context);
|
|
35
|
-
client_1.configureModelElement(context, 'task:automated', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
36
|
-
client_1.configureModelElement(context, 'task:manual', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
37
|
-
client_1.configureModelElement(context, 'label:heading', client_1.SLabel, client_1.SLabelView, { enable: [client_1.editLabelFeature] });
|
|
38
|
-
client_1.configureModelElement(context, 'comp:comp', client_1.SCompartment, client_1.SCompartmentView);
|
|
39
|
-
client_1.configureModelElement(context, 'comp:header', client_1.SCompartment, client_1.SCompartmentView);
|
|
40
|
-
client_1.configureModelElement(context, 'label:icon', client_1.SLabel, client_1.SLabelView);
|
|
41
|
-
client_1.configureModelElement(context,
|
|
42
|
-
client_1.configureModelElement(context, 'edge:weighted', model_1.WeightedEdge, workflow_views_1.WorkflowEdgeView);
|
|
43
|
-
client_1.configureModelElement(context, 'icon', model_1.Icon, workflow_views_1.IconView);
|
|
44
|
-
client_1.configureModelElement(context, 'activityNode:merge', model_1.ActivityNode, client_1.DiamondNodeView);
|
|
45
|
-
client_1.configureModelElement(context, 'activityNode:decision', model_1.ActivityNode, client_1.DiamondNodeView);
|
|
46
|
-
client_1.configureModelElement(context, 'activityNode:fork', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
47
|
-
client_1.configureModelElement(context, 'activityNode:join', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
33
|
+
const context = { bind, unbind, isBound, rebind };
|
|
34
|
+
(0, client_1.configureDefaultModelElements)(context);
|
|
35
|
+
(0, client_1.configureModelElement)(context, 'task:automated', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
36
|
+
(0, client_1.configureModelElement)(context, 'task:manual', model_1.TaskNode, client_1.RoundedCornerNodeView);
|
|
37
|
+
(0, client_1.configureModelElement)(context, 'label:heading', client_1.SLabel, client_1.SLabelView, { enable: [client_1.editLabelFeature] });
|
|
38
|
+
(0, client_1.configureModelElement)(context, 'comp:comp', client_1.SCompartment, client_1.SCompartmentView);
|
|
39
|
+
(0, client_1.configureModelElement)(context, 'comp:header', client_1.SCompartment, client_1.SCompartmentView);
|
|
40
|
+
(0, client_1.configureModelElement)(context, 'label:icon', client_1.SLabel, client_1.SLabelView);
|
|
41
|
+
(0, client_1.configureModelElement)(context, protocol_1.DefaultTypes.EDGE, client_1.SEdge, workflow_views_1.WorkflowEdgeView);
|
|
42
|
+
(0, client_1.configureModelElement)(context, 'edge:weighted', model_1.WeightedEdge, workflow_views_1.WorkflowEdgeView);
|
|
43
|
+
(0, client_1.configureModelElement)(context, 'icon', model_1.Icon, workflow_views_1.IconView);
|
|
44
|
+
(0, client_1.configureModelElement)(context, 'activityNode:merge', model_1.ActivityNode, client_1.DiamondNodeView);
|
|
45
|
+
(0, client_1.configureModelElement)(context, 'activityNode:decision', model_1.ActivityNode, client_1.DiamondNodeView);
|
|
46
|
+
(0, client_1.configureModelElement)(context, 'activityNode:fork', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
47
|
+
(0, client_1.configureModelElement)(context, 'activityNode:join', model_1.ActivityNode, client_1.RectangularNodeView);
|
|
48
|
+
(0, client_1.configureModelElement)(context, 'category', model_1.CategoryNode, client_1.RoundedCornerNodeView);
|
|
49
|
+
(0, client_1.configureModelElement)(context, 'struct', client_1.SCompartment, client_1.StructureCompartmentView);
|
|
48
50
|
});
|
|
49
51
|
function createContainer(widgetId) {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
client_1.overrideViewerOptions(container, {
|
|
52
|
+
const container = (0, client_1.createClientContainer)(workflowDiagramModule, di_config_1.directTaskEditor);
|
|
53
|
+
(0, client_1.overrideViewerOptions)(container, {
|
|
53
54
|
baseDiv: widgetId,
|
|
54
55
|
hiddenDiv: widgetId + '_hidden'
|
|
55
56
|
});
|
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,iDAqB8B;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;I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E,IAAA,8BAAqB,EAAC,OAAO,EAAE,eAAe,EAAE,oBAAY,EAAE,iCAAgB,CAAC,CAAC;IAChF,IAAA,8BAAqB,EAAC,OAAO,EAAE,MAAM,EAAE,YAAI,EAAE,yBAAQ,CAAC,CAAC;IACvD,IAAA,8BAAqB,EAAC,OAAO,EAAE,oBAAoB,EAAE,oBAAY,EAAE,wBAAe,CAAC,CAAC;IACpF,IAAA,8BAAqB,EAAC,OAAO,EAAE,uBAAuB,EAAE,oBAAY,EAAE,wBAAe,CAAC,CAAC;IACvF,IAAA,8BAAqB,EAAC,OAAO,EAAE,mBAAmB,EAAE,oBAAY,EAAE,4BAAmB,CAAC,CAAC;IACvF,IAAA,8BAAqB,EAAC,OAAO,EAAE,mBAAmB,EAAE,oBAAY,EAAE,4BAAmB,CAAC,CAAC;IAEvF,IAAA,8BAAqB,EAAC,OAAO,EAAE,UAAU,EAAE,oBAAY,EAAE,8BAAqB,CAAC,CAAC;IAChF,IAAA,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"}
|
|
@@ -16,10 +16,10 @@ exports.directTaskEditor = void 0;
|
|
|
16
16
|
*
|
|
17
17
|
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
|
|
18
18
|
********************************************************************************/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
exports.directTaskEditor = new inversify_1.ContainerModule(
|
|
19
|
+
const inversify_1 = require("inversify");
|
|
20
|
+
const sprotty_1 = require("sprotty");
|
|
21
|
+
const direct_task_editor_1 = require("./direct-task-editor");
|
|
22
|
+
exports.directTaskEditor = new inversify_1.ContainerModule((bind, _unbind, isBound) => {
|
|
23
23
|
bind(direct_task_editor_1.TaskEditor).toSelf().inSingletonScope();
|
|
24
24
|
bind(sprotty_1.TYPES.IUIExtension).toService(direct_task_editor_1.TaskEditor);
|
|
25
25
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../../src/direct-task-editing/di.config.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,
|
|
1
|
+
{"version":3,"file":"di.config.js","sourceRoot":"","sources":["../../src/direct-task-editing/di.config.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;kFAckF;AAClF,yCAA4C;AAC5C,qCAAgC;AAEhC,6DAAkD;AAErC,QAAA,gBAAgB,GAAG,IAAI,2BAAe,CAAC,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE;IAC3E,IAAI,CAAC,+BAAU,CAAC,CAAC,MAAM,EAAE,CAAC,gBAAgB,EAAE,CAAC;IAC7C,IAAI,CAAC,eAAK,CAAC,YAAY,CAAC,CAAC,SAAS,CAAC,+BAAU,CAAC,CAAC;AACnD,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/********************************************************************************
|
|
2
|
-
* Copyright (c) 2020 EclipseSource and others.
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"direct-task-editor.d.ts","sourceRoot":"","sources":["../../src/direct-task-editing/direct-task-editor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AACl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