@eclipse-glsp-examples/workflow-glsp 0.9.0-next.f54fd689 → 0.9.0

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/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. It contains the base code that is independent from the actual application framework and integration variant. 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.
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/). 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/).
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
  ![alt](https://www.eclipse.org/glsp/images/diagramanimated.gif)
14
-
package/css/diagram.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /********************************************************************************
2
- * Copyright (c) 2019 EclipseSource and others.
2
+ * Copyright (c) 2019-2021 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
@@ -26,7 +26,7 @@
26
26
 
27
27
  .sprotty-text {
28
28
  font-size: 12pt;
29
- text-anchor: middle
29
+ text-anchor: middle;
30
30
  }
31
31
 
32
32
  .sprotty-node {
@@ -35,12 +35,11 @@
35
35
  }
36
36
 
37
37
  .sprotty-node.mouseover:not(.selected) {
38
- stroke-width: 3;
38
+ stroke-width: 2;
39
39
  }
40
40
 
41
41
  .sprotty-comp {
42
42
  line-height: 3px;
43
- font-weight: normal;
44
43
  text-align: left;
45
44
  }
46
45
 
@@ -53,16 +52,18 @@
53
52
  }
54
53
 
55
54
  .sprotty-label.heading {
56
- font-weight: bold;
55
+ font-weight: normal;
57
56
  }
58
57
 
59
58
  .sprotty-icon {
60
- fill: black;
61
- stroke-width: 0;
59
+ stroke: black;
60
+ stroke-width: 0.5;
61
+ fill: #ffffff;
62
+ opacity: 0.5;
62
63
  }
63
64
 
64
65
  .sprotty-label.icon {
65
- fill: #fff;
66
+ fill: black;
66
67
  }
67
68
 
68
69
  .sprotty-button {
@@ -72,33 +73,33 @@
72
73
 
73
74
  .sprotty-edge {
74
75
  fill: none;
75
- stroke-width: 2px;
76
+ stroke-width: 1px;
76
77
  }
77
78
 
78
79
  .sprotty-edge.selected {
79
- stroke-width: 4px;
80
+ stroke-width: 3px;
80
81
  }
81
82
 
82
83
  .sprotty-edge.mouseover:not(.selected) {
83
- stroke-width: 3px;
84
+ stroke-width: 2px;
84
85
  }
85
86
 
86
- .sprotty-edge>.sprotty-routing-handle {
87
+ .sprotty-edge > .sprotty-routing-handle {
87
88
  r: 7px;
88
89
  fill: #884;
89
90
  stroke: none;
90
91
  z-index: 1000;
91
92
  }
92
93
 
93
- .sprotty-edge>.sprotty-routing-handle[data-kind='line'] {
94
+ .sprotty-edge > .sprotty-routing-handle[data-kind='line'] {
94
95
  opacity: 0.35;
95
96
  }
96
97
 
97
- .sprotty-edge>.sprotty-routing-handle.selected {
98
+ .sprotty-edge > .sprotty-routing-handle.selected {
98
99
  fill: #66a;
99
100
  }
100
101
 
101
- .sprotty-edge>.sprotty-routing-handle.mouseover {
102
+ .sprotty-edge > .sprotty-routing-handle.mouseover {
102
103
  stroke: #112;
103
104
  stroke-width: 1;
104
105
  }
@@ -115,11 +116,20 @@
115
116
  stroke-width: 1px;
116
117
  }
117
118
 
118
- .sprotty-node.task.automated {
119
- fill: gray;
119
+ .sprotty-node.marquee {
120
+ fill: lightgray;
121
+ opacity: 0.2;
120
122
  }
121
123
 
122
- .sprotty-node.task.manual {
124
+ .task.automated > .sprotty-node {
125
+ fill: lightgray;
126
+ }
127
+
128
+ .task.manual > .sprotty-node {
129
+ fill: lightblue;
130
+ }
131
+
132
+ .category > .sprotty-node {
123
133
  fill: lightblue;
124
134
  }
125
135
 
@@ -132,24 +142,30 @@ text {
132
142
  text-anchor: middle;
133
143
  }
134
144
 
135
- .sprotty-edge.weighted.low, .sprotty-edge.weighted.low .arrow {
136
- stroke: lightblue
145
+ .sprotty-edge.weighted.low,
146
+ .sprotty-edge.weighted.low .arrow {
147
+ stroke: lightblue;
137
148
  }
138
149
 
139
150
  .sprotty-edge.weighted.low .arrow {
140
151
  fill: lightblue;
141
152
  }
142
153
 
143
- .sprotty-edge.weighted, .sprotty-edge.weighted .arrow, .sprotty-edge.weighted.medium, .sprotty-edge.weighted.medium .arrow {
144
- stroke: rgb(53, 53, 226);
154
+ .sprotty-edge.weighted,
155
+ .sprotty-edge.weighted .arrow,
156
+ .sprotty-edge.weighted.medium,
157
+ .sprotty-edge.weighted.medium .arrow {
158
+ stroke: #007fd4;
145
159
  }
146
160
 
147
- .sprotty-edge.weighted .arrow, .sprotty-edge.weighted.medium .arrow {
148
- fill: rgb(53, 53, 226);
161
+ .sprotty-edge.weighted .arrow,
162
+ .sprotty-edge.weighted.medium .arrow {
163
+ fill: #007fd4;
149
164
  }
150
165
 
151
- .sprotty-edge.weighted.high, .sprotty-edge.weighted.high .arrow {
152
- stroke: darkblue
166
+ .sprotty-edge.weighted.high,
167
+ .sprotty-edge.weighted.high .arrow {
168
+ stroke: darkblue;
153
169
  }
154
170
 
155
171
  .sprotty-edge.weighted.high .arrow {
@@ -162,7 +178,16 @@ polygon.sprotty-node {
162
178
  }
163
179
 
164
180
  .sprotty-node.selected {
165
- stroke-width: 4;
181
+ stroke-width: 3px;
182
+ }
183
+
184
+ .sprotty-comp {
185
+ stroke: transparent;
186
+ fill: transparent;
187
+ }
188
+
189
+ .sprotty-comp.debug {
190
+ stroke: deepskyblue;
166
191
  }
167
192
 
168
193
  svg {
@@ -176,23 +201,23 @@ svg {
176
201
  margin-left: -5px;
177
202
  }
178
203
 
179
- g .movement-not-allowed>.sprotty-node {
180
- stroke: var(--glsp-error-foreground)!important;
204
+ g .movement-not-allowed > .sprotty-node {
205
+ stroke: var(--glsp-error-foreground) !important;
181
206
  }
182
207
 
183
208
  .sprotty-resize-handle.movement-not-allowed {
184
- stroke: var(--glsp-error-foreground)!important;
185
- fill: var(--glsp-error-foreground)!important;
209
+ stroke: var(--glsp-error-foreground) !important;
210
+ fill: var(--glsp-error-foreground) !important;
186
211
  }
187
212
 
188
- .error>.sprotty-node {
189
- stroke: var(--glsp-error-foreground)!important;
213
+ .error > .sprotty-node {
214
+ stroke: var(--glsp-error-foreground) !important;
190
215
  }
191
216
 
192
- .warning>.sprotty-node {
193
- stroke: var(--glsp-warning-foreground)!important;
217
+ .warning > .sprotty-node {
218
+ stroke: var(--glsp-warning-foreground) !important;
194
219
  }
195
220
 
196
- .info>.sprotty-node {
197
- stroke: var(--glsp-info-foreground)!important;
221
+ .info > .sprotty-node {
222
+ stroke: var(--glsp-info-foreground) !important;
198
223
  }
@@ -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
- import "balloon-css/balloon.min.css";
18
- import "sprotty/css/edit-label.css";
19
- import { Container } from "inversify";
1
+ import 'balloon-css/balloon.min.css';
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
@@ -1 +1 @@
1
- {"version":3,"file":"di.config.d.ts","sourceRoot":"","sources":["../src/di.config.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;kFAckF;AAClF,OAAO,oBAAoB,CAAC;AAC5B,OAAO,6BAA6B,CAAC;AACrC,OAAO,4BAA4B,CAAC;AA8DpC,OAAO,EAAE,SAAS,EAAmB,MAAM,WAAW,CAAC;AAmCvD,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAgBnE"}
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,49 +15,44 @@ 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("../css/diagram.css");
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
- var client_1 = require("@eclipse-glsp/client");
22
- var inversify_1 = require("inversify");
23
- var di_config_1 = require("./direct-task-editing/di.config");
24
- var model_1 = require("./model");
25
- var workflow_views_1 = require("./workflow-views");
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
- var context = { bind: bind, unbind: unbind, isBound: isBound, rebind: rebind };
34
- client_1.configureModelElement(context, 'graph', client_1.GLSPGraph, client_1.SGraphView);
35
- client_1.configureModelElement(context, 'task:automated', model_1.TaskNode, workflow_views_1.TaskNodeView);
36
- client_1.configureModelElement(context, 'task:manual', model_1.TaskNode, workflow_views_1.TaskNodeView);
33
+ const context = { bind, unbind, isBound, rebind };
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
37
  client_1.configureModelElement(context, 'label:heading', client_1.SLabel, client_1.SLabelView, { enable: [client_1.editLabelFeature] });
38
38
  client_1.configureModelElement(context, 'comp:comp', client_1.SCompartment, client_1.SCompartmentView);
39
39
  client_1.configureModelElement(context, 'comp:header', client_1.SCompartment, client_1.SCompartmentView);
40
40
  client_1.configureModelElement(context, 'label:icon', client_1.SLabel, client_1.SLabelView);
41
- client_1.configureModelElement(context, 'html', client_1.HtmlRoot, client_1.HtmlRootView);
42
- client_1.configureModelElement(context, 'pre-rendered', client_1.PreRenderedElement, client_1.PreRenderedView);
43
- client_1.configureModelElement(context, 'button:expand', client_1.SButton, client_1.ExpandButtonView);
44
- client_1.configureModelElement(context, 'routing-point', client_1.SRoutingHandle, client_1.SRoutingHandleView);
45
- client_1.configureModelElement(context, 'volatile-routing-point', client_1.SRoutingHandle, client_1.SRoutingHandleView);
46
- client_1.configureModelElement(context, 'edge', client_1.SEdge, workflow_views_1.WorkflowEdgeView);
47
- client_1.configureModelElement(context, 'edge:weighted', model_1.WeightedEdge, workflow_views_1.WeightedEdgeView);
41
+ client_1.configureModelElement(context, protocol_1.DefaultTypes.EDGE, client_1.SEdge, workflow_views_1.WorkflowEdgeView);
42
+ client_1.configureModelElement(context, 'edge:weighted', model_1.WeightedEdge, workflow_views_1.WorkflowEdgeView);
48
43
  client_1.configureModelElement(context, 'icon', model_1.Icon, workflow_views_1.IconView);
49
44
  client_1.configureModelElement(context, 'activityNode:merge', model_1.ActivityNode, client_1.DiamondNodeView);
50
45
  client_1.configureModelElement(context, 'activityNode:decision', model_1.ActivityNode, client_1.DiamondNodeView);
51
- client_1.configureModelElement(context, 'activityNode:fork', model_1.ActivityNode, workflow_views_1.ForkOrJoinNodeView);
52
- client_1.configureModelElement(context, 'activityNode:join', model_1.ActivityNode, workflow_views_1.ForkOrJoinNodeView);
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);
48
+ client_1.configureModelElement(context, 'category', model_1.CategoryNode, client_1.RoundedCornerNodeView);
49
+ client_1.configureModelElement(context, 'struct', client_1.SCompartment, client_1.StructureCompartmentView);
53
50
  });
54
51
  function createContainer(widgetId) {
55
- var container = new inversify_1.Container();
56
- container.load(client_1.validationModule, client_1.defaultModule, client_1.glspMouseToolModule, client_1.defaultGLSPModule, client_1.glspSelectModule, client_1.boundsModule, client_1.viewportModule, client_1.toolsModule, client_1.glspHoverModule, client_1.fadeModule, client_1.exportModule, client_1.expandModule, client_1.openModule, client_1.buttonModule, client_1.modelSourceModule, client_1.labelEditUiModule, client_1.glspEditLabelModule, workflowDiagramModule, client_1.toolFeedbackModule, client_1.modelHintsModule, client_1.glspContextMenuModule, client_1.glspServerCopyPasteModule, client_1.modelSourceWatcherModule, client_1.glspCommandPaletteModule, client_1.paletteModule, client_1.routingModule, client_1.glspDecorationModule, client_1.edgeLayoutModule, client_1.zorderModule, client_1.layoutCommandsModule, di_config_1.directTaskEditor, client_1.navigationModule, client_1.markerNavigatorModule);
52
+ const container = client_1.createClientContainer(workflowDiagramModule, di_config_1.directTaskEditor);
57
53
  client_1.overrideViewerOptions(container, {
58
54
  baseDiv: widgetId,
59
- hiddenDiv: widgetId + "_hidden",
60
- needsClientLayout: true
55
+ hiddenDiv: widgetId + '_hidden'
61
56
  });
62
57
  return container;
63
58
  }
@@ -1 +1 @@
1
- {"version":3,"file":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,EAAE,MAAM,EAAE,YAAI,EAAE,yBAAQ,CAAC,CAAC;IACvD,8BAAqB,CAAC,OAAO,EAAE,oBAAoB,EAAE,oBAAY,EAAE,wBAAe,CAAC,CAAC;IACpF,8BAAqB,CAAC,OAAO,EAAE,uBAAuB,EAAE,oBAAY,EAAE,wBAAe,CAAC,CAAC;IACvF,8BAAqB,CAAC,OAAO,EAAE,mBAAmB,EAAE,oBAAY,EAAE,4BAAmB,CAAC,CAAC;IACvF,8BAAqB,CAAC,OAAO,EAAE,mBAAmB,EAAE,oBAAY,EAAE,4BAAmB,CAAC,CAAC;IAEvF,8BAAqB,CAAC,OAAO,EAAE,UAAU,EAAE,oBAAY,EAAE,8BAAqB,CAAC,CAAC;IAChF,8BAAqB,CAAC,OAAO,EAAE,QAAQ,EAAE,qBAAY,EAAE,iCAAwB,CAAC,CAAC;AACrF,CAAC,CAAC,CAAC;AAEH,SAAwB,eAAe,CAAC,QAAgB;IACpD,MAAM,SAAS,GAAG,8BAAqB,CAAC,qBAAqB,EAAE,4BAAgB,CAAC,CAAC;IACjF,8BAAqB,CAAC,SAAS,EAAE;QAC7B,OAAO,EAAE,QAAQ;QACjB,SAAS,EAAE,QAAQ,GAAG,SAAS;KAClC,CAAC,CAAC;IACH,OAAO,SAAS,CAAC;AACrB,CAAC;AAPD,kCAOC"}
@@ -13,6 +13,6 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { ContainerModule } from "inversify";
16
+ import { ContainerModule } from 'inversify';
17
17
  export declare const directTaskEditor: ContainerModule;
18
18
  //# sourceMappingURL=di.config.d.ts.map
@@ -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
- var inversify_1 = require("inversify");
20
- var sprotty_1 = require("sprotty");
21
- var direct_task_editor_1 = require("./direct-task-editor");
22
- exports.directTaskEditor = new inversify_1.ContainerModule(function (bind, _unbind, isBound) {
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,uCAA4C;AAC5C,mCAAgC;AAEhC,2DAAkD;AAErC,QAAA,gBAAgB,GAAG,IAAI,2BAAe,CAAC,UAAC,IAAI,EAAE,OAAO,EAAE,OAAO;IACvE,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
+ {"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-2021 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
@@ -13,9 +13,9 @@
13
13
  *
14
14
  * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
15
15
  ********************************************************************************/
16
- import { AbstractUIExtension, Action, AutoCompleteWidget, EditorContextService, GLSPActionDispatcher, ILogger, LabeledAction, SModelRoot, ValidationStatus, ViewerOptions } from "@eclipse-glsp/client";
17
- import { DOMHelper } from "sprotty/lib/base/views/dom-helper";
18
- import { TaskNode } from "../model";
16
+ import { AbstractUIExtension, Action, AutoCompleteWidget, EditorContextService, GLSPActionDispatcher, ILogger, LabeledAction, SModelRoot, ValidationStatus, ViewerOptions } from '@eclipse-glsp/client';
17
+ import { DOMHelper } from 'sprotty/lib/base/views/dom-helper';
18
+ import { TaskNode } from '../model';
19
19
  export declare class ApplyTaskEditOperation implements Action {
20
20
  readonly taskId: string;
21
21
  readonly expression: string;
@@ -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;AAClF,OAAO,EACH,mBAAmB,EACnB,MAAM,EACN,kBAAkB,EAClB,oBAAoB,EAEpB,oBAAoB,EACpB,OAAO,EAGP,aAAa,EAIb,UAAU,EAGV,gBAAgB,EAChB,aAAa,EAChB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAE9D,OAAO,EAAc,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEhD,qBAAa,sBAAuB,YAAW,MAAM;IAGrC,QAAQ,CAAC,MAAM,EAAE,MAAM;IAAE,QAAQ,CAAC,UAAU,EAAE,MAAM;IAFhE,MAAM,CAAC,QAAQ,CAAC,IAAI,mBAAmB;IACvC,QAAQ,C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