cpee 2.1.23 → 2.1.27
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.
- checksums.yaml +4 -4
- data/cockpit/css/ui.css +2 -2
- data/cockpit/themes/compact/rngs/call.rng +1 -1
- data/cockpit/themes/compact/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/compact/theme.js +139 -119
- data/cockpit/themes/control/rngs/call.rng +1 -1
- data/cockpit/themes/control/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/control/theme.js +151 -131
- data/cockpit/themes/default/rngs/call.rng +1 -1
- data/cockpit/themes/default/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/default/theme.js +139 -119
- data/cockpit/themes/extended/rngs/call.rng +1 -1
- data/cockpit/themes/extended/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/extended/theme.js +139 -119
- data/cockpit/themes/model/theme.js +117 -97
- data/cockpit/themes/packed/rngs/call.rng +1 -1
- data/cockpit/themes/packed/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/packed/theme.js +139 -119
- data/cockpit/themes/preset/rngs/call.rng +1 -1
- data/cockpit/themes/preset/rngs/callmanipulate.rng +1 -1
- data/cockpit/themes/preset/theme.js +139 -119
- data/cpee.gemspec +2 -1
- data/server/executionhandlers/ruby/connection.rb +3 -5
- data/server/executionhandlers/ruby/dsl_to_dslx.xsl +38 -18
- data/server/executionhandlers/ruby/test.xml +43 -0
- data/tools/cpee +14 -6
- metadata +17 -2
@@ -8,6 +8,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
8
8
|
this.compact = false;
|
9
9
|
this.striped = true;
|
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
|
-
//
|
141
|
-
|
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
|
-
|
148
|
-
|
149
|
-
|
144
|
+
var xml_node = self.adaptor.description.get_node_by_svg_id(svgid);
|
145
|
+
var group = null;
|
146
|
+
var menu = {};
|
150
147
|
|
151
|
-
|
152
|
-
|
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
|
-
|
166
|
-
|
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
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
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
|
-
|
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
|
} // }}}
|
@@ -339,6 +351,8 @@ function WFAdaptorManifestation(adaptor) {
|
|
339
351
|
}, //}}}
|
340
352
|
'adaptor': {//{{{
|
341
353
|
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
354
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
355
|
+
'touchend': self.events.touchend,
|
342
356
|
'click': self.events.click,
|
343
357
|
'dragstart': self.events.dragstart,
|
344
358
|
'mouseover': self.events.mouseover,
|
@@ -365,6 +379,8 @@ function WFAdaptorManifestation(adaptor) {
|
|
365
379
|
}, //}}}
|
366
380
|
'adaptor': {//{{{
|
367
381
|
'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
|
382
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
|
383
|
+
'touchend': self.events.touchend,
|
368
384
|
'click': self.events.click,
|
369
385
|
'mouseover': self.events.mouseover,
|
370
386
|
'mouseout': self.events.mouseout
|
@@ -382,6 +398,8 @@ function WFAdaptorManifestation(adaptor) {
|
|
382
398
|
}, //}}}
|
383
399
|
'adaptor': {//{{{
|
384
400
|
'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
|
401
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
|
402
|
+
'touchend': self.events.touchend,
|
385
403
|
'click': self.events.click,
|
386
404
|
'mouseover': self.events.mouseover,
|
387
405
|
'mouseout': self.events.mouseout
|
@@ -402,6 +420,8 @@ function WFAdaptorManifestation(adaptor) {
|
|
402
420
|
}, //}}}
|
403
421
|
'adaptor': {//{{{
|
404
422
|
'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
|
423
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
|
424
|
+
'touchend': self.events.touchend,
|
405
425
|
'click': self.events.click,
|
406
426
|
'mouseover': self.events.mouseover,
|
407
427
|
'mouseout': self.events.mouseout
|
@@ -420,6 +440,8 @@ function WFAdaptorManifestation(adaptor) {
|
|
420
440
|
}, //}}}
|
421
441
|
'adaptor': {//{{{
|
422
442
|
'mousedown': function (node,e) { self.events.mousedown(node,e,false,false); },
|
443
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,false,false); },
|
444
|
+
'touchend': self.events.touchend,
|
423
445
|
'mouseover': self.events.mouseover,
|
424
446
|
'mouseout': self.events.mouseout
|
425
447
|
}//}}}
|
@@ -431,9 +453,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
431
453
|
'svg': self.adaptor.theme_dir + 'symbols/end.svg'
|
432
454
|
}, //}}}
|
433
455
|
'adaptor': {//{{{
|
434
|
-
'mousedown': function (node,e) {
|
435
|
-
self.events.suppress();
|
436
|
-
}
|
456
|
+
'mousedown': function (node,e) { self.events.suppress(); }
|
437
457
|
}//}}}
|
438
458
|
}; /*}}}*/
|
439
459
|
this.elements.event_end = { /*{{{*/
|
@@ -443,9 +463,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
443
463
|
'svg': self.adaptor.theme_dir + 'symbols/event_end.svg'
|
444
464
|
}, //}}}
|
445
465
|
'adaptor': {//{{{
|
446
|
-
'mousedown': function (node,e) {
|
447
|
-
self.events.suppress();
|
448
|
-
},
|
466
|
+
'mousedown': function (node,e) { self.events.suppress(); },
|
449
467
|
'click': self.events.click,
|
450
468
|
'dblclick': self.events.dblclick,
|
451
469
|
'mouseover': self.events.mouseover,
|
@@ -466,9 +484,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
466
484
|
},
|
467
485
|
}, //}}}
|
468
486
|
'adaptor': {//{{{
|
469
|
-
'mousedown': function (node,e) {
|
470
|
-
|
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,
|
@@ -491,9 +509,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
491
509
|
'svg': self.adaptor.theme_dir + 'symbols/choose_exclusive.svg',
|
492
510
|
}, //}}}
|
493
511
|
'adaptor': {//{{{
|
494
|
-
'mousedown': function (node,e) {
|
495
|
-
|
496
|
-
|
512
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
513
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
514
|
+
'touchend': self.events.touchend,
|
497
515
|
'click': self.events.click,
|
498
516
|
'dblclick': self.events.dblclick,
|
499
517
|
'mouseover': self.events.mouseover,
|
@@ -506,7 +524,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
506
524
|
'endnodes': 'this',
|
507
525
|
'svg': self.adaptor.theme_dir + 'symbols/parallel.svg',
|
508
526
|
'resolve_symbol': function(node) {
|
509
|
-
if($(node).
|
527
|
+
if($(node).children(':not(parallel_branch)').length > 0) {
|
528
|
+
return 'parallel_complex';
|
529
|
+
} else if($(node).attr('cancel') == 'last' && $(node).attr('wait') == '-1') {
|
510
530
|
return 'parallel_simple';
|
511
531
|
} else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == '-1') {
|
512
532
|
return 'parallel_event_all';
|
@@ -518,9 +538,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
518
538
|
},
|
519
539
|
}, //}}}
|
520
540
|
'adaptor': {//{{{
|
521
|
-
'mousedown': function (node,e) {
|
522
|
-
|
523
|
-
|
541
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
542
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
543
|
+
'touchend': self.events.touchend,
|
524
544
|
'click': self.events.click,
|
525
545
|
'dblclick': self.events.dblclick,
|
526
546
|
'mouseover': self.events.mouseover,
|
@@ -583,9 +603,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
583
603
|
return childs;
|
584
604
|
}, //}}}
|
585
605
|
'adaptor': {//{{{
|
586
|
-
'mousedown': function (node,e) {
|
587
|
-
|
588
|
-
|
606
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
607
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
608
|
+
'touchend': self.events.touchend,
|
589
609
|
'click': self.events.click,
|
590
610
|
'dblclick': self.events.dblclick,
|
591
611
|
'mouseover': self.events.mouseover,
|
@@ -676,9 +696,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
676
696
|
return childs;
|
677
697
|
}, //}}}
|
678
698
|
'adaptor': {//{{{
|
679
|
-
'mousedown': function (node,e) {
|
680
|
-
|
681
|
-
|
699
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
|
700
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
|
701
|
+
'touchend': self.events.touchend,
|
682
702
|
'click': self.events.click,
|
683
703
|
'dblclick': self.events.dblclick,
|
684
704
|
'mouseover': self.events.mouseover,
|
@@ -777,9 +797,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
777
797
|
return childs;
|
778
798
|
}, //}}}
|
779
799
|
'adaptor': {//{{{
|
780
|
-
'mousedown': function (node,e) {
|
781
|
-
|
782
|
-
|
800
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
801
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
802
|
+
'touchend': self.events.touchend,
|
783
803
|
'click': self.events.click,
|
784
804
|
'dblclick': self.events.dblclick,
|
785
805
|
'mouseover': self.events.mouseover,
|
@@ -878,9 +898,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
878
898
|
return childs;
|
879
899
|
}, //}}}
|
880
900
|
'adaptor': {//{{{
|
881
|
-
'mousedown': function (node,e) {
|
882
|
-
|
883
|
-
|
901
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
902
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
903
|
+
'touchend': self.events.touchend,
|
884
904
|
'click': self.events.click,
|
885
905
|
'dblclick': self.events.dblclick,
|
886
906
|
'mouseover': self.events.mouseover,
|
@@ -934,9 +954,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
934
954
|
return childs;
|
935
955
|
}, //}}}
|
936
956
|
'adaptor': {//{{{
|
937
|
-
'mousedown': function (node,e) {
|
938
|
-
|
939
|
-
|
957
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
958
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
959
|
+
'touchend': self.events.touchend,
|
940
960
|
'click': self.events.click,
|
941
961
|
'dblclick': self.events.dblclick,
|
942
962
|
'mouseover': self.events.mouseover,
|
@@ -1016,9 +1036,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1016
1036
|
return childs;
|
1017
1037
|
}, //}}}
|
1018
1038
|
'adaptor': {//{{{
|
1019
|
-
'mousedown': function (node,e) {
|
1020
|
-
|
1021
|
-
|
1039
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1040
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1041
|
+
'touchend': self.events.touchend,
|
1022
1042
|
'click': self.events.click,
|
1023
1043
|
'dblclick': self.events.dblclick,
|
1024
1044
|
'mouseover': self.events.mouseover,
|
@@ -1103,9 +1123,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1103
1123
|
return childs;
|
1104
1124
|
}, //}}}
|
1105
1125
|
'adaptor': {//{{{
|
1106
|
-
'mousedown': function (node,e) {
|
1107
|
-
|
1108
|
-
|
1126
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1127
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1128
|
+
'touchend': self.events.touchend,
|
1109
1129
|
'click': self.events.click,
|
1110
1130
|
'dblclick': self.events.dblclick,
|
1111
1131
|
'mouseover': self.events.mouseover,
|
@@ -1175,9 +1195,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1175
1195
|
return childs;
|
1176
1196
|
}, //}}}
|
1177
1197
|
'adaptor': {//{{{
|
1178
|
-
'mousedown': function (node,e) {
|
1179
|
-
|
1180
|
-
|
1198
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1199
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1200
|
+
'touchend': self.events.touchend,
|
1181
1201
|
'click': self.events.click,
|
1182
1202
|
'dblclick': self.events.dblclick,
|
1183
1203
|
'mouseover': self.events.mouseover,
|
@@ -1273,9 +1293,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1273
1293
|
return childs;
|
1274
1294
|
}, //}}}
|
1275
1295
|
'adaptor': {//{{{
|
1276
|
-
'mousedown': function (node,e) {
|
1277
|
-
|
1278
|
-
|
1296
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1297
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1298
|
+
'touchend': self.events.touchend,
|
1279
1299
|
'click': self.events.click,
|
1280
1300
|
'dblclick': self.events.dblclick,
|
1281
1301
|
'mouseover': self.events.mouseover,
|
@@ -1372,9 +1392,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1372
1392
|
return childs;
|
1373
1393
|
}, //}}}
|
1374
1394
|
'adaptor': {//{{{
|
1375
|
-
'mousedown': function (node,e) {
|
1376
|
-
|
1377
|
-
|
1395
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1396
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1397
|
+
'touchend': self.events.touchend,
|
1378
1398
|
'click': self.events.click,
|
1379
1399
|
'dblclick': self.events.dblclick,
|
1380
1400
|
'mouseover': self.events.mouseover,
|
@@ -1459,9 +1479,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1459
1479
|
return childs;
|
1460
1480
|
}, //}}}
|
1461
1481
|
'adaptor': {//{{{
|
1462
|
-
'mousedown': function (node,e) {
|
1463
|
-
|
1464
|
-
|
1482
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1483
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1484
|
+
'touchend': self.events.touchend,
|
1465
1485
|
'click': self.events.click,
|
1466
1486
|
'dblclick': self.events.dblclick,
|
1467
1487
|
'mouseover': self.events.mouseover,
|
@@ -1491,9 +1511,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1491
1511
|
];
|
1492
1512
|
}, //}}}
|
1493
1513
|
'adaptor': {//{{{
|
1494
|
-
'mousedown': function (node,e) {
|
1495
|
-
|
1496
|
-
|
1514
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
1515
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
|
1516
|
+
'touchend': self.events.touchend,
|
1497
1517
|
'click': self.events.click,
|
1498
1518
|
'dblclick': self.events.dblclick,
|
1499
1519
|
'mouseover': self.events.mouseover,
|
@@ -1575,9 +1595,9 @@ function WFAdaptorManifestation(adaptor) {
|
|
1575
1595
|
return childs;
|
1576
1596
|
}, //}}}
|
1577
1597
|
'adaptor': {//{{{
|
1578
|
-
'mousedown': function (node,e) {
|
1579
|
-
|
1580
|
-
|
1598
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
|
1599
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
|
1600
|
+
'touchend': self.events.touchend,
|
1581
1601
|
'click': self.events.click,
|
1582
1602
|
'dblclick': self.events.dblclick,
|
1583
1603
|
'mouseover': self.events.mouseover,
|
@@ -155,7 +155,7 @@
|
|
155
155
|
</element>
|
156
156
|
</element>
|
157
157
|
</element>
|
158
|
-
<element name="
|
158
|
+
<element name="documentation" rngui:header="Documentation">
|
159
159
|
<element name="input" rngui:header="Input Arguments" rngui:fold="closed">
|
160
160
|
<zeroOrMore rngui:label="Create Argument">
|
161
161
|
<element name="item" rngui:label="Description">
|
@@ -195,7 +195,7 @@
|
|
195
195
|
</element>
|
196
196
|
</element>
|
197
197
|
|
198
|
-
<element name="
|
198
|
+
<element name="documentation" rngui:header="Documentation">
|
199
199
|
<element name="input" rngui:header="Input Arguments" rngui:fold="closed">
|
200
200
|
<zeroOrMore rngui:label="Create Argument">
|
201
201
|
<element name="item" rngui:label="Description">
|