cpee 2.0.26 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (369) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/config.json.example +7 -0
  3. data/cockpit/css/ui.css +1 -0
  4. data/cockpit/css/wfadaptor.css +11 -0
  5. data/cockpit/edit.html +1 -4
  6. data/cockpit/js/instance.js +9 -4
  7. data/cockpit/js/wfadaptor.js +2 -0
  8. data/cockpit/templates.legacy/Async.xml +12 -12
  9. data/cockpit/templates.legacy/BCO.xml +9 -11
  10. data/cockpit/templates.legacy/BCS.xml +9 -11
  11. data/cockpit/templates.legacy/Centurio.xml +7 -7
  12. data/cockpit/templates.legacy/Concurrent.xml +7 -7
  13. data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
  14. data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
  15. data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
  16. data/cockpit/templates.legacy/Infinity.xml +7 -7
  17. data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
  18. data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
  19. data/cockpit/templates.legacy/Lego Crane.xml +16 -16
  20. data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
  21. data/cockpit/templates.legacy/Lego Full.xml +12 -12
  22. data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
  23. data/cockpit/templates.legacy/Lego Plate.xml +13 -13
  24. data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
  25. data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
  26. data/cockpit/templates.legacy/LgLinear.xml +7 -10
  27. data/cockpit/templates.legacy/Linear.xml +11 -14
  28. data/cockpit/templates.legacy/Log.xml +11 -12
  29. data/cockpit/templates.legacy/Mangler 1.xml +7 -7
  30. data/cockpit/templates.legacy/Mangler 2.xml +7 -7
  31. data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
  32. data/cockpit/templates.legacy/Promise.xml +30 -30
  33. data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
  34. data/cockpit/templates.legacy/Subprocess.xml +15 -15
  35. data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
  36. data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
  37. data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
  38. data/cockpit/templates.legacy/Syncing P34.xml +8 -11
  39. data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
  40. data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
  41. data/cockpit/templates.legacy/Take_5.xml +14 -14
  42. data/cockpit/templates.legacy/Update.xml +11 -11
  43. data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
  44. data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
  45. data/cockpit/templates.legacy/Worklist Test.xml +14 -14
  46. data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
  47. data/cockpit/templates/Coopis 2010.xml +19 -11
  48. data/cockpit/templates/Coopis 2010.xml.active +1 -0
  49. data/cockpit/templates/Coopis 2010.xml.active-uuid +1 -0
  50. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +13 -12
  51. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +13 -12
  52. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +13 -12
  53. data/cockpit/templates/Track Test Local.xml +3 -3
  54. data/cockpit/templates/Track Test.xml +2 -2
  55. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +2 -2
  56. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +2 -2
  57. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +2 -2
  58. data/cockpit/templates/UR-VUE 2020 Solution View.xml +2 -2
  59. data/cockpit/templates/UR-VUE 2020.xml +4 -2
  60. data/cockpit/templates/Worklist.xml +19 -14
  61. data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
  62. data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
  63. data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
  64. data/cockpit/templates/instantiate/Take_X.xml +2 -2
  65. data/cockpit/themes/compact/rngs/parallel.rng +6 -0
  66. data/cockpit/themes/compact/rngs/start.rng +83 -0
  67. data/cockpit/themes/compact/symbols/parallel_branch_event.svg +2 -2
  68. data/cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg +9 -0
  69. data/cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg +8 -0
  70. data/cockpit/themes/compact/symbols/start.svg +1 -1
  71. data/cockpit/themes/compact/theme.js +45 -2
  72. data/cockpit/themes/control/rngs/parallel.rng +6 -0
  73. data/cockpit/themes/control/rngs/start.rng +83 -0
  74. data/cockpit/themes/control/symbols/parallel_branch_event.svg +2 -2
  75. data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +9 -0
  76. data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +8 -0
  77. data/cockpit/themes/control/symbols/start.svg +1 -1
  78. data/cockpit/themes/control/theme.js +45 -2
  79. data/cockpit/themes/default/rngs/parallel.rng +6 -0
  80. data/cockpit/themes/default/rngs/start.rng +83 -0
  81. data/cockpit/themes/default/symbols/parallel_branch_event.svg +2 -2
  82. data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +9 -0
  83. data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +8 -0
  84. data/cockpit/themes/default/symbols/start.svg +1 -1
  85. data/cockpit/themes/default/theme.js +46 -3
  86. data/cockpit/themes/extended/rngs/parallel.rng +6 -0
  87. data/cockpit/themes/extended/rngs/start.rng +83 -0
  88. data/cockpit/themes/extended/symbols/parallel_branch_event.svg +2 -2
  89. data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +9 -0
  90. data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +8 -0
  91. data/cockpit/themes/extended/symbols/start.svg +1 -1
  92. data/cockpit/themes/extended/theme.js +45 -2
  93. data/cockpit/themes/model/symbols/parallel_branch_event.svg +2 -2
  94. data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +9 -0
  95. data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +8 -0
  96. data/cockpit/themes/model/symbols/start.svg +1 -1
  97. data/cockpit/themes/model/theme.js +45 -2
  98. data/cockpit/themes/packed/rngs/parallel.rng +6 -0
  99. data/cockpit/themes/packed/rngs/start.rng +83 -0
  100. data/cockpit/themes/packed/symbols/parallel_branch_event.svg +2 -2
  101. data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +9 -0
  102. data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +8 -0
  103. data/cockpit/themes/packed/symbols/start.svg +1 -1
  104. data/cockpit/themes/packed/theme.js +45 -2
  105. data/cockpit/themes/preset/rngs/parallel.rng +6 -0
  106. data/cockpit/themes/preset/rngs/start.rng +83 -0
  107. data/cockpit/themes/preset/symbols/parallel_branch_event.svg +2 -2
  108. data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +9 -0
  109. data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +8 -0
  110. data/cockpit/themes/preset/symbols/start.svg +1 -1
  111. data/cockpit/themes/preset/theme.js +46 -3
  112. data/cpee.gemspec +3 -3
  113. data/lib/cpee/attributes_helper.rb +14 -0
  114. data/lib/cpee/implementation.rb +10 -8
  115. data/lib/cpee/implementation_callbacks.rb +14 -0
  116. data/lib/cpee/implementation_notifications.rb +14 -0
  117. data/lib/cpee/implementation_properties.rb +128 -24
  118. data/lib/cpee/persistence.rb +0 -27
  119. data/lib/cpee/statemachine.rb +14 -0
  120. data/lib/cpee/value_helper.rb +14 -0
  121. data/lib/properties.xml +4 -4
  122. data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +2 -2
  123. data/lib/properties/properties.rng +2 -2
  124. data/lib/properties/set-properties.rng +2 -2
  125. data/lib/properties/set-some-properties.rng +2 -2
  126. data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
  127. data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
  128. data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
  129. data/server/executionhandlers/ruby/backend/run +37 -0
  130. data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +7 -3
  131. data/server/executionhandlers/ruby/controller.rb +195 -0
  132. data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +57 -8
  133. data/server/executionhandlers/ruby/execution.rb +81 -0
  134. data/server/resources/properties.empty +1 -1
  135. data/server/resources/properties.init +1 -1
  136. data/server/resources/topics.xml +2 -2
  137. data/server/routing/persist.rb +3 -3
  138. data/tools/cpee +10 -4
  139. data/tools/server/cpee +1 -1
  140. data/tools/server/resources/properties.init +1 -1
  141. metadata +38 -240
  142. data/cockpit/js_libs.zip +0 -0
  143. data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
  144. data/lib/cpee/controller.rb +0 -199
  145. data/lib/cpee/transform.rb +0 -95
  146. data/server/resources/backend/instance.rb +0 -23
  147. data/server/resources/backend/run +0 -33
  148. data/server/routing/end.pid +0 -1
  149. data/server/routing/forward-events.pid +0 -1
  150. data/server/routing/forward-votes.pid +0 -1
  151. data/server/routing/persist.pid +0 -1
  152. data/server/server.pid +0 -1
  153. data/tools/test/README +0 -4
  154. data/tools/test/config.json +0 -3
  155. data/tools/test/contrib/graph_example.svg +0 -1166
  156. data/tools/test/contrib/legend.svg +0 -817
  157. data/tools/test/contrib/symbols.svg +0 -224
  158. data/tools/test/contrib/transformation1.xsl +0 -264
  159. data/tools/test/contrib/transformation2.xsl +0 -10
  160. data/tools/test/contrib/tree_example.svg +0 -788
  161. data/tools/test/css/model.css +0 -24
  162. data/tools/test/css/track.css +0 -60
  163. data/tools/test/css/ui.css +0 -214
  164. data/tools/test/css/wfadaptor.css +0 -422
  165. data/tools/test/edit.html +0 -258
  166. data/tools/test/graph.html +0 -69
  167. data/tools/test/index.html +0 -258
  168. data/tools/test/js/details.js +0 -109
  169. data/tools/test/js/instance.js +0 -1344
  170. data/tools/test/js/model.js +0 -41
  171. data/tools/test/js/parameters.js +0 -82
  172. data/tools/test/js/track.js +0 -18
  173. data/tools/test/js/ui.js +0 -104
  174. data/tools/test/js/wfadaptor.js +0 -763
  175. data/tools/test/js_libs.zip +0 -0
  176. data/tools/test/js_libs/Makefile +0 -2
  177. data/tools/test/js_libs/ansi_up.js +0 -333
  178. data/tools/test/js_libs/console.js +0 -80
  179. data/tools/test/js_libs/custommenu.css +0 -84
  180. data/tools/test/js_libs/custommenu.js +0 -104
  181. data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
  182. data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
  183. data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
  184. data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
  185. data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
  186. data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
  187. data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
  188. data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
  189. data/tools/test/js_libs/jquery.browser.js +0 -40
  190. data/tools/test/js_libs/jquery.caret.min.js +0 -10
  191. data/tools/test/js_libs/jquery.cookie.js +0 -117
  192. data/tools/test/js_libs/jquery.min.js +0 -1
  193. data/tools/test/js_libs/jquery.svg.min.js +0 -6
  194. data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
  195. data/tools/test/js_libs/markdown.min.js +0 -1
  196. data/tools/test/js_libs/parsequery.js +0 -21
  197. data/tools/test/js_libs/printf.js +0 -368
  198. data/tools/test/js_libs/relaxngui.css +0 -213
  199. data/tools/test/js_libs/relaxngui.js +0 -543
  200. data/tools/test/js_libs/strftime.min.js +0 -1
  201. data/tools/test/js_libs/tests/dataelements.html +0 -59
  202. data/tools/test/js_libs/tests/dataelements.rng +0 -8
  203. data/tools/test/js_libs/tests/dataelements.xml +0 -3
  204. data/tools/test/js_libs/tests/relaxngui.css +0 -203
  205. data/tools/test/js_libs/tests/relaxngui.js +0 -502
  206. data/tools/test/js_libs/tests/rngtest1.html +0 -66
  207. data/tools/test/js_libs/tests/rngtest1.rng +0 -147
  208. data/tools/test/js_libs/tests/rngtest1.xml +0 -13
  209. data/tools/test/js_libs/tests/rngtest2.html +0 -60
  210. data/tools/test/js_libs/tests/rngtest2.rng +0 -6
  211. data/tools/test/js_libs/tests/rngtest2.xml +0 -3
  212. data/tools/test/js_libs/tests/rngtest3.html +0 -60
  213. data/tools/test/js_libs/tests/rngtest3.rng +0 -23
  214. data/tools/test/js_libs/tests/rngtest3.xml +0 -9
  215. data/tools/test/js_libs/tests/rngtest4.html +0 -60
  216. data/tools/test/js_libs/tests/rngtest4.rng +0 -19
  217. data/tools/test/js_libs/tests/rngtest4.xml +0 -12
  218. data/tools/test/js_libs/tests/rngtest5.html +0 -60
  219. data/tools/test/js_libs/tests/rngtest5.rng +0 -75
  220. data/tools/test/js_libs/tests/rngtest5.xml +0 -40
  221. data/tools/test/js_libs/tests/rngtest6.html +0 -60
  222. data/tools/test/js_libs/tests/rngtest6.rng +0 -24
  223. data/tools/test/js_libs/tests/rngtest6.xml +0 -6
  224. data/tools/test/js_libs/tests/rngtest8.html +0 -60
  225. data/tools/test/js_libs/tests/rngtest8.rng +0 -13
  226. data/tools/test/js_libs/tests/rngtest8.xml +0 -2
  227. data/tools/test/js_libs/tests/rngtest9.html +0 -60
  228. data/tools/test/js_libs/tests/rngtest9.rng +0 -31
  229. data/tools/test/js_libs/tests/rngtest9.xml +0 -8
  230. data/tools/test/js_libs/ui.css +0 -333
  231. data/tools/test/js_libs/ui.html +0 -168
  232. data/tools/test/js_libs/ui.js +0 -177
  233. data/tools/test/js_libs/underscore.min.js +0 -27
  234. data/tools/test/js_libs/util.js +0 -81
  235. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
  236. data/tools/test/js_libs/vkbeautify.js +0 -1
  237. data/tools/test/js_libs/webcomponents.min.js +0 -196
  238. data/tools/test/model.html +0 -192
  239. data/tools/test/rngs/attributes.rng +0 -8
  240. data/tools/test/rngs/dataelements.rng +0 -8
  241. data/tools/test/rngs/endpoints.rng +0 -8
  242. data/tools/test/templates.legacy/Async.xml +0 -46
  243. data/tools/test/templates.legacy/BCO.xml +0 -70
  244. data/tools/test/templates.legacy/BCS.xml +0 -70
  245. data/tools/test/templates.legacy/Centurio.xml +0 -75
  246. data/tools/test/templates.legacy/Concurrent.xml +0 -40
  247. data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
  248. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
  249. data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
  250. data/tools/test/templates.legacy/Infinity.xml +0 -28
  251. data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
  252. data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
  253. data/tools/test/templates.legacy/Lego Crane.xml +0 -87
  254. data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
  255. data/tools/test/templates.legacy/Lego Full.xml +0 -142
  256. data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
  257. data/tools/test/templates.legacy/Lego Plate.xml +0 -31
  258. data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
  259. data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
  260. data/tools/test/templates.legacy/LgLinear.xml +0 -65
  261. data/tools/test/templates.legacy/Linear.xml +0 -77
  262. data/tools/test/templates.legacy/Log.xml +0 -117
  263. data/tools/test/templates.legacy/Mangler 1.xml +0 -87
  264. data/tools/test/templates.legacy/Mangler 2.xml +0 -103
  265. data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
  266. data/tools/test/templates.legacy/Promise.xml +0 -275
  267. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
  268. data/tools/test/templates.legacy/Subprocess.xml +0 -56
  269. data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
  270. data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
  271. data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
  272. data/tools/test/templates.legacy/Syncing P34.xml +0 -77
  273. data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
  274. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
  275. data/tools/test/templates.legacy/Take_5.xml +0 -48
  276. data/tools/test/templates.legacy/Update.xml +0 -32
  277. data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
  278. data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
  279. data/tools/test/templates.legacy/Worklist Test.xml +0 -42
  280. data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
  281. data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
  282. data/tools/test/templates.legacy/convert_preset.rb +0 -32
  283. data/tools/test/templates.legacy/testsets.xml +0 -37
  284. data/tools/test/templates.legacy/transformations.xml +0 -4
  285. data/tools/test/templates/Coopis 2010.xml +0 -76
  286. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
  287. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
  288. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
  289. data/tools/test/templates/Track Test Local.xml +0 -82
  290. data/tools/test/templates/Track Test.xml +0 -82
  291. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
  292. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
  293. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
  294. data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
  295. data/tools/test/templates/UR-VUE 2020.xml +0 -26
  296. data/tools/test/templates/Worklist.xml +0 -42
  297. data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
  298. data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
  299. data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
  300. data/tools/test/templates/instantiate/Take_X.xml +0 -48
  301. data/tools/test/themes/compact/theme.js +0 -1285
  302. data/tools/test/themes/diana/theme.js +0 -1650
  303. data/tools/test/themes/extended/theme.js +0 -1325
  304. data/tools/test/themes/model/rngs/alternative.rng +0 -1
  305. data/tools/test/themes/model/rngs/call.rng +0 -67
  306. data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
  307. data/tools/test/themes/model/rngs/choose.rng +0 -1
  308. data/tools/test/themes/model/rngs/critical.rng +0 -1
  309. data/tools/test/themes/model/rngs/escape.rng +0 -1
  310. data/tools/test/themes/model/rngs/group.rng +0 -1
  311. data/tools/test/themes/model/rngs/loop.rng +0 -1
  312. data/tools/test/themes/model/rngs/manipulate.rng +0 -1
  313. data/tools/test/themes/model/rngs/otherwise.rng +0 -1
  314. data/tools/test/themes/model/rngs/parallel.rng +0 -1
  315. data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
  316. data/tools/test/themes/model/rngs/scripts.rng +0 -7
  317. data/tools/test/themes/model/rngs/stop.rng +0 -1
  318. data/tools/test/themes/model/rngs/terminate.rng +0 -1
  319. data/tools/test/themes/model/theme.js +0 -1268
  320. data/tools/test/themes/packed/theme.js +0 -1286
  321. data/tools/test/themes/preset/rngs/alternative.rng +0 -25
  322. data/tools/test/themes/preset/rngs/call.rng +0 -122
  323. data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
  324. data/tools/test/themes/preset/rngs/choose.rng +0 -14
  325. data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
  326. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
  327. data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
  328. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
  329. data/tools/test/themes/preset/rngs/critical.rng +0 -5
  330. data/tools/test/themes/preset/rngs/escape.rng +0 -1
  331. data/tools/test/themes/preset/rngs/group.rng +0 -3
  332. data/tools/test/themes/preset/rngs/loop.rng +0 -22
  333. data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
  334. data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
  335. data/tools/test/themes/preset/rngs/parallel.rng +0 -21
  336. data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
  337. data/tools/test/themes/preset/rngs/scripts.rng +0 -23
  338. data/tools/test/themes/preset/rngs/stop.rng +0 -5
  339. data/tools/test/themes/preset/rngs/terminate.rng +0 -1
  340. data/tools/test/themes/preset/symbols/alternative.svg +0 -5
  341. data/tools/test/themes/preset/symbols/arrow.svg +0 -3
  342. data/tools/test/themes/preset/symbols/call.svg +0 -6
  343. data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
  344. data/tools/test/themes/preset/symbols/choose.svg +0 -5
  345. data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
  346. data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
  347. data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
  348. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
  349. data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
  350. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
  351. data/tools/test/themes/preset/symbols/complex.svg +0 -8
  352. data/tools/test/themes/preset/symbols/critical.svg +0 -4
  353. data/tools/test/themes/preset/symbols/end.svg +0 -3
  354. data/tools/test/themes/preset/symbols/escape.svg +0 -5
  355. data/tools/test/themes/preset/symbols/event_end.svg +0 -3
  356. data/tools/test/themes/preset/symbols/loop.svg +0 -5
  357. data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
  358. data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
  359. data/tools/test/themes/preset/symbols/parallel.svg +0 -5
  360. data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
  361. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
  362. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
  363. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
  364. data/tools/test/themes/preset/symbols/scripts.svg +0 -4
  365. data/tools/test/themes/preset/symbols/start.svg +0 -3
  366. data/tools/test/themes/preset/symbols/stop.svg +0 -5
  367. data/tools/test/themes/preset/symbols/terminate.svg +0 -4
  368. data/tools/test/themes/preset/theme.js +0 -1287
  369. data/tools/test/track.html +0 -142
@@ -1,28 +1,29 @@
1
- <testset>
2
- <attributes xmlns="http://cpee.org/ns/properties/2.0">
3
- <info>Syncing Instance 3</info>
1
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
3
+ <attributes>
4
+ <info>IUPC arXiv:1104.3609 P34 3</info>
4
5
  <modeltype>CPEE</modeltype>
5
6
  <theme>preset</theme>
7
+ <creator>Christine Ashcreek</creator>
8
+ <author>Christine Ashcreek</author>
9
+ <design_stage>development</design_stage>
10
+ <design_dir>Templates.dir</design_dir>
6
11
  </attributes>
7
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
8
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
9
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
12
+ <positions/>
13
+ <dataelements>
10
14
  <x/>
11
15
  </dataelements>
12
- <!--}}}-->
13
16
  <handlers>
14
17
  <!--{{{-->
15
18
  <handler url="http://localhost:9399/1/events">
16
19
  <votes topic="activity">syncing_before,syncing_after</votes>
17
20
  </handler>
18
21
  </handlers>
19
- <!--}}}-->
20
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
22
+ <endpoints>
21
23
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
22
24
  <timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
23
25
  </endpoints>
24
- <!--}}}-->
25
- <description xmlns="http://cpee.org/ns/properties/2.0">
26
+ <description>
26
27
  <description xmlns="http://cpee.org/ns/description/1.0">
27
28
  <!--{{{-->
28
29
  <call id="a1" endpoint="timeout">
@@ -69,7 +70,7 @@
69
70
  </call>
70
71
  </description>
71
72
  </description>
72
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
73
+ <transformation>
73
74
  <description type="copy"/>
74
75
  <dataelements type="rest"/>
75
76
  <endpoints type="rest"/>
@@ -1,10 +1,10 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <i>0</i>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <endpoints>
7
- <start_url>http://localhost:9296/url/</start_url>
7
+ <start_url>https://cpee.org/flow/start/url/</start_url>
8
8
  </endpoints>
9
9
  <positions/>
10
10
  <description>
@@ -81,6 +81,6 @@
81
81
  <creator>Christine Ashcreek</creator>
82
82
  <author>Christine Ashcreek</author>
83
83
  <design_stage>development</design_stage>
84
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
84
+ <design_dir>Templates.dir</design_dir>
85
85
  </attributes>
86
86
  </testset>
@@ -1,8 +1,8 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <i>0</i>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <endpoints>
7
7
  <start_url>https://cpee.org/flow/start/url/</start_url>
8
8
  </endpoints>
@@ -81,6 +81,6 @@
81
81
  <creator>Christine Ashcreek</creator>
82
82
  <author>Christine Ashcreek</author>
83
83
  <design_stage>development</design_stage>
84
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
84
+ <design_dir>Templates.dir</design_dir>
85
85
  </attributes>
86
86
  </testset>
@@ -1,6 +1,6 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements/>
3
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
4
  <endpoints>
5
5
  <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
6
6
  <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
@@ -181,6 +181,6 @@ data.item['adjust_y'] = (data.direction_first['y'] + data.direction_second['y'])
181
181
  <creator>Christine Ashcreek</creator>
182
182
  <author>Christine Ashcreek</author>
183
183
  <design_stage>development</design_stage>
184
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
184
+ <design_dir>Templates.dir</design_dir>
185
185
  </attributes>
186
186
  </testset>
@@ -1,8 +1,8 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <handlers>
7
7
  <handler url="http://tango.wst.univie.ac.at:9332">
8
8
  <votes topic="state">change</votes>
@@ -202,6 +202,6 @@ data.item['y'] = data.items.first['y'] + data.item['adjust_y']</finalize>
202
202
  <creator>Christine Ashcreek</creator>
203
203
  <author>Christine Ashcreek</author>
204
204
  <design_stage>development</design_stage>
205
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
205
+ <design_dir>Templates.dir</design_dir>
206
206
  </attributes>
207
207
  </testset>
@@ -1,8 +1,8 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <handlers>
7
7
  <handler url="http://tango.wst.univie.ac.at:9332">
8
8
  <votes topic="state">change</votes>
@@ -196,6 +196,6 @@ data.item = result[0]</finalize>
196
196
  <creator>Christine Ashcreek</creator>
197
197
  <author>Christine Ashcreek</author>
198
198
  <design_stage>development</design_stage>
199
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
199
+ <design_dir>Templates.dir</design_dir>
200
200
  </attributes>
201
201
  </testset>
@@ -1,6 +1,6 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements/>
3
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
4
  <handlers>
5
5
  <handler url="http://tango.wst.univie.ac.at:9332">
6
6
  <votes topic="state">change</votes>
@@ -150,6 +150,6 @@ data.item = result[0]</finalize>
150
150
  <creator>Christine Ashcreek</creator>
151
151
  <author>Christine Ashcreek</author>
152
152
  <design_stage>development</design_stage>
153
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
153
+ <design_dir>Templates.dir</design_dir>
154
154
  </attributes>
155
155
  </testset>
@@ -1,5 +1,5 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
2
+ <executionhandler>ruby</executionhandler>
3
3
  <handlers>
4
4
  <handler url="http://tango.wst.univie.ac.at:9332">
5
5
  <votes topic="state">change</votes>
@@ -25,6 +25,8 @@
25
25
  <creator>Christine Ashcreek</creator>
26
26
  <author>Christine Ashcreek</author>
27
27
  <design_stage>development</design_stage>
28
- <design_dir>/home/demo/Projects/cpee/cockpit/templates</design_dir>
28
+ <design_dir>Templates.dir</design_dir>
29
+ <theme>extended</theme>
30
+ <info>UR-VUE 2020</info>
29
31
  </attributes>
30
32
  </testset>
@@ -1,14 +1,14 @@
1
- <testset>
2
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
3
- <bla xmlns="http://riddl.org/ns/common-patterns/properties/1.0"/>
1
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
3
+ <dataelements>
4
+ <bla/>
4
5
  </dataelements>
5
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
6
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
7
- <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
8
- <worklist xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9398</worklist>
6
+ <endpoints>
7
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
8
+ <worklist>http://cpee.org:9398</worklist>
9
9
  </endpoints>
10
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
11
- <description xmlns="http://cpee.org/ns/properties/2.0">
10
+ <positions/>
11
+ <description>
12
12
  <description xmlns="http://cpee.org/ns/description/1.0">
13
13
  <call id="a1" endpoint="worklist">
14
14
  <parameters>
@@ -29,14 +29,19 @@
29
29
  </call>
30
30
  </description>
31
31
  </description>
32
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
32
+ <transformation>
33
33
  <description type="copy"/>
34
34
  <dataelements type="none"/>
35
35
  <endpoints type="none"/>
36
36
  </transformation>
37
- <attributes xmlns="http://cpee.org/ns/properties/2.0">
38
- <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">asda</info>
39
- <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
40
- <organisation1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/orgviz/organisation_informatik.xml</organisation1>
37
+ <attributes>
38
+ <info>Worklist</info>
39
+ <modeltype>CPEE</modeltype>
40
+ <organisation1>http://cpee.org/~demo/orgviz/organisation_informatik.xml</organisation1>
41
+ <theme>extended</theme>
42
+ <creator>Christine Ashcreek</creator>
43
+ <author>Christine Ashcreek</author>
44
+ <design_stage>development</design_stage>
45
+ <design_dir>Templates.dir</design_dir>
41
46
  </attributes>
42
47
  </testset>
@@ -1,10 +1,10 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <time>5</time>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <endpoints>
7
- <start_url>http://localhost:9296/url/</start_url>
7
+ <start_url>https://localhost/flow/start/url/</start_url>
8
8
  </endpoints>
9
9
  <positions/>
10
10
  <description>
@@ -1,8 +1,8 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <time>5</time>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <endpoints>
7
7
  <fetch>https://cpee.org/perf</fetch>
8
8
  </endpoints>
@@ -1,6 +1,6 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements/>
3
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
4
  <endpoints>
5
5
  <start_url>https://cpee.org/flow/start/url/</start_url>
6
6
  <timeout>https://cpee.org/services/timeout.php</timeout>
@@ -55,4 +55,4 @@
55
55
  <customer>pilotfabrik</customer>
56
56
  <status>development</status>
57
57
  </attributes>
58
- </testset>
58
+ </testset>
@@ -1,8 +1,8 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <executionhandler>ruby</executionhandler>
2
3
  <dataelements>
3
4
  <time>15</time>
4
5
  </dataelements>
5
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
6
  <endpoints>
7
7
  <timeout>https://cpee.org/services/timeout.php</timeout>
8
8
  </endpoints>
@@ -45,4 +45,4 @@
45
45
  <customer>pilotfabrik</customer>
46
46
  <status>development</status>
47
47
  </attributes>
48
- </testset>
48
+ </testset>
@@ -2,6 +2,12 @@
2
2
  <attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
3
3
  <data type="integer"/>
4
4
  </attribute>
5
+ <attribute name="cancel" rngui:label="Cancel" rngui:default="last" rngui:hint="Set 'Wait' to 1 for standard Event-based Gateway.">
6
+ <choice>
7
+ <value id='last'>After Last Task in Branch</value>
8
+ <value id='first'>After First Task in Branch (Event-Based Gateway)</value>
9
+ </choice>
10
+ </attribute>
5
11
  <element rngui:ignore="true" name="parallel_branch">
6
12
  <attribute name="pass">
7
13
  <data type="string"/>
@@ -0,0 +1,83 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data elements (internal context) in the process can be used as input for context data probes. All probes can be the basis for impact factors. Please go to individual tasks to define deal with data that is ">
3
+
4
+ <element name="probes" rngui:header="Context Data Extraction" rngui:fold="closed">
5
+ <zeroOrMore rngui:label="Add Probe">
6
+ <element name="probe">
7
+ <element name="name" rngui:label="Label">
8
+ <data type="string" rngui:label="Label"/>
9
+ </element>
10
+ <element name="extractor_type" rngui:label="Extractor Type">
11
+ <choice>
12
+ <value id='code'>Extractor Code</value>
13
+ <value id='service'>Extractor Service</value>
14
+ </choice>
15
+ </element>
16
+ <element name="extractor_code" rngui:label="Extractor Code">
17
+ <text rngui:label="Service Url"/>
18
+ </element>
19
+ <element name="extractor_url" rngui:label="Extractor Service">
20
+ <data type="string" rngui:label="Service Url"/>
21
+ </element>
22
+ <element name="extractor_params" rngui:label="Extractor Service Arguments:">
23
+ <zeroOrMore rngui:label="Create Extractor Argument Pairs">
24
+ <element rngui:label="Name">
25
+ <anyName/>
26
+ <data type="string" rngui:label="Value / Json"/>
27
+ </element>
28
+ </zeroOrMore>
29
+ </element>
30
+ <element name="visualizer_url" rngui:label="Visualizer Url">
31
+ <data type="string" rngui:label="Service Url"/>
32
+ </element>
33
+ <element name="visualizer_params" rngui:label="Visualizer Arguments">
34
+ <zeroOrMore rngui:label="Create Visualizer Argument Pairs">
35
+ <element rngui:label="Name">
36
+ <anyName/>
37
+ <data type="string" rngui:label="Value / Json"/>
38
+ </element>
39
+ </zeroOrMore>
40
+ </element>
41
+ </element>
42
+ </zeroOrMore>
43
+ </element>
44
+
45
+ <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
46
+ <zeroOrMore rngui:label="Add Impact Profile">
47
+ <element name="ip">
48
+ <element name="name" rngui:label="Label">
49
+ <data type="string" rngui:label="Label"/>
50
+ </element>
51
+ <element name="target" rngui:label="Target Value">
52
+ <data type="string" rngui:label="Value"/>
53
+ </element>
54
+ <element name="ifs" rngui:header="Impact Factors">
55
+ <zeroOrMore rngui:label="Add Impact Factor">
56
+ <element name="if">
57
+ <element name="ivs" rngui:header="Impact Values">
58
+ <zeroOrMore rngui:label="Add Impact Value ">
59
+ <element name="iv">
60
+ <element name="extractor_url" rngui:label="Extractor Url">
61
+ <data type="string" rngui:label="Service Url + Parameters"/>
62
+ </element>
63
+ <element name="aggregator_url" rngui:label="Aggregator Url">
64
+ <data type="string" rngui:label="Service Url + Parameters"/>
65
+ </element>
66
+ </element>
67
+ </zeroOrMore>
68
+ </element>
69
+ <element name="aggregator_url" rngui:label="Impact Function Url">
70
+ <data type="string" rngui:label="Service Url + Parameters"/>
71
+ </element>
72
+ </element>
73
+ </zeroOrMore>
74
+ </element>
75
+ <element name="vfunc_url" rngui:label="Violation Function Url">
76
+ <data type="string" rngui:label="Service Url + Parameters"/>
77
+ </element>
78
+ </element>
79
+ </zeroOrMore>
80
+ </element>
81
+
82
+ </element>
83
+ </element>
@@ -1,8 +1,8 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <rect x="1" y="3" width="24" height="24" rx="4" class="hfill rfill cline stand"/>
3
3
 
4
- <circle cx="24" cy="15" r="10" class="cline rfill stand" style="stroke-dasharray: 1,3"/>
5
- <circle cx="24" cy="15" r="7" class="cline rfill stand" style="stroke-dasharray: 1,3"/>
4
+ <circle cx="24" cy="15" r="9" class="cline rfill standthin" style="stroke-dasharray: 1,2"/>
5
+ <circle cx="24" cy="15" r="7" class="cline rfill standthin" style="stroke-dasharray: 1,2"/>
6
6
  <line x1="24" y1="11" x2="20" y2="18" class="stand"/>
7
7
  <line x1="20" y1="18" x2="28" y2="18" class="stand"/>
8
8
  <line x1="28" y1="18" x2="24" y2="11" class="stand"/>
@@ -0,0 +1,9 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline hfill stand"/>
3
+ <circle cx="15.5" cy="15.5" r="8" class="standthin"/>
4
+ <circle cx="15.5" cy="15.5" r="6" class="standthin"/>
5
+ <path
6
+ d="m 15.500001,11.435193 3.825246,2.779205 -1.461114,4.496849 h -4.728265 l -1.461115,-4.496849 z"
7
+ class="stand"/>
8
+ </svg>
9
+
@@ -0,0 +1,8 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline hfill stand"/>
3
+ <circle cx="15.5" cy="15.5" r="8" class="standthin"/>
4
+ <circle cx="15.5" cy="15.5" r="6" class="standthin"/>
5
+ <line x1="12.5" y1="15.5" x2="18.5" y2="15.5" class="stand"/>
6
+ <line x1="15.5" y1="12.5" x2="15.5" y2="18.5" class="stand"/>
7
+ </svg>
8
+
@@ -1,3 +1,3 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="15" cy="15" r="14" class="stand"/>
2
+ <circle cx="15" cy="15" r="14" class="cline hfill rfill stand"/>
3
3
  </svg>
@@ -481,8 +481,12 @@ function WFAdaptorManifestation(adaptor) {
481
481
  'endnodes': 'this',
482
482
  'svg': self.adaptor.theme_dir + 'symbols/parallel.svg',
483
483
  'resolve_symbol': function(node) {
484
- if($(node).attr('wait') == '-1') {
484
+ if($(node).attr('cancel') == 'last' && $(node).attr('wait') == '-1') {
485
485
  return 'parallel_simple';
486
+ } else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == '-1') {
487
+ return 'parallel_event_all';
488
+ } else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == '1') {
489
+ return 'parallel_event_one';
486
490
  } else {
487
491
  return 'parallel_complex';
488
492
  }
@@ -848,7 +852,16 @@ function WFAdaptorManifestation(adaptor) {
848
852
  'col_shift': function(node) {
849
853
  return true;
850
854
  },
851
- 'svg': self.adaptor.theme_dir + 'symbols/parallel.svg'
855
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel.svg',
856
+ 'resolve_symbol': function(node) {
857
+ if($(node).attr('cancel') == 'last') {
858
+ return 'parallel_start';
859
+ } else if($(node).attr('cancel') == 'first' && $(node).attr('wait') == 1) {
860
+ return 'parallel_eventbased_exclusive';
861
+ } else {
862
+ return 'parallel_eventbased_parallel';
863
+ }
864
+ },
852
865
  },//}}}
853
866
  'description': self.adaptor.theme_dir + 'rngs/parallel.rng',
854
867
  'permissible_children': function(node,mode) { //{{{
@@ -1275,6 +1288,24 @@ function WFAdaptorManifestation(adaptor) {
1275
1288
  'svg': self.adaptor.theme_dir + 'symbols/choose_exclusive.svg'
1276
1289
  },//}}}
1277
1290
  }; /*}}}*/
1291
+ this.elements.parallel_start = { /*{{{*/
1292
+ 'parent': 'parallel',
1293
+ 'illustrator': {//{{{
1294
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel.svg'
1295
+ }//}}}
1296
+ }; /*}}}*/
1297
+ this.elements.parallel_eventbased_exclusive = { /*{{{*/
1298
+ 'parent': 'parallel',
1299
+ 'illustrator': {//{{{
1300
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel_eventbased_exclusive.svg'
1301
+ }//}}}
1302
+ }; /*}}}*/
1303
+ this.elements.parallel_eventbased_parallel = { /*{{{*/
1304
+ 'parent': 'parallel',
1305
+ 'illustrator': {//{{{
1306
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel_eventbased_parallel.svg'
1307
+ }//}}}
1308
+ }; /*}}}*/
1278
1309
  this.elements.parallel_simple = { /*{{{*/
1279
1310
  'parent': 'parallel_finish',
1280
1311
  'illustrator': {//{{{
@@ -1287,6 +1318,18 @@ function WFAdaptorManifestation(adaptor) {
1287
1318
  'svg': self.adaptor.theme_dir + 'symbols/complex.svg'
1288
1319
  },//}}}
1289
1320
  }; /*}}}*/
1321
+ this.elements.parallel_event_all = { /*{{{*/
1322
+ 'parent': 'parallel_finish',
1323
+ 'illustrator': {//{{{
1324
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel_eventbased_parallel.svg'
1325
+ }//}}}
1326
+ }; /*}}}*/
1327
+ this.elements.parallel_event_one = { /*{{{*/
1328
+ 'parent': 'parallel_finish',
1329
+ 'illustrator': {//{{{
1330
+ 'svg': self.adaptor.theme_dir + 'symbols/parallel_eventbased_exclusive.svg'
1331
+ }//}}}
1332
+ }; /*}}}*/
1290
1333
  this.elements.parallel_branch_normal = { /*{{{*/
1291
1334
  'parent': 'parallel_branch',
1292
1335
  'illustrator': {//{{{