cpee 1.3.214 → 1.3.215

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/wfadaptor.css +73 -5
  3. data/cockpit/js/instance.js +43 -24
  4. data/cockpit/js/wfadaptor.js +56 -26
  5. data/cockpit/testsets/Coopis Testset.xml +4 -1
  6. data/cockpit/testsets/ICSOC Testset.xml +6 -0
  7. data/cockpit/themes/adventure/theme.js +1 -0
  8. data/cockpit/themes/default/symbols/alternative.svg +1 -1
  9. data/cockpit/themes/default/symbols/call.svg +1 -1
  10. data/cockpit/themes/default/symbols/callcorrelationreceive.svg +2 -2
  11. data/cockpit/themes/default/symbols/callcorrelationsend.svg +2 -2
  12. data/cockpit/themes/default/symbols/callinstantiation.svg +1 -1
  13. data/cockpit/themes/default/symbols/callmanipulate.svg +2 -2
  14. data/cockpit/themes/default/symbols/callmanipulateworklist.svg +2 -2
  15. data/cockpit/themes/default/symbols/callworklist.svg +1 -1
  16. data/cockpit/themes/default/symbols/choose.svg +1 -1
  17. data/cockpit/themes/default/symbols/choose_exclusive.svg +1 -1
  18. data/cockpit/themes/default/symbols/choose_inclusive.svg +1 -1
  19. data/cockpit/themes/default/symbols/critical.svg +1 -1
  20. data/cockpit/themes/default/symbols/escape.svg +2 -2
  21. data/cockpit/themes/default/symbols/loop.svg +1 -1
  22. data/cockpit/themes/default/symbols/manipulate.svg +1 -1
  23. data/cockpit/themes/default/symbols/otherwise.svg +1 -1
  24. data/cockpit/themes/default/symbols/parallel.svg +1 -1
  25. data/cockpit/themes/default/symbols/parallel_branch.svg +1 -1
  26. data/cockpit/themes/default/symbols/scripts.svg +1 -1
  27. data/cockpit/themes/default/theme.js +66 -52
  28. data/cockpit/themes/labels/symbols/alternative.svg +1 -1
  29. data/cockpit/themes/labels/symbols/call.svg +1 -1
  30. data/cockpit/themes/labels/symbols/callcorrelationreceive.svg +2 -2
  31. data/cockpit/themes/labels/symbols/callcorrelationsend.svg +3 -3
  32. data/cockpit/themes/labels/symbols/callinstantiation.svg +1 -1
  33. data/cockpit/themes/labels/symbols/callmanipulate.svg +2 -2
  34. data/cockpit/themes/labels/symbols/callmanipulateworklist.svg +2 -2
  35. data/cockpit/themes/labels/symbols/callworklist.svg +1 -1
  36. data/cockpit/themes/labels/symbols/choose.svg +1 -1
  37. data/cockpit/themes/labels/symbols/choose_exclusive.svg +1 -1
  38. data/cockpit/themes/labels/symbols/choose_inclusive.svg +1 -1
  39. data/cockpit/themes/labels/symbols/critical.svg +1 -1
  40. data/cockpit/themes/labels/symbols/escape.svg +2 -2
  41. data/cockpit/themes/labels/symbols/loop.svg +1 -1
  42. data/cockpit/themes/labels/symbols/manipulate.svg +1 -1
  43. data/cockpit/themes/labels/symbols/otherwise.svg +1 -1
  44. data/cockpit/themes/labels/symbols/parallel.svg +1 -1
  45. data/cockpit/themes/labels/symbols/parallel_branch.svg +1 -1
  46. data/cockpit/themes/labels/symbols/scripts.svg +1 -1
  47. data/cockpit/themes/labels/theme.js +66 -52
  48. data/cpee.gemspec +1 -1
  49. data/log/logoverlay.xml +1 -1
  50. data/log/server.rb +21 -8
  51. data/log/yaml/server.rb +6 -0
  52. data/log/yaml/yaml.rb +5 -5
  53. data/server/instances/21/properties.xml +156 -0
  54. data/server/instances/22/properties.xml +118 -0
  55. data/server/instances/23/properties.xml +118 -0
  56. data/server/instances/24/properties.xml +156 -0
  57. data/server/instances/25/properties.xml +156 -0
  58. data/server/instances/26/properties.xml +156 -0
  59. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/consumer-secret +1 -0
  60. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/producer-secret +1 -0
  61. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/subscription.xml +38 -0
  62. data/server/instances/27/properties.xml +140 -0
  63. data/server/instances/6/properties.xml +11 -11
  64. data/server/instances/7/properties.xml +111 -75
  65. data/server/server.pid +1 -0
  66. metadata +13 -2
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="rfill cline stand"/>
3
3
  <path class="normal" style="fill:#000000;" d="m 21.561187,10.184155 c 0,-0.03232 0,-0.03232 0,-0.03232 C 21.076371,9.5054099 20.494591,8.9559512 19.815848,8.4388133 l 0,0.032323 C 19.266389,8.891311 18.71693,9.3438064 18.199794,9.7963017 17.973545,9.6670167 17.779619,9.5700535 17.585693,9.4730903 17.327124,9.3438064 17.068556,9.2145213 16.777665,9.1498799 16.680695,9.1175569 16.583739,9.0852339 16.486775,9.0852339 16.422135,8.3741695 16.357491,7.6631063 16.260528,6.952042 15.937318,6.887396 15.614106,6.887396 15.258574,6.855073 c -0.09697,0 -0.193926,0 -0.258569,0 -0.09697,0 -0.193925,0 -0.258568,0 -0.323211,0.032323 -0.614101,0.032323 -0.90499,0.096969 -0.09697,0.6787425 -0.161606,1.3898068 -0.193927,2.1008712 -0.129284,0 -0.226248,0.032323 -0.355532,0.064646 -0.03232,0 -0.06465,0 -0.09697,0.032323 -0.258568,0.064646 -0.517136,0.1939264 -0.775704,0.3232103 -0.226249,0.096969 -0.420175,0.1939264 -0.614102,0.3232114 -0.549458,-0.4524953 -1.066595,-0.87267 -1.616054,-1.3251654 0,0 0,0 -0.03232,-0.032323 C 10.022552,8.5357845 9.8932693,8.6327419 9.7963053,8.7297051 9.5700583,8.8913109 9.3761314,9.0852373 9.2145262,9.2791637 8.9236366,9.5377327 8.6973883,9.8609431 8.4388194,10.184155 c 0,0 0,0 0.032323,0 0.4201747,0.549459 0.87267,1.066596 1.325166,1.616054 -0.129285,0.193927 -0.258569,0.420175 -0.355533,0.614101 -0.129285,0.258569 -0.226248,0.549459 -0.2908894,0.808028 -0.064646,0.129284 -0.096969,0.258568 -0.096969,0.355531 -0.7110644,0.06465 -1.4221288,0.129285 -2.1008713,0.226248 -0.064646,0.323211 -0.096969,0.646422 -0.096969,1.001954 0,0.484816 0.032323,0.969632 0.1292839,1.422128 0.6787437,0.06465 1.3574862,0.129284 2.0685505,0.193926 0,0.129284 0.032323,0.258569 0.096969,0.355532 0.064646,0.29089 0.1616049,0.549459 0.2908899,0.840349 0.129284,0.226247 0.2262471,0.452495 0.387853,0.646421 -0.452496,0.549459 -0.9049912,1.066596 -1.3251647,1.616054 0.484816,0.678744 1.0665957,1.260523 1.7453387,1.74534 l 0,-0.03232 c 0.517137,-0.420175 1.066596,-0.87267 1.583733,-1.325166 l 0.03232,0 c 0.161605,0.09697 0.355532,0.193928 0.517136,0.290891 0.290891,0.129284 0.614101,0.258568 0.904991,0.32321 0.129284,0.03232 0.226248,0.06465 0.32321,0.09697 0.06465,0.678743 0.129285,1.389807 0.226249,2.100871 0.290889,0.03232 0.581779,0.06465 0.90499,0.06465 0.06465,0 0.258568,0 0.484817,0 0.355532,0 0.711064,-0.03232 1.066595,-0.09697 0.06465,-0.678742 0.129285,-1.389807 0.193926,-2.10087 0.09697,-0.03232 0.193927,-0.06465 0.29089,-0.09697 l 0,0 c 0.290891,-0.06464 0.549459,-0.161605 0.808028,-0.290889 0.226248,-0.09697 0.452495,-0.226248 0.678743,-0.387854 0,0.03232 0,0.03232 0.03232,0.03232 0.517137,0.452495 1.066596,0.904989 1.616054,1.325164 0.09697,-0.06465 0.193927,-0.129284 0.323212,-0.226247 0.193926,-0.161606 0.387852,-0.355532 0.549458,-0.549459 0.29089,-0.290889 0.58178,-0.614101 0.840348,-0.969633 -0.452495,-0.549459 -0.90499,-1.098917 -1.357486,-1.616054 0,-0.03232 0,-0.03232 0,-0.03232 0.09697,-0.161605 0.193927,-0.355531 0.29089,-0.549457 0.09696,-0.258569 0.226248,-0.517138 0.29089,-0.775707 0,-0.03232 0,-0.06465 0.03232,-0.06465 0,-0.129285 0.03232,-0.226248 0.06465,-0.290891 0.711065,-0.06465 1.422129,-0.129284 2.100872,-0.193926 0.06464,-0.323211 0.06464,-0.646422 0.09697,-0.969632 0,-0.09697 0,-0.193927 0,-0.29089 0,-0.06465 0,-0.161606 0,-0.258569 -0.03232,-0.323212 -0.03232,-0.646422 -0.09697,-0.969633 -0.678743,-0.06465 -1.389807,-0.129284 -2.100872,-0.193927 -0.03232,-0.09697 -0.06465,-0.193926 -0.06465,-0.290889 -0.09697,-0.29089 -0.193927,-0.58178 -0.323212,-0.872669 -0.09697,-0.193927 -0.226247,-0.420175 -0.32321,-0.614102 0.420173,-0.517136 0.872669,-1.066595 1.325164,-1.616054 z m -8.629731,2.682651 c 0.581779,-0.614101 1.292844,-0.904991 2.100871,-0.87267 0.840348,-0.03232 1.519091,0.258569 2.133192,0.87267 0.581779,0.581779 0.872669,1.292843 0.872669,2.10087 0,0.840348 -0.29089,1.519092 -0.872669,2.133192 -0.614101,0.58178 -1.292844,0.87267 -2.133192,0.87267 -0.808027,0 -1.519092,-0.29089 -2.100871,-0.87267 -0.581779,-0.6141 -0.872669,-1.292844 -0.872669,-2.133192 0,-0.808027 0.29089,-1.519091 0.872669,-2.10087 z"/>
4
4
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="15" cy="15" r="14" class="stand"/>
3
- <circle cx="15" cy="15" r="11" class="stand"/>
2
+ <circle cx="15" cy="15" r="14" class="cline stand"/>
3
+ <circle cx="15" cy="15" r="11" class="cline rfill stand"/>
4
4
  <rect x="9" y="11" width="12" height="8" class="black" style="fill: none"/>
5
5
  <path d="m 9,11 6,4 6,-4" class="black" style="fill: none"/>
6
6
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="15" cy="15" r="14" class="stand"/>
3
- <circle cx="15" cy="15" r="11" class="stand"/>
2
+ <circle cx="15" cy="15" r="14" class="cline stand"/>
3
+ <circle cx="15" cy="15" r="11" class="cline rfill stand"/>
4
4
  <rect x="9" y="11" width="12" height="8" class="black"/>
5
5
  <path d="m 9,11 6,3 6,-3" class="white" style="fill: none;"/>
6
6
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand" style="stroke-dasharray: 1, 3;"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="cline rfill stand" style="stroke-dasharray: 1, 3;"/>
3
3
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="cline rfill stand"/>
3
3
  <path class="normal" transform="translate(-2,-2)" style="fill:#000000;" d="m 21.561187,10.184155 c 0,-0.03232 0,-0.03232 0,-0.03232 C 21.076371,9.5054099 20.494591,8.9559512 19.815848,8.4388133 l 0,0.032323 C 19.266389,8.891311 18.71693,9.3438064 18.199794,9.7963017 17.973545,9.6670167 17.779619,9.5700535 17.585693,9.4730903 17.327124,9.3438064 17.068556,9.2145213 16.777665,9.1498799 16.680695,9.1175569 16.583739,9.0852339 16.486775,9.0852339 16.422135,8.3741695 16.357491,7.6631063 16.260528,6.952042 15.937318,6.887396 15.614106,6.887396 15.258574,6.855073 c -0.09697,0 -0.193926,0 -0.258569,0 -0.09697,0 -0.193925,0 -0.258568,0 -0.323211,0.032323 -0.614101,0.032323 -0.90499,0.096969 -0.09697,0.6787425 -0.161606,1.3898068 -0.193927,2.1008712 -0.129284,0 -0.226248,0.032323 -0.355532,0.064646 -0.03232,0 -0.06465,0 -0.09697,0.032323 -0.258568,0.064646 -0.517136,0.1939264 -0.775704,0.3232103 -0.226249,0.096969 -0.420175,0.1939264 -0.614102,0.3232114 -0.549458,-0.4524953 -1.066595,-0.87267 -1.616054,-1.3251654 0,0 0,0 -0.03232,-0.032323 C 10.022552,8.5357845 9.8932693,8.6327419 9.7963053,8.7297051 9.5700583,8.8913109 9.3761314,9.0852373 9.2145262,9.2791637 8.9236366,9.5377327 8.6973883,9.8609431 8.4388194,10.184155 c 0,0 0,0 0.032323,0 0.4201747,0.549459 0.87267,1.066596 1.325166,1.616054 -0.129285,0.193927 -0.258569,0.420175 -0.355533,0.614101 -0.129285,0.258569 -0.226248,0.549459 -0.2908894,0.808028 -0.064646,0.129284 -0.096969,0.258568 -0.096969,0.355531 -0.7110644,0.06465 -1.4221288,0.129285 -2.1008713,0.226248 -0.064646,0.323211 -0.096969,0.646422 -0.096969,1.001954 0,0.484816 0.032323,0.969632 0.1292839,1.422128 0.6787437,0.06465 1.3574862,0.129284 2.0685505,0.193926 0,0.129284 0.032323,0.258569 0.096969,0.355532 0.064646,0.29089 0.1616049,0.549459 0.2908899,0.840349 0.129284,0.226247 0.2262471,0.452495 0.387853,0.646421 -0.452496,0.549459 -0.9049912,1.066596 -1.3251647,1.616054 0.484816,0.678744 1.0665957,1.260523 1.7453387,1.74534 l 0,-0.03232 c 0.517137,-0.420175 1.066596,-0.87267 1.583733,-1.325166 l 0.03232,0 c 0.161605,0.09697 0.355532,0.193928 0.517136,0.290891 0.290891,0.129284 0.614101,0.258568 0.904991,0.32321 0.129284,0.03232 0.226248,0.06465 0.32321,0.09697 0.06465,0.678743 0.129285,1.389807 0.226249,2.100871 0.290889,0.03232 0.581779,0.06465 0.90499,0.06465 0.06465,0 0.258568,0 0.484817,0 0.355532,0 0.711064,-0.03232 1.066595,-0.09697 0.06465,-0.678742 0.129285,-1.389807 0.193926,-2.10087 0.09697,-0.03232 0.193927,-0.06465 0.29089,-0.09697 l 0,0 c 0.290891,-0.06464 0.549459,-0.161605 0.808028,-0.290889 0.226248,-0.09697 0.452495,-0.226248 0.678743,-0.387854 0,0.03232 0,0.03232 0.03232,0.03232 0.517137,0.452495 1.066596,0.904989 1.616054,1.325164 0.09697,-0.06465 0.193927,-0.129284 0.323212,-0.226247 0.193926,-0.161606 0.387852,-0.355532 0.549458,-0.549459 0.29089,-0.290889 0.58178,-0.614101 0.840348,-0.969633 -0.452495,-0.549459 -0.90499,-1.098917 -1.357486,-1.616054 0,-0.03232 0,-0.03232 0,-0.03232 0.09697,-0.161605 0.193927,-0.355531 0.29089,-0.549457 0.09696,-0.258569 0.226248,-0.517138 0.29089,-0.775707 0,-0.03232 0,-0.06465 0.03232,-0.06465 0,-0.129285 0.03232,-0.226248 0.06465,-0.290891 0.711065,-0.06465 1.422129,-0.129284 2.100872,-0.193926 0.06464,-0.323211 0.06464,-0.646422 0.09697,-0.969632 0,-0.09697 0,-0.193927 0,-0.29089 0,-0.06465 0,-0.161606 0,-0.258569 -0.03232,-0.323212 -0.03232,-0.646422 -0.09697,-0.969633 -0.678743,-0.06465 -1.389807,-0.129284 -2.100872,-0.193927 -0.03232,-0.09697 -0.06465,-0.193926 -0.06465,-0.290889 -0.09697,-0.29089 -0.193927,-0.58178 -0.323212,-0.872669 -0.09697,-0.193927 -0.226247,-0.420175 -0.32321,-0.614102 0.420173,-0.517136 0.872669,-1.066595 1.325164,-1.616054 z m -8.629731,2.682651 c 0.581779,-0.614101 1.292844,-0.904991 2.100871,-0.87267 0.840348,-0.03232 1.519091,0.258569 2.133192,0.87267 0.581779,0.581779 0.872669,1.292843 0.872669,2.10087 0,0.840348 -0.29089,1.519092 -0.872669,2.133192 -0.614101,0.58178 -1.292844,0.87267 -2.133192,0.87267 -0.808027,0 -1.519092,-0.29089 -2.100871,-0.87267 -0.581779,-0.6141 -0.872669,-1.292844 -0.872669,-2.133192 0,-0.808027 0.29089,-1.519091 0.872669,-2.10087 z"/>
4
- <circle cx="28" cy="27" r="9" class="rfill stand"/>
4
+ <circle cx="28" cy="27" r="9" class="cline rfill stand"/>
5
5
  <text transform="translate(28,31)" class="small">s</text>
6
6
  </svg>
@@ -1,6 +1,6 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="cline rfill stand"/>
3
3
  <path transform="translate(-2,-2)" class="normal" style="fill:#000000;" d="m 15,6.5 a 3.9999995,4 0 0 0 -4,4 3.9999995,4 0 0 0 4,4 3.9999995,4 0 0 0 4,-4 3.9999995,4 0 0 0 -4,-4 z m 0,8 -3.5,0 c -1.108,0 -2,0.892 -2,2 l 0,5 c 0,1.108 0.892,2 2,2 l 7,0 c 1.108,0 2,-0.892 2,-2 l 0,-5 c 0,-1.108 -0.892,-2 -2,-2 l -3.5,0 z"/>
4
- <circle cx="28" cy="27" r="9" class="rfill stand"/>
4
+ <circle cx="28" cy="27" r="9" class="cline rfill stand"/>
5
5
  <text transform="translate(28,31)" class="small">s</text>
6
6
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="cline rfill stand"/>
3
3
  <path class="normal" style="fill:#000000;" d="m 15,6.5 a 3.9999995,4 0 0 0 -4,4 3.9999995,4 0 0 0 4,4 3.9999995,4 0 0 0 4,-4 3.9999995,4 0 0 0 -4,-4 z m 0,8 -3.5,0 c -1.108,0 -2,0.892 -2,2 l 0,5 c 0,1.108 0.892,2 2,2 l 7,0 c 1.108,0 2,-0.892 2,-2 l 0,-5 c 0,-1.108 -0.892,-2 -2,-2 l -3.5,0 z"/>
4
4
  </svg>
@@ -1,5 +1,5 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
4
4
  <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
5
5
  </svg>
@@ -1,5 +1,5 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
4
4
  <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
5
5
  </svg>
@@ -1,4 +1,4 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <circle cx="15.5" cy="15.5" r="7" class="stand"/>
4
4
  </svg>
@@ -1,4 +1,4 @@
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 stand"/>
3
3
  <text transform="translate(15,21)" class="normal">⚠</text>
4
4
  </svg>
@@ -1,5 +1,5 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="15" cy="15" r="14" class="stand"/>
3
- <circle cx="15" cy="15" r="11" class="stand"/>
2
+ <circle cx="15" cy="15" r="14" class="stand cline"/>
3
+ <circle cx="15" cy="15" r="11" class="stand cline"/>
4
4
  <polygon points="10.5,20.5 15,8.5 20.5,20.5 15,15.5 10.5,20.5" class="black"/>
5
5
  </svg>
@@ -1,5 +1,5 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
4
4
  <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
5
5
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="rfill cline stand"/>
3
3
  <text transform="translate(15,21)" class="normal">s</text>
4
4
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <circle cx="15" cy="15" r="9" class="standtrans"/>
3
- <line x1="9" y1="21" x2="21" y2="9" class="stand"/>
3
+ <line x1="9" y1="21" x2="21" y2="9" class="stand cline"/>
4
4
  </svg>
@@ -1,5 +1,5 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <text transform="translate(15,25)" class="normallarge">+</text>
4
4
  </svg>
5
5
 
@@ -1,4 +1,4 @@
1
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="stand"/>
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="cline stand"/>
3
3
  <text transform="translate(15,20)" class="small">|||</text>
4
4
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <rect x="1" y="1" width="28" height="28" rx="4" class="rfill stand"/>
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="rfill cline stand"/>
3
3
  <text transform="translate(15,21)" class="normal">s</text>
4
4
  </svg>
@@ -17,6 +17,15 @@ function WFAdaptorManifestation(adaptor) {
17
17
 
18
18
  return($X(ntxt));
19
19
  };
20
+ this.clicked = function(){
21
+ var svgid = 'unknown';
22
+ _.each(self.adaptor.illustrator.get_elements(),function(value,key) {
23
+ if ($(value).hasClass('clicked')) {
24
+ svgid = $(value).attr('element-id');
25
+ }
26
+ });
27
+ return svgid;
28
+ };
20
29
 
21
30
  // Events
22
31
  this.events.mousedown = function(svgid, e, child, sibling) { // {{{
@@ -68,11 +77,11 @@ function WFAdaptorManifestation(adaptor) {
68
77
  if (self.adaptor.description.get_node_by_svg_id(svgid).length == 0) {
69
78
  return;
70
79
  }
71
- self.adaptor.illustrator.get_nodes().removeClass('clicked');
80
+ self.adaptor.illustrator.get_elements().removeClass('clicked');
72
81
 
73
82
  var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
74
83
  if (vtarget.length > 0) {
75
- vtarget.addClass('clicked');
84
+ vtarget.parents('g.element[element-id]').addClass('clicked');
76
85
  }
77
86
 
78
87
  if ($('#state').text() != 'finished')
@@ -110,8 +119,9 @@ function WFAdaptorManifestation(adaptor) {
110
119
  this.elements.call = { /*{{{*/
111
120
  'type': 'primitive',
112
121
  'illustrator': {//{{{
113
- 'endnodes' : 'this',
114
- 'resolve_symbol' : function(node) {
122
+ 'endnodes': 'this',
123
+ 'label': function(node){return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
124
+ 'resolve_symbol': function(node) {
115
125
  if($(node).attr('endpoint').match(/^instantiation/)) {
116
126
  return 'callinstantiation';
117
127
  } else if($(node).attr('endpoint').match(/^correlation_send/)) {
@@ -143,7 +153,7 @@ function WFAdaptorManifestation(adaptor) {
143
153
  ];
144
154
  return [];
145
155
  }, //}}}
146
- 'adaptor' : {//{{{
156
+ 'adaptor': {//{{{
147
157
  'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
148
158
  'click': self.events.click,
149
159
  'dragstart': self.events.dragstart,
@@ -152,14 +162,14 @@ function WFAdaptorManifestation(adaptor) {
152
162
  this.elements.manipulate = { /*{{{*/
153
163
  'type': 'primitive',
154
164
  'illustrator': {//{{{
155
- 'endnodes' : 'this',
165
+ 'endnodes': 'this',
156
166
  'svg': self.adaptor.theme_dir + 'symbols/manipulate.svg'
157
167
  },//}}}
158
168
  'description': self.adaptor.theme_dir + 'rngs/manipulate.rng',
159
169
  'permissible_children': function(node) { //{{{
160
170
  return [];
161
171
  }, //}}}
162
- 'adaptor' : {//{{{
172
+ 'adaptor': {//{{{
163
173
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
164
174
  'click': self.events.click,
165
175
  }//}}}
@@ -167,14 +177,14 @@ function WFAdaptorManifestation(adaptor) {
167
177
  this.elements.escape = { /*{{{*/
168
178
  'type': 'primitive',
169
179
  'illustrator': {//{{{
170
- 'endnodes' : 'this',
180
+ 'endnodes': 'this',
171
181
  'svg': self.adaptor.theme_dir + 'symbols/escape.svg'
172
182
  },//}}}
173
183
  'description': self.adaptor.theme_dir + 'rngs/escape.rng',
174
184
  'permissible_children': function(node) { //{{{
175
185
  return [];
176
186
  }, //}}}
177
- 'adaptor' : {//{{{
187
+ 'adaptor': {//{{{
178
188
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
179
189
  'click': self.events.click,
180
190
  }//}}}
@@ -184,19 +194,20 @@ function WFAdaptorManifestation(adaptor) {
184
194
  this.elements.choose = { /*{{{*/
185
195
  'type': 'complex',
186
196
  'illustrator': {//{{{
187
- 'endnodes' : 'aggregate',
197
+ 'label': function(node){return $(node).attr('mode') == 'exclusive' ? 'exclusive' : 'inclusive' },
198
+ 'endnodes': 'aggregate',
188
199
  'closeblock': false,
189
- 'expansion' : function(node) {
200
+ 'expansion': function(node) {
190
201
  return 'horizontal';
191
202
  },
192
- 'resolve_symbol' : function(node) {
203
+ 'resolve_symbol': function(node) {
193
204
  if($(node).attr('mode') == 'exclusive') {
194
205
  return 'choose_exclusive';
195
206
  } else {
196
207
  return 'choose_inclusive';
197
208
  }
198
209
  },
199
- 'col_shift' : function(node) {
210
+ 'col_shift': function(node) {
200
211
  return false;
201
212
  },
202
213
  'svg': self.adaptor.theme_dir + 'symbols/choose.svg'
@@ -228,7 +239,7 @@ function WFAdaptorManifestation(adaptor) {
228
239
  'params': [self.adaptor.description.elements.parallel_branch, node]});
229
240
  return childs;
230
241
  }, //}}}
231
- 'adaptor' : {//{{{
242
+ 'adaptor': {//{{{
232
243
  'mousedown': function (node,e) {
233
244
  self.events.mousedown(node,e,true,true);
234
245
  },
@@ -241,12 +252,12 @@ function WFAdaptorManifestation(adaptor) {
241
252
  this.elements.otherwise = { /*{{{*/
242
253
  'type': 'complex',
243
254
  'illustrator': {//{{{
244
- 'endnodes' : 'passthrough',
255
+ 'endnodes': 'passthrough',
245
256
  'closeblock': false,
246
- 'expansion' : function(node) {
257
+ 'expansion': function(node) {
247
258
  return 'vertical';
248
259
  },
249
- 'col_shift' : function(node) {
260
+ 'col_shift': function(node) {
250
261
  return false;
251
262
  },
252
263
  'svg': self.adaptor.theme_dir + 'symbols/otherwise.svg'
@@ -289,7 +300,7 @@ function WFAdaptorManifestation(adaptor) {
289
300
  'params': [self.adaptor.description.elements.critical, node]}
290
301
  ];
291
302
  }, //}}}
292
- 'adaptor' : {//{{{
303
+ 'adaptor': {//{{{
293
304
  'mousedown': function (node,e) {
294
305
  self.events.mousedown(node,e,true,false);
295
306
  },
@@ -302,12 +313,13 @@ function WFAdaptorManifestation(adaptor) {
302
313
  this.elements.alternative = { /*{{{*/
303
314
  'type': 'complex',
304
315
  'illustrator': {//{{{
305
- 'endnodes' : 'passthrough',
316
+ 'label': function(node){return $(node).attr('condition')},
317
+ 'endnodes': 'passthrough',
306
318
  'closeblock':false,
307
- 'expansion' : function(node) {
319
+ 'expansion': function(node) {
308
320
  return 'vertical';
309
321
  },
310
- 'col_shift' : function(node) {
322
+ 'col_shift': function(node) {
311
323
  return false;
312
324
  },
313
325
  'svg': self.adaptor.theme_dir + 'symbols/alternative.svg'
@@ -353,7 +365,7 @@ function WFAdaptorManifestation(adaptor) {
353
365
  'params': [self.adaptor.description.elements.critical, node]}
354
366
  ];
355
367
  }, //}}}
356
- 'adaptor' : {//{{{
368
+ 'adaptor': {//{{{
357
369
  'mousedown': function (node,e) {
358
370
  self.events.mousedown(node,e,true,false);
359
371
  },
@@ -366,12 +378,13 @@ function WFAdaptorManifestation(adaptor) {
366
378
  this.elements.loop = { /*{{{*/
367
379
  'type': 'complex',
368
380
  'illustrator': {//{{{
369
- 'endnodes' : 'this',
370
- 'closeblock' : true,
371
- 'expansion' : function(node) {
381
+ 'label': function(node){return $(node).attr('condition') + ($(node).attr('mode') == 'pre_test' ? ' (⭱)' : ' (⭳)') },
382
+ 'endnodes': 'this',
383
+ 'closeblock': true,
384
+ 'expansion': function(node) {
372
385
  return 'vertical';
373
386
  },
374
- 'col_shift' : function(node) {
387
+ 'col_shift': function(node) {
375
388
  return true;
376
389
  },
377
390
  'svg': self.adaptor.theme_dir + 'symbols/loop.svg'
@@ -422,7 +435,7 @@ function WFAdaptorManifestation(adaptor) {
422
435
  }
423
436
  return childs;
424
437
  }, //}}}
425
- 'adaptor' : {//{{{
438
+ 'adaptor': {//{{{
426
439
  'mousedown': function (node,e) {
427
440
  self.events.mousedown(node,e,true,true);
428
441
  },
@@ -435,15 +448,15 @@ function WFAdaptorManifestation(adaptor) {
435
448
  this.elements.parallel = { /*{{{*/
436
449
  'type': 'complex',
437
450
  'illustrator': {//{{{
438
- 'endnodes' : 'this',
439
- 'closeblock' : false,
451
+ 'endnodes': 'this',
452
+ 'closeblock': false,
440
453
  'border': true,
441
- 'expansion' : function(node) {
454
+ 'expansion': function(node) {
442
455
  // check if any sibling other than 'parallel_branch' is present
443
456
  if($(node).children(':not(parallel_branch)').length > 0) return 'vertical';
444
457
  return 'horizontal';
445
458
  },
446
- 'col_shift' : function(node) {
459
+ 'col_shift': function(node) {
447
460
  return true;
448
461
  },
449
462
  'svg': self.adaptor.theme_dir + 'symbols/parallel.svg'
@@ -487,7 +500,7 @@ function WFAdaptorManifestation(adaptor) {
487
500
  'params': [self.adaptor.description.elements.parallel, node]});
488
501
  return childs;
489
502
  }, //}}}
490
- 'adaptor' : {//{{{
503
+ 'adaptor': {//{{{
491
504
  'mousedown': function (node,e) {
492
505
  self.events.mousedown(node,e,true,true);
493
506
  },
@@ -500,12 +513,12 @@ function WFAdaptorManifestation(adaptor) {
500
513
  this.elements.parallel_branch = { /*{{{*/
501
514
  'type': 'complex',
502
515
  'illustrator': {//{{{
503
- 'endnodes' : 'this',
504
- 'closeblock' : false,
505
- 'expansion' : function(node) {
516
+ 'endnodes': 'this',
517
+ 'closeblock': false,
518
+ 'expansion': function(node) {
506
519
  return 'vertical';
507
520
  },
508
- 'col_shift' : function(node) {
521
+ 'col_shift': function(node) {
509
522
  if(node.parentNode.tagName == 'choose') return false;
510
523
  if($(node).parents('parallel').first().children(':not(parallel_branch)').length > 0) return true;
511
524
  return false;
@@ -556,7 +569,7 @@ function WFAdaptorManifestation(adaptor) {
556
569
  }
557
570
  return childs;
558
571
  }, //}}}
559
- 'adaptor' : {//{{{
572
+ 'adaptor': {//{{{
560
573
  'mousedown': function (node,e) {
561
574
  self.events.mousedown(node,e,true,false);
562
575
  },
@@ -569,13 +582,13 @@ function WFAdaptorManifestation(adaptor) {
569
582
  this.elements.critical = { /*{{{*/
570
583
  'type': 'complex',
571
584
  'illustrator': {//{{{
572
- 'endnodes' : 'aggregate',
573
- 'closeblock' : false,
585
+ 'endnodes': 'aggregate',
586
+ 'closeblock': false,
574
587
  'border': true,
575
- 'expansion' : function(node) {
588
+ 'expansion': function(node) {
576
589
  return 'vertical';
577
590
  },
578
- 'col_shift' : function(node) {
591
+ 'col_shift': function(node) {
579
592
  return true;
580
593
  },
581
594
  'svg': self.adaptor.theme_dir + 'symbols/critical.svg'
@@ -616,7 +629,7 @@ function WFAdaptorManifestation(adaptor) {
616
629
  'params': [self.adaptor.description.elements.critical, node]},
617
630
  ];
618
631
  }, //}}}
619
- 'adaptor' : {//{{{
632
+ 'adaptor': {//{{{
620
633
  'mousedown': function (node,e) {
621
634
  self.events.mousedown(node,e,true,true);
622
635
  },
@@ -629,13 +642,13 @@ function WFAdaptorManifestation(adaptor) {
629
642
  this.elements.group = { /*{{{*/
630
643
  'type': 'complex',
631
644
  'illustrator': {//{{{
632
- 'endnodes' : 'aggregate',
633
- 'closeblock' : false,
645
+ 'endnodes': 'aggregate',
646
+ 'closeblock': false,
634
647
  'border': 'injectiongroup', // other value than true,false inidcates the used class for the svg-object
635
- 'expansion' : function(node) {
648
+ 'expansion': function(node) {
636
649
  return 'vertical';
637
650
  },
638
- 'col_shift' : function(node) {
651
+ 'col_shift': function(node) {
639
652
  return true;
640
653
  },
641
654
  'svg': null
@@ -648,7 +661,7 @@ function WFAdaptorManifestation(adaptor) {
648
661
  return [
649
662
  ];
650
663
  }, //}}}
651
- 'adaptor' : {//{{{
664
+ 'adaptor': {//{{{
652
665
  'mousedown': function (node,e) {
653
666
  self.events.mousedown(node,e,true,true);
654
667
  },
@@ -661,12 +674,12 @@ function WFAdaptorManifestation(adaptor) {
661
674
  this.elements.start = this.elements.description = { /*{{{*/
662
675
  'type': 'description',
663
676
  'illustrator': {//{{{
664
- 'endnodes' : 'passthrough',
665
- 'closeblock' : false,
666
- 'expansion' : function(node) {
677
+ 'endnodes': 'passthrough',
678
+ 'closeblock': false,
679
+ 'expansion': function(node) {
667
680
  return 'vertical';
668
681
  },
669
- 'col_shift' : function(node) {
682
+ 'col_shift': function(node) {
670
683
  return true;
671
684
  },
672
685
  'svg': self.adaptor.theme_dir + 'symbols/start.svg'
@@ -707,7 +720,7 @@ function WFAdaptorManifestation(adaptor) {
707
720
  'params': [self.adaptor.description.elements.critical, node]}
708
721
  ];
709
722
  }, //}}}
710
- 'adaptor' : {//{{{
723
+ 'adaptor': {//{{{
711
724
  'mousedown': function (node,e) {
712
725
  self.events.mousedown(node,e,true,false);
713
726
  },
@@ -726,6 +739,7 @@ function WFAdaptorManifestation(adaptor) {
726
739
  'parent': 'call',
727
740
  'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
728
741
  'illustrator': {//{{{
742
+ 'label': function(node){return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
729
743
  'svg': self.adaptor.theme_dir + 'symbols/callmanipulate.svg'
730
744
  },//}}}
731
745
  }; /*}}}*/