cpee 2.1.20 → 2.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/ui.css +1 -1
  3. data/cockpit/templates/Coopis 2010.xml +8 -3
  4. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +15 -8
  5. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +15 -8
  6. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +15 -8
  7. data/cockpit/templates/Track Test Local.xml +2 -1
  8. data/cockpit/templates/Track Test.xml +2 -1
  9. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +5 -0
  10. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +6 -8
  11. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +6 -8
  12. data/cockpit/templates/UR-VUE 2020 Solution View.xml +5 -8
  13. data/cockpit/templates/UR-VUE 2020.xml +1 -8
  14. data/cockpit/templates/Worklist.xml +3 -1
  15. data/cockpit/themes/compact/rngs/call.rng +110 -108
  16. data/cockpit/themes/compact/rngs/callmanipulate.rng +90 -87
  17. data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -7
  18. data/cockpit/themes/compact/theme.js +136 -118
  19. data/cockpit/themes/control/rngs/call.rng +110 -108
  20. data/cockpit/themes/control/rngs/callmanipulate.rng +90 -87
  21. data/cockpit/themes/control/rngs/parallel_branch.rng +1 -7
  22. data/cockpit/themes/control/theme.js +149 -131
  23. data/cockpit/themes/default/rngs/call.rng +110 -108
  24. data/cockpit/themes/default/rngs/callmanipulate.rng +90 -87
  25. data/cockpit/themes/default/rngs/parallel_branch.rng +1 -7
  26. data/cockpit/themes/default/theme.js +136 -118
  27. data/cockpit/themes/extended/rngs/call.rng +110 -108
  28. data/cockpit/themes/extended/rngs/callmanipulate.rng +90 -87
  29. data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -7
  30. data/cockpit/themes/extended/theme.js +136 -118
  31. data/cockpit/themes/model/rngs/call.rng +24 -22
  32. data/cockpit/themes/model/rngs/callmanipulate.rng +28 -26
  33. data/cockpit/themes/model/theme.js +114 -96
  34. data/cockpit/themes/packed/rngs/call.rng +110 -108
  35. data/cockpit/themes/packed/rngs/callmanipulate.rng +90 -87
  36. data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -7
  37. data/cockpit/themes/packed/theme.js +136 -118
  38. data/cockpit/themes/preset/rngs/call.rng +110 -108
  39. data/cockpit/themes/preset/rngs/callmanipulate.rng +90 -87
  40. data/cockpit/themes/preset/rngs/parallel_branch.rng +1 -7
  41. data/cockpit/themes/preset/theme.js +136 -118
  42. data/cpee.gemspec +2 -1
  43. data/server/executionhandlers/ruby/connection.rb +27 -12
  44. data/tools/cpee +13 -6
  45. metadata +16 -2
@@ -25,6 +25,67 @@
25
25
  </element>
26
26
  </zeroOrMore>
27
27
  </element>
28
+ </element>
29
+ <element name="code" rngui:header="Output Handling">
30
+ <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
31
+ <text rngui:label="Script that is executed, before a service call"/>
32
+ </element>
33
+ <element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
34
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
35
+ <data type="string" rngui:readonly="true"/>
36
+ </attribute>
37
+ <text rngui:label="Script that is executed, when a service returns data"/>
38
+ </element>
39
+ <element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
40
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
41
+ <data type="string" rngui:readonly="true"/>
42
+ </attribute>
43
+ <text rngui:label="Script that is executed, when a service sends intermediate data"/>
44
+ </element>
45
+ <element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
46
+ <attribute name="output" rngui:label="Access Variable" rngui:default="result">
47
+ <data type="string" rngui:readonly="true"/>
48
+ </attribute>
49
+ <text rngui:label="Script that is executed, if a service call fails"/>
50
+ </element>
51
+ </element>
52
+ <element name="annotations" rngui:header="Annotations">
53
+ <element name="_timing" rngui:header="Timing" rngui:fold="closed">
54
+ <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
55
+ <data type="float" rngui:label="[0,1]"/>
56
+ </element>
57
+ <element name="_timing_avg" rngui:label="Avg in min">
58
+ <data type="float" rngui:label="Minutes"/>
59
+ </element>
60
+ <element name="explanations" rngui:header="Explanations">
61
+ <zeroOrMore rngui:label="Add Explanation">
62
+ <element name="explanation">
63
+ <element name="type" rngui:label="Type">
64
+ <choice>
65
+ <value>&gt;</value>
66
+ <value>&lt;</value>
67
+ </choice>
68
+ </element>
69
+ <element name="deviation" rngui:label="Deviation">
70
+ <data type="float" rngui:label="Minutes"/>
71
+ </element>
72
+ <element name="behaviour" rngui:label="Behaviour">
73
+ <choice>
74
+ <value>Immediately</value>
75
+ <value>Wait until next</value>
76
+ <value>Use grace period value</value>
77
+ </choice>
78
+ </element>
79
+ <element name="grace" rngui:label="Grace Period" rngui:default="0.0">
80
+ <data type="float" rngui:label="Minutes"/>
81
+ </element>
82
+ <element name="text" rngui:label="Explanation">
83
+ <data type="string" rngui:label="Patterns"/>
84
+ </element>
85
+ </element>
86
+ </zeroOrMore>
87
+ </element>
88
+ </element>
28
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
29
90
 
30
91
  <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
@@ -127,101 +188,43 @@
127
188
  <data type="string" rngui:label="url to report snippet"/>
128
189
  </element>
129
190
  </element>
130
- </element>
131
- <element name="code" rngui:header="Output Handling">
132
- <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
133
- <text rngui:label="Script that is executed, before a service call"/>
134
- </element>
135
- <element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
136
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
137
- <data type="string" rngui:readonly="true"/>
138
- </attribute>
139
- <text rngui:label="Script that is executed, when a service returns data"/>
140
- </element>
141
- <element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
142
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
143
- <data type="string" rngui:readonly="true"/>
144
- </attribute>
145
- <text rngui:label="Script that is executed, when a service sends intermediate data"/>
146
- </element>
147
- <element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
148
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
149
- <data type="string" rngui:readonly="true"/>
150
- </attribute>
151
- <text rngui:label="Script that is executed, if a service call fails"/>
152
- </element>
153
- </element>
154
- <element name="annotations" rngui:header="Annotations">
155
- <element name="_timing" rngui:header="Timing" rngui:fold="closed">
156
- <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
157
- <data type="float" rngui:label="[0,1]"/>
158
- </element>
159
- <element name="_timing_avg" rngui:label="Avg in min">
160
- <data type="float" rngui:label="Minutes"/>
161
- </element>
162
- <element name="explanations" rngui:header="Explanations">
163
- <zeroOrMore rngui:label="Add Explanation">
164
- <element name="explanation">
165
- <element name="type" rngui:label="Type">
166
- <choice>
167
- <value>&gt;</value>
168
- <value>&lt;</value>
169
- </choice>
170
- </element>
171
- <element name="deviation" rngui:label="Deviation">
172
- <data type="float" rngui:label="Minutes"/>
173
- </element>
174
- <element name="behaviour" rngui:label="Behaviour">
175
- <choice>
176
- <value>Immediately</value>
177
- <value>Wait until next</value>
178
- <value>Use grace period value</value>
179
- </choice>
180
- </element>
181
- <element name="grace" rngui:label="Grace Period" rngui:default="0.0">
182
- <data type="float" rngui:label="Minutes"/>
183
- </element>
184
- <element name="text" rngui:label="Explanation">
185
- <data type="string" rngui:label="Patterns"/>
186
- </element>
187
- </element>
188
- </zeroOrMore>
189
- </element>
190
- </element>
191
191
  <element name="_notes" rngui:header="Notes" rngui:fold="closed">
192
192
  <element name="_notes_general" rngui:label="General">
193
193
  <text rngui:wrap="true" rngui:label="Notes"/>
194
194
  </element>
195
195
  </element>
196
196
  </element>
197
- <element name="input" rngui:header="Input Arguments Documentation" rngui:fold="closed">
198
- <zeroOrMore rngui:label="Create Argument">
199
- <element name="item" rngui:label="Description">
200
- <attribute name="label" rngui:label="Name">
201
- <data type="string"/>
202
- </attribute>
203
- <text rngui:wrap="true" rngui:label="What does it do?"/>
204
- </element>
205
- </zeroOrMore>
206
- </element>
207
- <element name="output" rngui:header="Output Elements Documentation" rngui:fold="closed">
208
- <zeroOrMore rngui:label="Create Element">
209
- <element name="item" rngui:label="Description">
210
- <attribute name="label" rngui:label="Name">
211
- <data type="string"/>
212
- </attribute>
213
- <text rngui:wrap="true" rngui:label="What does it do?"/>
197
+
198
+ <element name="input" rngui:header="Documentation">
199
+ <element name="input" rngui:header="Input Arguments" rngui:fold="closed">
200
+ <zeroOrMore rngui:label="Create Argument">
201
+ <element name="item" rngui:label="Description">
202
+ <attribute name="label" rngui:label="Name">
203
+ <data type="string"/>
204
+ </attribute>
205
+ <text rngui:wrap="true" rngui:label="What does it do?"/>
206
+ </element>
207
+ </zeroOrMore>
208
+ </element>
209
+ <element name="output" rngui:header="Output Elements" rngui:fold="closed">
210
+ <zeroOrMore rngui:label="Create Element">
211
+ <element name="item" rngui:label="Description">
212
+ <attribute name="label" rngui:label="Name">
213
+ <data type="string"/>
214
+ </attribute>
215
+ <text rngui:wrap="true" rngui:label="What does it do?"/>
216
+ </element>
217
+ </zeroOrMore>
218
+ </element>
219
+ <element name="implementation" rngui:header="Implementation" rngui:fold="closed">
220
+ <element name="description" rngui:label="Description">
221
+ <text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
214
222
  </element>
215
- </zeroOrMore>
216
- </element>
217
- <element name="implementation" rngui:header="Implementation Documentation" rngui:fold="closed">
218
- <element name="description" rngui:label="Description">
219
- <text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
220
223
  </element>
221
- </element>
222
- <element name="code" rngui:header="Output Handling Documentation" rngui:fold="closed">
223
- <element name="description" rngui:label="Description">
224
- <text rngui:wrap="true" rngui:label="Which output elements are important? How to transform and save them?"/>
224
+ <element name="code" rngui:header="Output Handling" rngui:fold="closed">
225
+ <element name="description" rngui:label="Description">
226
+ <text rngui:wrap="true" rngui:label="Which output elements are important? How to transform and save them?"/>
227
+ </element>
225
228
  </element>
226
229
  </element>
227
230
  </element>
@@ -1,8 +1,2 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="parallel_branch" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="pass" rngui:label="Pass to branch">
3
- <data type="string" rngui:label="Data element passed to the local scope, thus not affected by global changes ..."/>
4
- </attribute>
5
- <attribute name="local" rngui:label="Local scope">
6
- <data type="string" rngui:label="Name of the passed data element in the local scope ..."/>
7
- </attribute>
8
- </element>
2
+ </element>
@@ -8,6 +8,7 @@ function WFAdaptorManifestation(adaptor) {
8
8
  this.compact = false;
9
9
  this.striped = false;
10
10
  this.endpoints = {};
11
+ this.presstimer;
11
12
 
12
13
  //{{{ transform the details data to description parts based on rng
13
14
  this.source = function(base,opts) {
@@ -137,93 +138,104 @@ function WFAdaptorManifestation(adaptor) {
137
138
  }
138
139
  } //}}}
139
140
 
140
- // Events
141
- this.events.mousedown = function(svgid, e, child, sibling) { // {{{
142
- if(e.button == 0) { // left-click
143
- } else if(e.button == 1) { // middle-click
144
- } else if(e.button == 2) { // right-click
145
- if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
141
+ function contextMenuHandling(svgid,e,child,sibling) { //{{{
142
+ if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
146
143
 
147
- var xml_node = self.adaptor.description.get_node_by_svg_id(svgid);
148
- var group = null;
149
- var menu = {};
144
+ var xml_node = self.adaptor.description.get_node_by_svg_id(svgid);
145
+ var group = null;
146
+ var menu = {};
150
147
 
151
- if (child) {
152
- group = self.elements[xml_node.get(0).tagName].permissible_children(xml_node,'into');
148
+ if (child) {
149
+ group = self.elements[xml_node.get(0).tagName].permissible_children(xml_node,'into');
150
+ if(group.length > 0) {
151
+ menu['Insert into'] = group;
152
+ copyOrMove(menu['Insert into'],group,xml_node,self.adaptor.description.insert_first_into);
153
+ }
154
+ if (self.elements[xml_node.get(0).tagName].permissible_children_expert) {
155
+ group = self.elements[xml_node.get(0).tagName].permissible_children_expert(xml_node,'into');
153
156
  if(group.length > 0) {
154
- menu['Insert into'] = group;
155
- copyOrMove(menu['Insert into'],group,xml_node,self.adaptor.description.insert_first_into);
156
- }
157
- if (self.elements[xml_node.get(0).tagName].permissible_children_expert) {
158
- group = self.elements[xml_node.get(0).tagName].permissible_children_expert(xml_node,'into');
159
- if(group.length > 0) {
160
- menu['Insert into (Experts Only!)'] = group;
161
- copyOrMove(menu['Insert into (Experts Only!)'],group,xml_node,self.adaptor.description.insert_first_into);
162
- }
157
+ menu['Insert into (Experts Only!)'] = group;
158
+ copyOrMove(menu['Insert into (Experts Only!)'],group,xml_node,self.adaptor.description.insert_first_into);
163
159
  }
164
160
  }
165
- if (sibling) {
166
- group = self.elements[xml_node.parent().get(0).tagName].permissible_children(xml_node,'after');
161
+ }
162
+ if (sibling) {
163
+ group = self.elements[xml_node.parent().get(0).tagName].permissible_children(xml_node,'after');
164
+ if(group.length > 0) {
165
+ menu['Insert after'] = group;
166
+ copyOrMove(menu['Insert after'],group,xml_node,self.adaptor.description.insert_after);
167
+ }
168
+ if (self.elements[xml_node.parent().get(0).tagName].permissible_children_expert) {
169
+ group = self.elements[xml_node.parent().get(0).tagName].permissible_children_expert(xml_node,'after');
167
170
  if(group.length > 0) {
168
- menu['Insert after'] = group;
169
- copyOrMove(menu['Insert after'],group,xml_node,self.adaptor.description.insert_after);
170
- }
171
- if (self.elements[xml_node.parent().get(0).tagName].permissible_children_expert) {
172
- group = self.elements[xml_node.parent().get(0).tagName].permissible_children_expert(xml_node,'after');
173
- if(group.length > 0) {
174
- menu['Insert after (Experts Only!)'] = group;
175
- copyOrMove(menu['Insert after (Experts Only!)'],group,xml_node,self.adaptor.description.insert_after);
176
- }
171
+ menu['Insert after (Experts Only!)'] = group;
172
+ copyOrMove(menu['Insert after (Experts Only!)'],group,xml_node,self.adaptor.description.insert_after);
177
173
  }
178
174
  }
175
+ }
179
176
 
180
- if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
181
- var icon = self.elements[xml_node.get(0).tagName].illustrator.svg.clone();
182
- icon.children('.rfill').addClass('menu');
183
- menu['Delete'] = [{
184
- 'label': 'Remove Element',
185
- 'function_call': function(selector,target,selected){ self.adaptor.description.remove(selector,target); self.adaptor.illustrator.get_label_by_svg_id(selected).addClass('selected'); },
186
- 'menu_icon': icon,
187
- 'type': undefined,
188
- 'params': [null, xml_node, self.selected()]
189
- }];
190
- }
191
- if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
192
- var icon = self.elements.callmanipulate.illustrator.svg.clone();
193
- icon.children('.rfill:last').addClass('menu');
194
- menu['Delete'].push({
195
- 'label': 'Remove Scripts',
196
- 'function_call': self.adaptor.description.remove,
197
- 'menu_icon': icon,
198
- 'type': undefined,
199
- 'params': ['> code', xml_node]
200
- });
201
- }
202
- if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
203
- var icon = self.elements.call.illustrator.svg.clone();
204
- icon.children('g.replace').addClass('active');
205
- var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
206
- if (vtarget.length > 0) {
207
- if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
208
- menu['Position'] = [{
209
- 'label': 'No Execution from here',
210
- 'function_call': del_ui_pos,
211
- 'menu_icon': icon,
212
- 'type': undefined,
213
- 'params': xml_node
214
- }];
215
- } else {
216
- menu['Position'] = [{
217
- 'label': 'Execute from here',
218
- 'function_call': add_ui_pos,
219
- 'menu_icon': icon,
220
- 'type': undefined,
221
- 'params': xml_node
222
- }];
223
- }
177
+ if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
178
+ var icon = self.elements[xml_node.get(0).tagName].illustrator.svg.clone();
179
+ icon.children('.rfill').addClass('menu');
180
+ menu['Delete'] = [{
181
+ 'label': 'Remove Element',
182
+ 'function_call': function(selector,target,selected){ self.adaptor.description.remove(selector,target); self.adaptor.illustrator.get_label_by_svg_id(selected).addClass('selected'); },
183
+ 'menu_icon': icon,
184
+ 'type': undefined,
185
+ 'params': [null, xml_node, self.selected()]
186
+ }];
187
+ }
188
+ if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
189
+ var icon = self.elements.callmanipulate.illustrator.svg.clone();
190
+ icon.children('.rfill:last').addClass('menu');
191
+ menu['Delete'].push({
192
+ 'label': 'Remove Scripts',
193
+ 'function_call': self.adaptor.description.remove,
194
+ 'menu_icon': icon,
195
+ 'type': undefined,
196
+ 'params': ['> code', xml_node]
197
+ });
198
+ }
199
+ if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
200
+ var icon = self.elements.call.illustrator.svg.clone();
201
+ icon.children('g.replace').addClass('active');
202
+ var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
203
+ if (vtarget.length > 0) {
204
+ if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
205
+ menu['Position'] = [{
206
+ 'label': 'No Execution from here',
207
+ 'function_call': del_ui_pos,
208
+ 'menu_icon': icon,
209
+ 'type': undefined,
210
+ 'params': xml_node
211
+ }];
212
+ } else {
213
+ menu['Position'] = [{
214
+ 'label': 'Execute from here',
215
+ 'function_call': add_ui_pos,
216
+ 'menu_icon': icon,
217
+ 'type': undefined,
218
+ 'params': xml_node
219
+ }];
224
220
  }
225
221
  }
226
- new CustomMenu(e).contextmenu(menu);
222
+ }
223
+ new CustomMenu(e).contextmenu(menu);
224
+ } //}}}
225
+
226
+ // Events
227
+ this.events.touchend = function(svgid, e) { // {{{
228
+ clearTimeout(self.presstimer);
229
+ } // }}}
230
+ this.events.touchstart = function(svgid, e, child, sibling) { // {{{
231
+ self.presstimer = window.setTimeout(function() { contextMenuHandling(svgid,e,child,sibling); },1000);
232
+ return false;
233
+ } // }}}
234
+ this.events.mousedown = function(svgid, e, child, sibling) { // {{{
235
+ if(e.button == 0) { // left-click
236
+ } else if(e.button == 1) { // middle-click
237
+ } else if(e.button == 2) { // right-click
238
+ contextMenuHandling(svgid,e,child,sibling);
227
239
  }
228
240
  return false;
229
241
  } // }}}
@@ -321,6 +333,8 @@ function WFAdaptorManifestation(adaptor) {
321
333
  }, //}}}
322
334
  'adaptor': {//{{{
323
335
  'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
336
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
337
+ 'touchend': self.events.touchend,
324
338
  'click': self.events.click,
325
339
  'dragstart': self.events.dragstart,
326
340
  'mouseover': self.events.mouseover,
@@ -347,6 +361,8 @@ function WFAdaptorManifestation(adaptor) {
347
361
  }, //}}}
348
362
  'adaptor': {//{{{
349
363
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
364
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
365
+ 'touchend': self.events.touchend,
350
366
  'click': self.events.click,
351
367
  'mouseover': self.events.mouseover,
352
368
  'mouseout': self.events.mouseout
@@ -364,6 +380,8 @@ function WFAdaptorManifestation(adaptor) {
364
380
  }, //}}}
365
381
  'adaptor': {//{{{
366
382
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
383
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
384
+ 'touchend': self.events.touchend,
367
385
  'click': self.events.click,
368
386
  'mouseover': self.events.mouseover,
369
387
  'mouseout': self.events.mouseout
@@ -381,6 +399,8 @@ function WFAdaptorManifestation(adaptor) {
381
399
  }, //}}}
382
400
  'adaptor': {//{{{
383
401
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
402
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
403
+ 'touchend': self.events.touchend,
384
404
  'click': self.events.click,
385
405
  'mouseover': self.events.mouseover,
386
406
  'mouseout': self.events.mouseout
@@ -399,6 +419,8 @@ function WFAdaptorManifestation(adaptor) {
399
419
  }, //}}}
400
420
  'adaptor': {//{{{
401
421
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,false); },
422
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,false); },
423
+ 'touchend': self.events.touchend,
402
424
  'mouseover': self.events.mouseover,
403
425
  'mouseout': self.events.mouseout
404
426
  }//}}}
@@ -410,9 +432,7 @@ function WFAdaptorManifestation(adaptor) {
410
432
  'svg': self.adaptor.theme_dir + 'symbols/end.svg'
411
433
  }, //}}}
412
434
  'adaptor': {//{{{
413
- 'mousedown': function (node,e) {
414
- self.events.suppress();
415
- }
435
+ 'mousedown': function (node,e) { self.events.suppress(); }
416
436
  }//}}}
417
437
  }; /*}}}*/
418
438
  this.elements.event_end = { /*{{{*/
@@ -422,9 +442,7 @@ function WFAdaptorManifestation(adaptor) {
422
442
  'svg': self.adaptor.theme_dir + 'symbols/event_end.svg'
423
443
  }, //}}}
424
444
  'adaptor': {//{{{
425
- 'mousedown': function (node,e) {
426
- self.events.suppress();
427
- },
445
+ 'mousedown': function (node,e) { self.events.suppress(); },
428
446
  'click': self.events.click,
429
447
  'dblclick': self.events.dblclick,
430
448
  'mouseover': self.events.mouseover,
@@ -445,9 +463,9 @@ function WFAdaptorManifestation(adaptor) {
445
463
  },
446
464
  }, //}}}
447
465
  'adaptor': {//{{{
448
- 'mousedown': function (node,e) {
449
- self.events.mousedown(node,e,true,true);
450
- },
466
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
467
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
468
+ 'touchend': self.events.touchend,
451
469
  'click': self.events.click,
452
470
  'dblclick': self.events.dblclick,
453
471
  'mouseover': self.events.mouseover,
@@ -466,9 +484,9 @@ function WFAdaptorManifestation(adaptor) {
466
484
  'svg': self.adaptor.theme_dir + 'symbols/choose_exclusive.svg',
467
485
  }, //}}}
468
486
  'adaptor': {//{{{
469
- 'mousedown': function (node,e) {
470
- self.events.mousedown(node,e,true,true);
471
- },
487
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
488
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
489
+ 'touchend': self.events.touchend,
472
490
  'click': self.events.click,
473
491
  'dblclick': self.events.dblclick,
474
492
  'mouseover': self.events.mouseover,
@@ -493,9 +511,9 @@ function WFAdaptorManifestation(adaptor) {
493
511
  },
494
512
  }, //}}}
495
513
  'adaptor': {//{{{
496
- 'mousedown': function (node,e) {
497
- self.events.mousedown(node,e,true,true);
498
- },
514
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
515
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
516
+ 'touchend': self.events.touchend,
499
517
  'click': self.events.click,
500
518
  'dblclick': self.events.dblclick,
501
519
  'mouseover': self.events.mouseover,
@@ -558,9 +576,9 @@ function WFAdaptorManifestation(adaptor) {
558
576
  return childs;
559
577
  }, //}}}
560
578
  'adaptor': {//{{{
561
- 'mousedown': function (node,e) {
562
- self.events.mousedown(node,e,true,true);
563
- },
579
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
580
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
581
+ 'touchend': self.events.touchend,
564
582
  'click': self.events.click,
565
583
  'dblclick': self.events.dblclick,
566
584
  'mouseover': self.events.mouseover,
@@ -642,9 +660,9 @@ function WFAdaptorManifestation(adaptor) {
642
660
  return childs;
643
661
  }, //}}}
644
662
  'adaptor': {//{{{
645
- 'mousedown': function (node,e) {
646
- self.events.mousedown(node,e,true,false);
647
- },
663
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
664
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
665
+ 'touchend': self.events.touchend,
648
666
  'click': self.events.click,
649
667
  'dblclick': self.events.dblclick,
650
668
  'mouseover': self.events.mouseover,
@@ -734,9 +752,9 @@ function WFAdaptorManifestation(adaptor) {
734
752
  return childs;
735
753
  }, //}}}
736
754
  'adaptor': {//{{{
737
- 'mousedown': function (node,e) {
738
- self.events.mousedown(node,e,true,true);
739
- },
755
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
756
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
757
+ 'touchend': self.events.touchend,
740
758
  'click': self.events.click,
741
759
  'dblclick': self.events.dblclick,
742
760
  'mouseover': self.events.mouseover,
@@ -830,9 +848,9 @@ function WFAdaptorManifestation(adaptor) {
830
848
  return childs;
831
849
  }, //}}}
832
850
  'adaptor': {//{{{
833
- 'mousedown': function (node,e) {
834
- self.events.mousedown(node,e,true,true);
835
- },
851
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
852
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
853
+ 'touchend': self.events.touchend,
836
854
  'click': self.events.click,
837
855
  'dblclick': self.events.dblclick,
838
856
  'mouseover': self.events.mouseover,
@@ -923,9 +941,9 @@ function WFAdaptorManifestation(adaptor) {
923
941
  return childs;
924
942
  }, //}}}
925
943
  'adaptor': {//{{{
926
- 'mousedown': function (node,e) {
927
- self.events.mousedown(node,e,true,true);
928
- },
944
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
945
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
946
+ 'touchend': self.events.touchend,
929
947
  'click': self.events.click,
930
948
  'dblclick': self.events.dblclick,
931
949
  'mouseover': self.events.mouseover,
@@ -1017,9 +1035,9 @@ function WFAdaptorManifestation(adaptor) {
1017
1035
  return childs;
1018
1036
  }, //}}}
1019
1037
  'adaptor': {//{{{
1020
- 'mousedown': function (node,e) {
1021
- self.events.mousedown(node,e,true,true);
1022
- },
1038
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1039
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1040
+ 'touchend': self.events.touchend,
1023
1041
  'click': self.events.click,
1024
1042
  'dblclick': self.events.dblclick,
1025
1043
  'mouseover': self.events.mouseover,
@@ -1099,9 +1117,9 @@ function WFAdaptorManifestation(adaptor) {
1099
1117
  return childs;
1100
1118
  }, //}}}
1101
1119
  'adaptor': {//{{{
1102
- 'mousedown': function (node,e) {
1103
- self.events.mousedown(node,e,true,true);
1104
- },
1120
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1121
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1122
+ 'touchend': self.events.touchend,
1105
1123
  'click': self.events.click,
1106
1124
  'dblclick': self.events.dblclick,
1107
1125
  'mouseover': self.events.mouseover,
@@ -1131,9 +1149,9 @@ function WFAdaptorManifestation(adaptor) {
1131
1149
  ];
1132
1150
  }, //}}}
1133
1151
  'adaptor': {//{{{
1134
- 'mousedown': function (node,e) {
1135
- self.events.mousedown(node,e,true,true);
1136
- },
1152
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1153
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1154
+ 'touchend': self.events.touchend,
1137
1155
  'click': self.events.click,
1138
1156
  'dblclick': self.events.dblclick,
1139
1157
  'mouseover': self.events.mouseover,
@@ -1209,9 +1227,9 @@ function WFAdaptorManifestation(adaptor) {
1209
1227
  return childs;
1210
1228
  }, //}}}
1211
1229
  'adaptor': {//{{{
1212
- 'mousedown': function (node,e) {
1213
- self.events.mousedown(node,e,true,false);
1214
- },
1230
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
1231
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
1232
+ 'touchend': self.events.touchend,
1215
1233
  'click': self.events.click,
1216
1234
  'dblclick': self.events.dblclick,
1217
1235
  'mouseover': self.events.mouseover,
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.20"
3
+ s.version = "2.1.24"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -28,4 +28,5 @@ Gem::Specification.new do |s|
28
28
  s.add_runtime_dependency 'redis', '~> 4.1'
29
29
  s.add_runtime_dependency 'rubyzip', '~>2'
30
30
  s.add_runtime_dependency 'charlock_holmes', '~>0'
31
+ s.add_runtime_dependency 'mimemagic', '~>0'
31
32
  end