cpee 2.1.91 → 2.1.93
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/Rakefile +7 -0
- data/cockpit/css/llm.css +1 -1
- data/cockpit/css/resources-label.css +1 -1
- data/cockpit/css/ui.css +6 -6
- data/cockpit/css/wfadaptor.css +103 -189
- data/cockpit/edit.html +2 -2
- data/cockpit/index.html +3 -2
- data/cockpit/js/details.js +11 -1
- data/cockpit/js/instance.js +54 -31
- data/cockpit/js/wfadaptor.js +604 -140
- data/cockpit/llm.html +2 -2
- data/cockpit/llm_alternative.html +2 -2
- data/cockpit/model.html +1 -1
- data/cockpit/only_llm.html +5 -7
- data/cockpit/templates/Frames.xml +142 -55
- data/cockpit/themes/base.js +226 -130
- data/cockpit/themes/control/rngs/call.rng +14 -0
- data/cockpit/themes/control/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/control/rngs/choose.rng +4 -1
- data/cockpit/themes/control/rngs/manipulate.rng +15 -1
- data/cockpit/themes/control/rngs/start.rng +133 -119
- data/cockpit/themes/control/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/control/symbols/alternative.svg +13 -3
- data/cockpit/themes/control/symbols/arrow.svg +1 -1
- data/cockpit/themes/control/symbols/call.svg +15 -2
- data/cockpit/themes/control/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/control/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/control/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/control/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/control/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/control/symbols/choose.svg +13 -3
- data/cockpit/themes/control/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/{compact/symbols/choose.svg → control/symbols/choose_exclusive_finish.svg} +1 -1
- data/cockpit/themes/control/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/{compact/symbols/choose_inclusive.svg → control/symbols/choose_inclusive_finish.svg} +1 -1
- data/cockpit/themes/control/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/control/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/control/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/control/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/control/symbols/complex.svg +1 -1
- data/cockpit/themes/control/symbols/critical.svg +3 -2
- data/cockpit/themes/control/symbols/delete.svg +2 -2
- data/cockpit/themes/control/symbols/end.svg +1 -1
- data/cockpit/themes/control/symbols/escape.svg +2 -2
- data/cockpit/themes/control/symbols/event_end.svg +1 -1
- data/cockpit/themes/control/symbols/loop.svg +13 -3
- data/cockpit/themes/control/symbols/loop_end.svg +15 -0
- data/cockpit/themes/control/symbols/manipulate.svg +17 -2
- data/cockpit/themes/control/symbols/otherwise.svg +3 -3
- data/cockpit/themes/control/symbols/parallel.svg +3 -2
- data/cockpit/themes/control/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/control/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/control/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/control/symbols/scripts.svg +2 -2
- data/cockpit/themes/control/symbols/start.svg +1 -1
- data/cockpit/themes/control/symbols/start_event.svg +1 -1
- data/cockpit/themes/control/symbols/stop.svg +1 -1
- data/cockpit/themes/control/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/control/theme.js +95 -95
- data/cockpit/themes/dataflow/rngs/call.rng +14 -0
- data/cockpit/themes/dataflow/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/dataflow/rngs/choose.rng +4 -1
- data/cockpit/themes/dataflow/rngs/manipulate.rng +15 -1
- data/cockpit/themes/dataflow/rngs/start.rng +133 -119
- data/cockpit/themes/dataflow/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/dataflow/symbols/alternative.svg +13 -3
- data/cockpit/themes/dataflow/symbols/arrow.svg +1 -1
- data/cockpit/themes/dataflow/symbols/call.svg +15 -2
- data/cockpit/themes/dataflow/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/dataflow/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/dataflow/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/dataflow/symbols/choose.svg +13 -3
- data/cockpit/themes/dataflow/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/{compact/symbols/choose_exclusive.svg → dataflow/symbols/choose_exclusive_finish.svg} +1 -1
- data/cockpit/themes/dataflow/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/{compact/symbols/parallel.svg → dataflow/symbols/choose_inclusive_finish.svg} +2 -3
- data/cockpit/themes/dataflow/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/dataflow/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/dataflow/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/dataflow/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/dataflow/symbols/complex.svg +1 -1
- data/cockpit/themes/dataflow/symbols/critical.svg +3 -2
- data/cockpit/themes/dataflow/symbols/delete.svg +2 -2
- data/cockpit/themes/dataflow/symbols/end.svg +1 -1
- data/cockpit/themes/dataflow/symbols/escape.svg +2 -2
- data/cockpit/themes/dataflow/symbols/event_end.svg +1 -1
- data/cockpit/themes/dataflow/symbols/loop.svg +13 -3
- data/cockpit/themes/dataflow/symbols/loop_end.svg +15 -0
- data/cockpit/themes/dataflow/symbols/manipulate.svg +17 -2
- data/cockpit/themes/dataflow/symbols/otherwise.svg +3 -3
- data/cockpit/themes/dataflow/symbols/parallel.svg +3 -2
- data/cockpit/themes/dataflow/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/dataflow/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/dataflow/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/dataflow/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/dataflow/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/dataflow/symbols/scripts.svg +2 -2
- data/cockpit/themes/dataflow/symbols/start.svg +1 -1
- data/cockpit/themes/dataflow/symbols/start_event.svg +1 -1
- data/cockpit/themes/dataflow/symbols/stop.svg +1 -1
- data/cockpit/themes/dataflow/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/dataflow/theme.js +9 -6
- data/cockpit/themes/default/rngs/call.rng +14 -0
- data/cockpit/themes/default/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/default/rngs/choose.rng +4 -1
- data/cockpit/themes/default/rngs/manipulate.rng +15 -1
- data/cockpit/themes/default/rngs/start.rng +133 -119
- data/cockpit/themes/default/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/default/symbols/alternative.svg +13 -3
- data/cockpit/themes/default/symbols/arrow.svg +1 -1
- data/cockpit/themes/default/symbols/call.svg +15 -2
- data/cockpit/themes/default/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/default/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/default/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/default/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/default/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/default/symbols/choose.svg +13 -3
- data/cockpit/themes/default/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/{compact/symbols/loop.svg → default/symbols/choose_exclusive_finish.svg} +1 -1
- data/cockpit/themes/default/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/{compact/symbols/parallel_branch_compact.svg → default/symbols/choose_inclusive_finish.svg} +2 -2
- data/cockpit/themes/default/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/default/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/default/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/default/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/default/symbols/complex.svg +1 -1
- data/cockpit/themes/default/symbols/critical.svg +3 -2
- data/cockpit/themes/default/symbols/delete.svg +2 -2
- data/cockpit/themes/default/symbols/end.svg +1 -1
- data/cockpit/themes/default/symbols/escape.svg +2 -2
- data/cockpit/themes/default/symbols/event_end.svg +1 -1
- data/cockpit/themes/default/symbols/loop.svg +13 -3
- data/cockpit/themes/default/symbols/loop_end.svg +15 -0
- data/cockpit/themes/default/symbols/manipulate.svg +17 -2
- data/cockpit/themes/default/symbols/otherwise.svg +3 -3
- data/cockpit/themes/default/symbols/parallel.svg +3 -2
- data/cockpit/themes/default/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/default/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/default/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/default/symbols/scripts.svg +2 -2
- data/cockpit/themes/default/symbols/start.svg +1 -1
- data/cockpit/themes/default/symbols/start_event.svg +1 -1
- data/cockpit/themes/default/symbols/stop.svg +1 -1
- data/cockpit/themes/default/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/default/theme.js +7 -1
- data/cockpit/themes/extended/rngs/call.rng +14 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/extended/rngs/choose.rng +4 -1
- data/cockpit/themes/extended/rngs/manipulate.rng +15 -1
- data/cockpit/themes/extended/rngs/start.rng +133 -119
- data/cockpit/themes/extended/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/extended/symbols/alternative.svg +13 -3
- data/cockpit/themes/extended/symbols/arrow.svg +1 -1
- data/cockpit/themes/extended/symbols/call.svg +15 -2
- data/cockpit/themes/extended/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/extended/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/extended/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/extended/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/extended/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/extended/symbols/choose.svg +13 -3
- data/cockpit/themes/extended/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/extended/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/{control/symbols/parallel_branch_compact.svg → extended/symbols/choose_inclusive_finish.svg} +2 -2
- data/cockpit/themes/extended/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/extended/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/extended/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/extended/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/extended/symbols/complex.svg +1 -1
- data/cockpit/themes/extended/symbols/critical.svg +3 -2
- data/cockpit/themes/extended/symbols/delete.svg +2 -2
- data/cockpit/themes/extended/symbols/end.svg +1 -1
- data/cockpit/themes/extended/symbols/escape.svg +2 -2
- data/cockpit/themes/extended/symbols/event_end.svg +1 -1
- data/cockpit/themes/extended/symbols/loop.svg +13 -3
- data/cockpit/themes/extended/symbols/loop_end.svg +15 -0
- data/cockpit/themes/extended/symbols/manipulate.svg +17 -2
- data/cockpit/themes/extended/symbols/otherwise.svg +3 -3
- data/cockpit/themes/extended/symbols/parallel.svg +3 -2
- data/cockpit/themes/extended/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/extended/symbols/scripts.svg +2 -2
- data/cockpit/themes/extended/symbols/start.svg +1 -1
- data/cockpit/themes/extended/symbols/start_event.svg +1 -1
- data/cockpit/themes/extended/symbols/stop.svg +1 -1
- data/cockpit/themes/extended/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/extended/theme.js +3 -0
- data/cockpit/themes/felix/symbols/alternative.svg +13 -3
- data/cockpit/themes/felix/symbols/arrow.svg +1 -1
- data/cockpit/themes/felix/symbols/call.svg +15 -2
- data/cockpit/themes/felix/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/felix/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/felix/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/felix/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/felix/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/felix/symbols/choose.svg +13 -3
- data/cockpit/themes/felix/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/felix/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/felix/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/felix/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/felix/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/felix/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/felix/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/felix/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/felix/symbols/complex.svg +1 -1
- data/cockpit/themes/felix/symbols/critical.svg +3 -2
- data/cockpit/themes/felix/symbols/delete.svg +2 -2
- data/cockpit/themes/felix/symbols/end.svg +1 -1
- data/cockpit/themes/felix/symbols/escape.svg +2 -2
- data/cockpit/themes/felix/symbols/event_end.svg +1 -1
- data/cockpit/themes/felix/symbols/loop.svg +13 -3
- data/cockpit/themes/felix/symbols/loop_end.svg +15 -0
- data/cockpit/themes/felix/symbols/manipulate.svg +17 -2
- data/cockpit/themes/felix/symbols/otherwise.svg +3 -3
- data/cockpit/themes/felix/symbols/parallel.svg +3 -2
- data/cockpit/themes/felix/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/felix/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/felix/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/felix/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/felix/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/felix/symbols/scripts.svg +2 -2
- data/cockpit/themes/felix/symbols/start.svg +1 -1
- data/cockpit/themes/felix/symbols/start_event.svg +1 -1
- data/cockpit/themes/felix/symbols/stop.svg +1 -1
- data/cockpit/themes/felix/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/model/symbols/alternative.svg +13 -3
- data/cockpit/themes/model/symbols/arrow.svg +1 -1
- data/cockpit/themes/model/symbols/call.svg +15 -2
- data/cockpit/themes/model/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/model/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/model/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/model/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/model/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/model/symbols/choose.svg +13 -3
- data/cockpit/themes/model/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/model/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/model/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/model/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/model/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/model/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/model/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/model/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/model/symbols/complex.svg +1 -1
- data/cockpit/themes/model/symbols/critical.svg +3 -2
- data/cockpit/themes/model/symbols/delete.svg +2 -2
- data/cockpit/themes/model/symbols/end.svg +1 -1
- data/cockpit/themes/model/symbols/escape.svg +2 -2
- data/cockpit/themes/model/symbols/event_end.svg +1 -1
- data/cockpit/themes/model/symbols/loop.svg +13 -3
- data/cockpit/themes/model/symbols/loop_end.svg +15 -0
- data/cockpit/themes/model/symbols/manipulate.svg +17 -2
- data/cockpit/themes/model/symbols/otherwise.svg +3 -3
- data/cockpit/themes/model/symbols/parallel.svg +3 -2
- data/cockpit/themes/model/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/model/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/model/symbols/scripts.svg +2 -2
- data/cockpit/themes/model/symbols/start.svg +1 -1
- data/cockpit/themes/model/symbols/start_event.svg +1 -1
- data/cockpit/themes/model/symbols/stop.svg +1 -1
- data/cockpit/themes/model/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/model/theme.js +68 -68
- data/cockpit/themes/packed/rngs/call.rng +14 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/packed/rngs/choose.rng +4 -1
- data/cockpit/themes/packed/rngs/manipulate.rng +15 -1
- data/cockpit/themes/packed/rngs/start.rng +133 -119
- data/cockpit/themes/packed/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/packed/symbols/alternative.svg +13 -3
- data/cockpit/themes/packed/symbols/arrow.svg +1 -1
- data/cockpit/themes/packed/symbols/call.svg +15 -2
- data/cockpit/themes/packed/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/packed/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/packed/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/packed/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/packed/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/packed/symbols/choose.svg +13 -3
- data/cockpit/themes/packed/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/packed/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/packed/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/packed/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/packed/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/packed/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/packed/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/packed/symbols/complex.svg +1 -1
- data/cockpit/themes/packed/symbols/critical.svg +3 -2
- data/cockpit/themes/packed/symbols/delete.svg +2 -2
- data/cockpit/themes/packed/symbols/end.svg +1 -1
- data/cockpit/themes/packed/symbols/escape.svg +2 -2
- data/cockpit/themes/packed/symbols/event_end.svg +1 -1
- data/cockpit/themes/packed/symbols/loop.svg +13 -3
- data/cockpit/themes/packed/symbols/loop_end.svg +15 -0
- data/cockpit/themes/packed/symbols/manipulate.svg +17 -2
- data/cockpit/themes/packed/symbols/otherwise.svg +3 -3
- data/cockpit/themes/packed/symbols/parallel.svg +3 -2
- data/cockpit/themes/packed/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/packed/symbols/scripts.svg +2 -2
- data/cockpit/themes/packed/symbols/start.svg +1 -1
- data/cockpit/themes/packed/symbols/start_event.svg +1 -1
- data/cockpit/themes/packed/symbols/stop.svg +1 -1
- data/cockpit/themes/packed/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/packed/theme.js +11 -7
- data/cockpit/themes/preset/rngs/call.rng +14 -0
- data/cockpit/themes/preset/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/preset/rngs/choose.rng +4 -1
- data/cockpit/themes/preset/rngs/manipulate.rng +15 -1
- data/cockpit/themes/preset/rngs/start.rng +133 -119
- data/cockpit/themes/preset/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/preset/symbols/alternative.svg +13 -3
- data/cockpit/themes/preset/symbols/arrow.svg +1 -1
- data/cockpit/themes/preset/symbols/call.svg +15 -2
- data/cockpit/themes/preset/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/preset/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/preset/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/preset/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/preset/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/preset/symbols/choose.svg +13 -3
- data/cockpit/themes/preset/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/preset/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/preset/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/preset/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/preset/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/preset/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/preset/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/preset/symbols/complex.svg +1 -1
- data/cockpit/themes/preset/symbols/critical.svg +3 -2
- data/cockpit/themes/preset/symbols/delete.svg +2 -2
- data/cockpit/themes/preset/symbols/end.svg +1 -1
- data/cockpit/themes/preset/symbols/escape.svg +2 -2
- data/cockpit/themes/preset/symbols/event_end.svg +1 -1
- data/cockpit/themes/preset/symbols/loop.svg +13 -3
- data/cockpit/themes/preset/symbols/loop_end.svg +15 -0
- data/cockpit/themes/preset/symbols/manipulate.svg +17 -2
- data/cockpit/themes/preset/symbols/otherwise.svg +3 -3
- data/cockpit/themes/preset/symbols/parallel.svg +3 -2
- data/cockpit/themes/preset/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/preset/symbols/scripts.svg +2 -2
- data/cockpit/themes/preset/symbols/start.svg +1 -1
- data/cockpit/themes/preset/symbols/start_event.svg +1 -1
- data/cockpit/themes/preset/symbols/stop.svg +1 -1
- data/cockpit/themes/preset/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/preset/theme.js +7 -1
- data/cockpit/themes/{compact → presetaltid}/rngs/call.rng +14 -0
- data/cockpit/themes/{compact → presetaltid}/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/{compact → presetaltid}/rngs/choose.rng +4 -1
- data/cockpit/themes/{compact → presetaltid}/rngs/manipulate.rng +15 -1
- data/cockpit/themes/presetaltid/rngs/start.rng +145 -0
- data/cockpit/themes/presetaltid/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/presetaltid/symbols/alternative.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/arrow.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/call.svg +19 -0
- data/cockpit/themes/presetaltid/symbols/call_sensor.svg +23 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate.svg +23 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor.svg +26 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/presetaltid/symbols/choose.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/choose_exclusive.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/choose_inclusive.svg +13 -0
- data/cockpit/themes/presetaltid/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/{compact → presetaltid}/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/{compact → presetaltid}/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/{compact → presetaltid}/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/{compact → presetaltid}/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/{compact → presetaltid}/symbols/complex.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/critical.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/delete.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/end.svg +3 -0
- data/cockpit/themes/{compact → presetaltid}/symbols/escape.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/event_end.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/loop.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/loop_end.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/manipulate.svg +19 -0
- data/cockpit/themes/presetaltid/symbols/otherwise.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/parallel.svg +6 -0
- data/cockpit/themes/presetaltid/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/{compact → presetaltid}/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/presetaltid/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/{compact → presetaltid}/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/{compact → presetaltid}/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/presetaltid/symbols/scripts.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/start.svg +3 -0
- data/cockpit/themes/{compact → presetaltid}/symbols/start_event.svg +1 -1
- data/cockpit/themes/{compact → presetaltid}/symbols/stop.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/presetaltid/theme.js +16 -0
- data/cockpit/themes/presetid/rngs/alternative.rng +25 -0
- data/cockpit/themes/{compact/rngs/start.rng → presetid/rngs/call.rng} +130 -18
- data/cockpit/themes/presetid/rngs/callmanipulate.rng +275 -0
- data/cockpit/themes/presetid/rngs/choose.rng +17 -0
- data/cockpit/themes/presetid/rngs/closed_loop.rng +62 -0
- data/cockpit/themes/presetid/rngs/closed_loop_cancel.rng +5 -0
- data/cockpit/themes/presetid/rngs/closed_loop_control.rng +31 -0
- data/cockpit/themes/presetid/rngs/closed_loop_measuring.rng +12 -0
- data/cockpit/themes/presetid/rngs/critical.rng +5 -0
- data/cockpit/themes/presetid/rngs/escape.rng +1 -0
- data/cockpit/themes/presetid/rngs/group.rng +3 -0
- data/cockpit/themes/presetid/rngs/loop.rng +22 -0
- data/cockpit/themes/presetid/rngs/manipulate.rng +23 -0
- data/cockpit/themes/presetid/rngs/otherwise.rng +22 -0
- data/cockpit/themes/presetid/rngs/parallel.rng +27 -0
- data/cockpit/themes/presetid/rngs/parallel_branch.rng +2 -0
- data/cockpit/themes/presetid/rngs/scripts.rng +23 -0
- data/cockpit/themes/presetid/rngs/start.rng +145 -0
- data/cockpit/themes/presetid/rngs/stop.rng +5 -0
- data/cockpit/themes/presetid/rngs/terminate.rng +1 -0
- data/cockpit/themes/presetid/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/presetid/symbols/alternative.svg +15 -0
- data/cockpit/themes/presetid/symbols/arrow.svg +3 -0
- data/cockpit/themes/presetid/symbols/call.svg +19 -0
- data/cockpit/themes/presetid/symbols/call_sensor.svg +23 -0
- data/cockpit/themes/presetid/symbols/callmanipulate.svg +23 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor.svg +26 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/presetid/symbols/choose.svg +15 -0
- data/cockpit/themes/presetid/symbols/choose_exclusive.svg +15 -0
- data/cockpit/themes/presetid/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/presetid/symbols/choose_inclusive.svg +13 -0
- data/cockpit/themes/presetid/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/presetid/symbols/closed_loop.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_cancel.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_control.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_measuring.svg +6 -0
- data/cockpit/themes/presetid/symbols/complex.svg +8 -0
- data/cockpit/themes/presetid/symbols/critical.svg +5 -0
- data/cockpit/themes/presetid/symbols/delete.svg +4 -0
- data/cockpit/themes/presetid/symbols/end.svg +3 -0
- data/cockpit/themes/presetid/symbols/escape.svg +5 -0
- data/cockpit/themes/presetid/symbols/event_end.svg +3 -0
- data/cockpit/themes/presetid/symbols/loop.svg +15 -0
- data/cockpit/themes/presetid/symbols/loop_end.svg +15 -0
- data/cockpit/themes/presetid/symbols/manipulate.svg +19 -0
- data/cockpit/themes/presetid/symbols/otherwise.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel.svg +6 -0
- data/cockpit/themes/presetid/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/presetid/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/presetid/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/presetid/symbols/scripts.svg +4 -0
- data/cockpit/themes/presetid/symbols/start.svg +3 -0
- data/cockpit/themes/presetid/symbols/start_event.svg +5 -0
- data/cockpit/themes/presetid/symbols/stop.svg +5 -0
- data/cockpit/themes/{compact/symbols/end.svg → presetid/symbols/terminate.svg} +1 -0
- data/cockpit/themes/presetid/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/presetid/theme.js +16 -0
- data/cockpit/themes/reduced/rngs/call.rng +14 -0
- data/cockpit/themes/reduced/rngs/callmanipulate.rng +18 -1
- data/cockpit/themes/reduced/rngs/choose.rng +4 -1
- data/cockpit/themes/reduced/rngs/manipulate.rng +15 -1
- data/cockpit/themes/reduced/rngs/start.rng +133 -119
- data/cockpit/themes/reduced/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/reduced/symbols/alternative.svg +13 -3
- data/cockpit/themes/reduced/symbols/arrow.svg +1 -1
- data/cockpit/themes/reduced/symbols/call.svg +15 -2
- data/cockpit/themes/reduced/symbols/call_sensor.svg +19 -5
- data/cockpit/themes/reduced/symbols/callmanipulate.svg +19 -4
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor.svg +22 -7
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/reduced/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/reduced/symbols/choose.svg +13 -3
- data/cockpit/themes/reduced/symbols/choose_exclusive.svg +13 -3
- data/cockpit/themes/reduced/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/reduced/symbols/choose_inclusive.svg +11 -2
- data/cockpit/themes/reduced/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/reduced/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/reduced/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/reduced/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/reduced/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/reduced/symbols/complex.svg +1 -1
- data/cockpit/themes/reduced/symbols/critical.svg +3 -2
- data/cockpit/themes/reduced/symbols/delete.svg +2 -2
- data/cockpit/themes/reduced/symbols/end.svg +1 -1
- data/cockpit/themes/reduced/symbols/escape.svg +2 -2
- data/cockpit/themes/reduced/symbols/event_end.svg +1 -1
- data/cockpit/themes/reduced/symbols/loop.svg +13 -3
- data/cockpit/themes/reduced/symbols/loop_end.svg +15 -0
- data/cockpit/themes/reduced/symbols/manipulate.svg +17 -2
- data/cockpit/themes/reduced/symbols/otherwise.svg +3 -3
- data/cockpit/themes/reduced/symbols/parallel.svg +3 -2
- data/cockpit/themes/reduced/symbols/parallel_branch.svg +3 -3
- data/cockpit/themes/reduced/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/reduced/symbols/parallel_branch_normal.svg +3 -3
- data/cockpit/themes/reduced/symbols/parallel_eventbased_exclusive.svg +4 -4
- data/cockpit/themes/reduced/symbols/parallel_eventbased_parallel.svg +3 -3
- data/cockpit/themes/reduced/symbols/scripts.svg +2 -2
- data/cockpit/themes/reduced/symbols/start.svg +1 -1
- data/cockpit/themes/reduced/symbols/start_event.svg +1 -1
- data/cockpit/themes/reduced/symbols/stop.svg +1 -1
- data/cockpit/themes/reduced/symbols/wait_for_signal.svg +21 -0
- data/contrib/logo2a-favicon.png +0 -0
- data/contrib/logo2a-favicon.svg +423 -0
- data/cpee.gemspec +1 -1
- data/server/executionhandlers/ruby/connection.rb +9 -1
- data/server/executionhandlers/ruby/dsl_to_dslx.xsl +18 -1
- data/server/routing/end.pid +1 -1
- data/server/routing/forward-events-00.pid +1 -1
- data/server/routing/forward-votes.pid +1 -1
- data/server/routing/persist.pid +1 -1
- metadata +187 -68
- data/cockpit/themes/compact/symbols/alternative.svg +0 -5
- data/cockpit/themes/compact/symbols/arrow.svg +0 -3
- data/cockpit/themes/compact/symbols/call.svg +0 -6
- data/cockpit/themes/compact/symbols/call_sensor.svg +0 -9
- data/cockpit/themes/compact/symbols/callmanipulate.svg +0 -8
- data/cockpit/themes/compact/symbols/callmanipulate_sensor.svg +0 -11
- data/cockpit/themes/compact/symbols/critical.svg +0 -4
- data/cockpit/themes/compact/symbols/delete.svg +0 -4
- data/cockpit/themes/compact/symbols/event_end.svg +0 -3
- data/cockpit/themes/compact/symbols/manipulate.svg +0 -4
- data/cockpit/themes/compact/symbols/otherwise.svg +0 -5
- data/cockpit/themes/compact/symbols/parallel_branch.svg +0 -5
- data/cockpit/themes/compact/symbols/parallel_branch_normal.svg +0 -5
- data/cockpit/themes/compact/symbols/scripts.svg +0 -4
- data/cockpit/themes/compact/symbols/start.svg +0 -3
- data/cockpit/themes/compact/theme.js +0 -13
- data/cockpit/themes/dataflow/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/default/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/extended/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/felix/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/model/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/packed/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/preset/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/reduced/symbols/parallel_branch_compact.svg +0 -4
- data/server/executionhandlers/ruby/ShiftingTestSimple.xml +0 -100
- data/server/server.pid +0 -1
- /data/cockpit/themes/{compact → presetaltid}/rngs/alternative.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/closed_loop.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/closed_loop_cancel.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/closed_loop_control.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/closed_loop_measuring.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/critical.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/escape.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/group.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/loop.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/otherwise.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/parallel.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/parallel_branch.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/scripts.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/stop.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/rngs/terminate.rng +0 -0
- /data/cockpit/themes/{compact → presetaltid}/symbols/terminate.svg +0 -0
data/cockpit/themes/base.js
CHANGED
|
@@ -115,9 +115,9 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
117
|
nodes.reverse();
|
|
118
|
-
var iconm =
|
|
119
|
-
var iconc =
|
|
120
|
-
iconm.children('.
|
|
118
|
+
var iconm = contextMenuHandling_clean_icon(self.resources['arrow']);
|
|
119
|
+
var iconc = contextMenuHandling_clean_icon(self.resources['arrow']);
|
|
120
|
+
iconm.children('.colorstyle').css('fill','var(--wfadaptor-important');
|
|
121
121
|
if (myid == localStorage.getItem('marked_from')) {
|
|
122
122
|
menu.push(
|
|
123
123
|
{
|
|
@@ -141,6 +141,13 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
141
141
|
}
|
|
142
142
|
} //}}}
|
|
143
143
|
|
|
144
|
+
function contextMenuHandling_clean_icon(icon) { //{{{
|
|
145
|
+
icon = icon.clone();
|
|
146
|
+
$('.part-start',icon).remove();
|
|
147
|
+
$('.part-middle',icon).remove();
|
|
148
|
+
$('.part-end',icon).remove();
|
|
149
|
+
return icon;
|
|
150
|
+
} //}}}
|
|
144
151
|
function contextMenuHandling(svgid,e,child,sibling) { //{{{
|
|
145
152
|
if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
|
|
146
153
|
|
|
@@ -178,9 +185,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
178
185
|
}
|
|
179
186
|
|
|
180
187
|
if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
|
|
181
|
-
var icon =
|
|
182
|
-
icon.find('.
|
|
183
|
-
icon.find('.hfill').addClass('menu');
|
|
188
|
+
var icon = contextMenuHandling_clean_icon(self.elements[xml_node.get(0).tagName].illustrator.svg);
|
|
189
|
+
icon.find('.colorstyle').css('fill','var(--wfadaptor-important');
|
|
184
190
|
menu['Delete'] = [{
|
|
185
191
|
'label': 'Remove Element',
|
|
186
192
|
'function_call': function(selector,target,selected){
|
|
@@ -196,8 +202,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
196
202
|
var nodes = localStorage.getItem('marked');
|
|
197
203
|
nodes = JSON.parse(nodes);
|
|
198
204
|
if (nodes && nodes.length > 0) {
|
|
199
|
-
var icond =
|
|
200
|
-
icond.
|
|
205
|
+
var icond = contextMenuHandling_clean_icon(self.resources['delete']);
|
|
206
|
+
icond.find('.colorstyle').css('stroke','var(--wfadaptor-important)');
|
|
201
207
|
menu['Delete'].push({
|
|
202
208
|
'label': 'Remove Marked Elements',
|
|
203
209
|
'function_call': function(){
|
|
@@ -228,8 +234,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
228
234
|
}
|
|
229
235
|
}
|
|
230
236
|
if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
|
|
231
|
-
var icon =
|
|
232
|
-
icon.
|
|
237
|
+
var icon = contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg);
|
|
238
|
+
icon.find('.part-extra .colorstyle').css('fill','var(--wfadaptor-important');
|
|
233
239
|
menu['Delete'].push({
|
|
234
240
|
'label': 'Remove Scripts',
|
|
235
241
|
'function_call': self.adaptor.description.remove,
|
|
@@ -239,8 +245,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
239
245
|
});
|
|
240
246
|
}
|
|
241
247
|
if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
|
|
242
|
-
var icon =
|
|
243
|
-
icon.
|
|
248
|
+
var icon = contextMenuHandling_clean_icon(self.elements.call.illustrator.svg);
|
|
249
|
+
icon.find('.part-normal').addClass('passive');
|
|
244
250
|
var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
|
|
245
251
|
if (vtarget.length > 0) {
|
|
246
252
|
if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
|
|
@@ -336,6 +342,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
336
342
|
|
|
337
343
|
self.update_details(svgid);
|
|
338
344
|
}
|
|
345
|
+
if (e) { e.stopImmediatePropagation(); }
|
|
339
346
|
} // }}}
|
|
340
347
|
this.events.dblclick = function(svgid, e) { // {{{
|
|
341
348
|
} // }}}
|
|
@@ -374,17 +381,35 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
374
381
|
var ret = [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') } ];
|
|
375
382
|
return ret;
|
|
376
383
|
},
|
|
377
|
-
'
|
|
384
|
+
'style': function(node){
|
|
385
|
+
let sty = {};
|
|
386
|
+
let col = $('> parameters > color', node);
|
|
387
|
+
if (col.length > 0 && col.text() != '') {
|
|
388
|
+
sty['fill'] = col.text();
|
|
389
|
+
}
|
|
390
|
+
return sty;
|
|
391
|
+
},
|
|
392
|
+
'info': function(node){
|
|
393
|
+
return { 'element-endpoint': $(node).attr('endpoint') };
|
|
394
|
+
},
|
|
378
395
|
'resolve_symbol': function(node) {
|
|
379
396
|
if ($('> annotations > _context_data_analysis > probes > probe', node).length > 0) {
|
|
380
397
|
if ($('> code', node).length > 0) {
|
|
381
|
-
|
|
398
|
+
if ($('> code > signal', node).length > 0 && $('> code > signal', node).text() == 'on') {
|
|
399
|
+
return 'callmanipulate_sensor_signal';
|
|
400
|
+
} else {
|
|
401
|
+
return 'callmanipulate_sensor';
|
|
402
|
+
}
|
|
382
403
|
} else {
|
|
383
404
|
return 'call_sensor';
|
|
384
405
|
}
|
|
385
406
|
} else {
|
|
386
407
|
if ($('> code', node).length > 0) {
|
|
387
|
-
|
|
408
|
+
if ($('> code > signal', node).length > 0 && $('> code > signal', node).text() == 'on') {
|
|
409
|
+
return 'callmanipulate_signal';
|
|
410
|
+
} else {
|
|
411
|
+
return 'callmanipulate';
|
|
412
|
+
}
|
|
388
413
|
} else {
|
|
389
414
|
return 'call';
|
|
390
415
|
}
|
|
@@ -398,7 +423,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
398
423
|
return [
|
|
399
424
|
{'label': 'Scripts',
|
|
400
425
|
'function_call': self.adaptor.description.insert_last_into,
|
|
401
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
426
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
402
427
|
'type': undefined,
|
|
403
428
|
'params': [self.adaptor.description.elements.scripts, node]}
|
|
404
429
|
];
|
|
@@ -418,6 +443,14 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
418
443
|
'type': 'primitive',
|
|
419
444
|
'illustrator': {//{{{
|
|
420
445
|
'endnodes': 'this',
|
|
446
|
+
'style': function(node) {
|
|
447
|
+
let sty = {};
|
|
448
|
+
let col = $(node).attr('color');
|
|
449
|
+
if (col && col != '') {
|
|
450
|
+
sty['fill'] = col;
|
|
451
|
+
}
|
|
452
|
+
return sty;
|
|
453
|
+
},
|
|
421
454
|
'label': function(node){
|
|
422
455
|
var lab = $(node).attr('label');
|
|
423
456
|
if (lab) {
|
|
@@ -479,6 +512,29 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
479
512
|
'mouseout': self.events.mouseout
|
|
480
513
|
}//}}}
|
|
481
514
|
}; /*}}}*/
|
|
515
|
+
this.elements.wait_for_signal = { /*{{{*/
|
|
516
|
+
'type': 'primitive',
|
|
517
|
+
'illustrator': {//{{{
|
|
518
|
+
'label': function(node){
|
|
519
|
+
var ret = [ { column: 'Label', value: $('> label',$(node)).text().replace(/^['"]/,'').replace(/['"]$/,'') } ];
|
|
520
|
+
return ret;
|
|
521
|
+
},
|
|
522
|
+
'endnodes': 'this',
|
|
523
|
+
'svg': self.adaptor.theme_dir + 'symbols/wait_for_signal.svg'
|
|
524
|
+
},//}}}
|
|
525
|
+
'description': self.adaptor.theme_dir + 'rngs/wait_for_signal.rng',
|
|
526
|
+
'permissible_children': function(node,mode) { //{{{
|
|
527
|
+
return [];
|
|
528
|
+
}, //}}}
|
|
529
|
+
'adaptor': {//{{{
|
|
530
|
+
'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
|
|
531
|
+
'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
|
|
532
|
+
'touchend': self.events.touchend,
|
|
533
|
+
'click': self.events.click,
|
|
534
|
+
'mouseover': self.events.mouseover,
|
|
535
|
+
'mouseout': self.events.mouseout
|
|
536
|
+
}//}}}
|
|
537
|
+
}; /*}}}*/
|
|
482
538
|
this.elements.terminate = { /*{{{*/
|
|
483
539
|
'type': 'primitive',
|
|
484
540
|
'illustrator': {//{{{
|
|
@@ -512,6 +568,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
512
568
|
'type': 'primitive',
|
|
513
569
|
'illustrator': {//{{{
|
|
514
570
|
'endnodes': 'this',
|
|
571
|
+
'wide': true,
|
|
515
572
|
'svg': self.adaptor.theme_dir + 'symbols/event_end.svg'
|
|
516
573
|
}, //}}}
|
|
517
574
|
'adaptor': {//{{{
|
|
@@ -554,7 +611,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
554
611
|
var ret = [ { column: 'Label', value: $(node).attr('condition') } ];
|
|
555
612
|
return ret;
|
|
556
613
|
},
|
|
557
|
-
'svg': self.adaptor.theme_dir + 'symbols/
|
|
614
|
+
'svg': self.adaptor.theme_dir + 'symbols/loop_end.svg',
|
|
558
615
|
}, //}}}
|
|
559
616
|
'adaptor': {//{{{
|
|
560
617
|
'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
|
|
@@ -600,7 +657,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
600
657
|
this.elements.choose = { /*{{{*/
|
|
601
658
|
'type': 'complex',
|
|
602
659
|
'illustrator': {//{{{
|
|
603
|
-
'label': function(node){ return [ { column: 'Label', value: $(node).attr('
|
|
660
|
+
'label': function(node){ return [ { column: 'Label', value: $(node).attr('label') } ]; },
|
|
604
661
|
'endnodes': 'aggregate',
|
|
605
662
|
'closeblock': false,
|
|
606
663
|
'closing_symbol': 'choose_finish',
|
|
@@ -627,25 +684,25 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
627
684
|
if(node.children('parallel_branch').length > 0) {
|
|
628
685
|
return [{'label': 'Parallel Branch',
|
|
629
686
|
'function_call': func,
|
|
630
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg
|
|
687
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel_branch.illustrator.svg),
|
|
631
688
|
'type': 'parallel_branch',
|
|
632
689
|
'params': [self.adaptor.description.elements.parallel_branch, node]}];
|
|
633
690
|
}
|
|
634
691
|
var childs = [{'label': 'Alternative',
|
|
635
692
|
'function_call': func,
|
|
636
|
-
'menu_icon': self.elements.alternative.illustrator.svg
|
|
693
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.alternative.illustrator.svg),
|
|
637
694
|
'type': 'alternative',
|
|
638
695
|
'params': [self.adaptor.description.elements.alternative, node]}];
|
|
639
696
|
if((node.children('otherwise').length == 0) && node.parents('parallel').length == node.parents('parallel_branch').length && node.parent('choose').length == 0)
|
|
640
697
|
childs.push({'label': 'Otherwise',
|
|
641
698
|
'function_call': self.adaptor.description.insert_last_into,
|
|
642
|
-
'menu_icon': self.elements.otherwise.illustrator.svg
|
|
699
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.otherwise.illustrator.svg),
|
|
643
700
|
'type': 'otherwise',
|
|
644
701
|
'params': [self.adaptor.description.elements.otherwise, node]});
|
|
645
702
|
if(node.parents('parallel').length > node.parents('parallel_branch').length)
|
|
646
703
|
childs.push({'label': 'Parallel Branch',
|
|
647
704
|
'function_call': func,
|
|
648
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg
|
|
705
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel_branch.illustrator.svg),
|
|
649
706
|
'type': 'parallel_branch',
|
|
650
707
|
'params': [self.adaptor.description.elements.parallel_branch, node]});
|
|
651
708
|
return childs;
|
|
@@ -684,53 +741,58 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
684
741
|
var childs = [
|
|
685
742
|
{'label': 'Service Call with Scripts',
|
|
686
743
|
'function_call': func,
|
|
687
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
744
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
688
745
|
'type': 'callmanipulate',
|
|
689
746
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
690
747
|
{'label': 'Service Call',
|
|
691
748
|
'function_call': func,
|
|
692
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
749
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
693
750
|
'type': 'call',
|
|
694
751
|
'params': [self.adaptor.description.elements.call, node]},
|
|
695
752
|
{'label': 'Script',
|
|
696
753
|
'function_call': func,
|
|
697
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
754
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
698
755
|
'type': 'manipulate',
|
|
699
756
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
700
757
|
{'label': 'Parallel',
|
|
701
758
|
'function_call': func,
|
|
702
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
759
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
703
760
|
'type': 'parallel',
|
|
704
761
|
'params': [self.adaptor.description.elements.parallel, node]},
|
|
705
762
|
{'label': 'Decision',
|
|
706
763
|
'function_call': func,
|
|
707
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
764
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
708
765
|
'type': 'choose',
|
|
709
766
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
710
767
|
{'label': 'Loop',
|
|
711
768
|
'function_call': func,
|
|
712
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
769
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
713
770
|
'type': 'loop',
|
|
714
771
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
715
772
|
{'label': 'Terminate',
|
|
716
773
|
'function_call': func,
|
|
717
|
-
'menu_icon': self.elements.terminate.illustrator.svg
|
|
774
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.terminate.illustrator.svg),
|
|
718
775
|
'type': 'terminate',
|
|
719
776
|
'params': [self.adaptor.description.elements.terminate, node]},
|
|
720
777
|
{'label': 'Stop',
|
|
721
778
|
'function_call': func,
|
|
722
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
779
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
723
780
|
'type': 'stop',
|
|
724
781
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
725
782
|
];
|
|
726
|
-
if(node.
|
|
727
|
-
childs.push(
|
|
728
|
-
|
|
783
|
+
if(node.parents('parallel_branch').length > 0) {
|
|
784
|
+
childs.push(
|
|
785
|
+
{'label': 'Critical',
|
|
729
786
|
'function_call': func,
|
|
730
|
-
'menu_icon': self.elements.critical.illustrator.svg
|
|
787
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.critical.illustrator.svg),
|
|
731
788
|
'type': 'critical',
|
|
732
|
-
'params': [self.adaptor.description.elements.critical, node]
|
|
733
|
-
|
|
789
|
+
'params': [self.adaptor.description.elements.critical, node]},
|
|
790
|
+
{'label': 'Wait for Signal',
|
|
791
|
+
'function_call': func,
|
|
792
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.wait_for_signal.illustrator.svg),
|
|
793
|
+
'type': 'wait_for_signal',
|
|
794
|
+
'params': [self.adaptor.description.elements.wait_for_signal, node]}
|
|
795
|
+
);
|
|
734
796
|
}
|
|
735
797
|
return childs;
|
|
736
798
|
}, //}}}
|
|
@@ -769,60 +831,65 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
769
831
|
if(node.parents('parallel').length > node.parents('parallel_branch').length && node.get(0).tagName == 'alternative') {
|
|
770
832
|
return [{'label': 'Parallel Branch',
|
|
771
833
|
'function_call': func,
|
|
772
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg
|
|
834
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel_branch.illustrator.svg),
|
|
773
835
|
'type': 'parallel_branch',
|
|
774
836
|
'params': [self.adaptor.description.elements.parallel_branch, node]}];
|
|
775
837
|
}
|
|
776
838
|
var childs = [
|
|
777
839
|
{'label': 'Service Call with Scripts',
|
|
778
840
|
'function_call': func,
|
|
779
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
841
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
780
842
|
'type': 'callmanipulate',
|
|
781
843
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
782
844
|
{'label': 'Service Call',
|
|
783
845
|
'function_call': func,
|
|
784
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
846
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
785
847
|
'type': 'call',
|
|
786
848
|
'params': [self.adaptor.description.elements.call, node]},
|
|
787
849
|
{'label': 'Script',
|
|
788
850
|
'function_call': func,
|
|
789
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
851
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
790
852
|
'type': 'manipulate',
|
|
791
853
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
792
854
|
{'label': 'Parallel',
|
|
793
855
|
'function_call': func,
|
|
794
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
856
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
795
857
|
'type': 'parallel',
|
|
796
858
|
'params': [self.adaptor.description.elements.parallel, node]},
|
|
797
859
|
{'label': 'Decision',
|
|
798
860
|
'function_call': func,
|
|
799
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
861
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
800
862
|
'type': 'choose',
|
|
801
863
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
802
864
|
{'label': 'Loop',
|
|
803
865
|
'function_call': func,
|
|
804
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
866
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
805
867
|
'type': 'loop',
|
|
806
868
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
807
869
|
{'label': 'Terminate',
|
|
808
870
|
'function_call': func,
|
|
809
|
-
'menu_icon': self.elements.terminate.illustrator.svg
|
|
871
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.terminate.illustrator.svg),
|
|
810
872
|
'type': 'terminate',
|
|
811
873
|
'params': [self.adaptor.description.elements.terminate, node]},
|
|
812
874
|
{'label': 'Stop',
|
|
813
875
|
'function_call': func,
|
|
814
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
876
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
815
877
|
'type': 'stop',
|
|
816
878
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
817
879
|
];
|
|
818
|
-
if(node.
|
|
819
|
-
childs.push(
|
|
820
|
-
|
|
880
|
+
if(node.parents('parallel_branch').length > 0) {
|
|
881
|
+
childs.push(
|
|
882
|
+
{'label': 'Critical',
|
|
821
883
|
'function_call': func,
|
|
822
|
-
'menu_icon': self.elements.critical.illustrator.svg
|
|
884
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.critical.illustrator.svg),
|
|
823
885
|
'type': 'critical',
|
|
824
|
-
'params': [self.adaptor.description.elements.critical, node]
|
|
825
|
-
|
|
886
|
+
'params': [self.adaptor.description.elements.critical, node]},
|
|
887
|
+
{'label': 'Wait for Signal',
|
|
888
|
+
'function_call': func,
|
|
889
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.wait_for_signal.illustrator.svg),
|
|
890
|
+
'type': 'wait_for_signal',
|
|
891
|
+
'params': [self.adaptor.description.elements.wait_for_signal, node]}
|
|
892
|
+
);
|
|
826
893
|
}
|
|
827
894
|
return childs;
|
|
828
895
|
}, //}}}
|
|
@@ -862,60 +929,65 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
862
929
|
var childs = [
|
|
863
930
|
{'label': 'Service Call with Scripts',
|
|
864
931
|
'function_call': func,
|
|
865
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
932
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
866
933
|
'type': 'callmanipulate',
|
|
867
934
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
868
935
|
{'label': 'Service Call',
|
|
869
936
|
'function_call': func,
|
|
870
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
937
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
871
938
|
'type': 'call',
|
|
872
939
|
'params': [self.adaptor.description.elements.call, node]},
|
|
873
940
|
{'label': 'Script',
|
|
874
941
|
'function_call': func,
|
|
875
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
942
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
876
943
|
'type': 'manipulate',
|
|
877
944
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
878
945
|
{'label': 'Decision',
|
|
879
946
|
'function_call': func,
|
|
880
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
947
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
881
948
|
'type': 'choose',
|
|
882
949
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
883
950
|
{'label': 'Loop',
|
|
884
951
|
'function_call': func,
|
|
885
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
952
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
886
953
|
'type': 'loop',
|
|
887
954
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
888
955
|
{'label': 'Terminate',
|
|
889
956
|
'function_call': func,
|
|
890
|
-
'menu_icon': self.elements.terminate.illustrator.svg
|
|
957
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.terminate.illustrator.svg),
|
|
891
958
|
'type': 'terminate',
|
|
892
959
|
'params': [self.adaptor.description.elements.terminate, node]},
|
|
893
960
|
{'label': 'Stop',
|
|
894
961
|
'function_call': func,
|
|
895
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
962
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
896
963
|
'type': 'stop',
|
|
897
964
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
898
965
|
];
|
|
899
|
-
if(node.
|
|
900
|
-
childs.push(
|
|
901
|
-
|
|
966
|
+
if(node.parents('parallel_branch').length > 0) {
|
|
967
|
+
childs.push(
|
|
968
|
+
{'label': 'Critical',
|
|
902
969
|
'function_call': func,
|
|
903
|
-
'menu_icon': self.elements.critical.illustrator.svg
|
|
970
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.critical.illustrator.svg),
|
|
904
971
|
'type': 'critical',
|
|
905
|
-
'params': [self.adaptor.description.elements.critical, node]
|
|
906
|
-
|
|
972
|
+
'params': [self.adaptor.description.elements.critical, node]},
|
|
973
|
+
{'label': 'Wait for Signal',
|
|
974
|
+
'function_call': func,
|
|
975
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.wait_for_signal.illustrator.svg),
|
|
976
|
+
'type': 'wait_for_signal',
|
|
977
|
+
'params': [self.adaptor.description.elements.wait_for_signal, node]}
|
|
978
|
+
);
|
|
907
979
|
}
|
|
908
|
-
if(node.
|
|
980
|
+
if(node.parents('parallel').length > node.parents('parallel_branch').length) {
|
|
909
981
|
childs.push({'label': 'Parallel Branch',
|
|
910
982
|
'function_call': func,
|
|
911
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg
|
|
983
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel_branch.illustrator.svg),
|
|
912
984
|
'type': 'parallel_branch',
|
|
913
985
|
'params': [self.adaptor.description.elements.parallel_branch, node]}
|
|
914
986
|
);
|
|
915
987
|
} else {
|
|
916
988
|
childs.push({'label': 'Parallel',
|
|
917
989
|
'function_call': func,
|
|
918
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
990
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
919
991
|
'type': 'parallel',
|
|
920
992
|
'params': [self.adaptor.description.elements.parallel, node]}
|
|
921
993
|
);
|
|
@@ -965,7 +1037,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
965
1037
|
var childs = [
|
|
966
1038
|
{'label': 'Parallel Branch',
|
|
967
1039
|
'function_call': func,
|
|
968
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg
|
|
1040
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel_branch.illustrator.svg),
|
|
969
1041
|
'type': 'parallel_branch',
|
|
970
1042
|
'params': [self.adaptor.description.elements.parallel_branch, node]},
|
|
971
1043
|
];
|
|
@@ -978,39 +1050,39 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
978
1050
|
var childs = [
|
|
979
1051
|
{'label': 'Service Call with Scripts',
|
|
980
1052
|
'function_call': func,
|
|
981
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
1053
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
982
1054
|
'type': 'callmanipulate',
|
|
983
1055
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
984
1056
|
{'label': 'Service Call',
|
|
985
1057
|
'function_call': func,
|
|
986
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
1058
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
987
1059
|
'type': 'call',
|
|
988
1060
|
'params': [self.adaptor.description.elements.call, node]},
|
|
989
1061
|
{'label': 'Script',
|
|
990
1062
|
'function_call': func,
|
|
991
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
1063
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
992
1064
|
'type': 'manipulate',
|
|
993
1065
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
994
1066
|
{'label': 'Decision',
|
|
995
1067
|
'function_call': func,
|
|
996
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
1068
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
997
1069
|
'type': 'choose',
|
|
998
1070
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
999
1071
|
{'label': 'Loop',
|
|
1000
1072
|
'function_call': func,
|
|
1001
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
1073
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
1002
1074
|
'type': 'loop',
|
|
1003
1075
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
1004
1076
|
{'label': 'Stop',
|
|
1005
1077
|
'function_call': func,
|
|
1006
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
1078
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
1007
1079
|
'type': 'stop',
|
|
1008
1080
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
1009
1081
|
];
|
|
1010
1082
|
if(node.get(0).tagName != 'parallel')
|
|
1011
1083
|
childs.push({'label': 'Parallel',
|
|
1012
1084
|
'function_call': self.adaptor.description.insert_last_into,
|
|
1013
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
1085
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
1014
1086
|
'type': 'parallel',
|
|
1015
1087
|
'params': [self.adaptor.description.elements.parallel, node]});
|
|
1016
1088
|
return childs;
|
|
@@ -1056,54 +1128,59 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1056
1128
|
var childs = [
|
|
1057
1129
|
{'label': 'Service Call with Scripts',
|
|
1058
1130
|
'function_call': func,
|
|
1059
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
1131
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
1060
1132
|
'type': 'callmanipulate',
|
|
1061
1133
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
1062
1134
|
{'label': 'Service Call',
|
|
1063
1135
|
'function_call': func,
|
|
1064
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
1136
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
1065
1137
|
'type': 'call',
|
|
1066
1138
|
'params': [self.adaptor.description.elements.call, node]},
|
|
1067
1139
|
{'label': 'Script',
|
|
1068
1140
|
'function_call': func,
|
|
1069
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
1141
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
1070
1142
|
'type': 'manipulate',
|
|
1071
1143
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
1072
1144
|
{'label': 'Parallel',
|
|
1073
1145
|
'function_call': func,
|
|
1074
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
1146
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
1075
1147
|
'type': 'parallel',
|
|
1076
1148
|
'params': [self.adaptor.description.elements.parallel, node]},
|
|
1077
1149
|
{'label': 'Decision',
|
|
1078
1150
|
'function_call': func,
|
|
1079
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
1151
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
1080
1152
|
'type': 'choose',
|
|
1081
1153
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
1082
1154
|
{'label': 'Loop',
|
|
1083
1155
|
'function_call': func,
|
|
1084
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
1156
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
1085
1157
|
'type': 'loop',
|
|
1086
1158
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
1087
1159
|
{'label': 'Terminate',
|
|
1088
1160
|
'function_call': func,
|
|
1089
|
-
'menu_icon': self.elements.terminate.illustrator.svg
|
|
1161
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.terminate.illustrator.svg),
|
|
1090
1162
|
'type': 'terminate',
|
|
1091
1163
|
'params': [self.adaptor.description.elements.terminate, node]},
|
|
1092
1164
|
{'label': 'Stop',
|
|
1093
1165
|
'function_call': func,
|
|
1094
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
1166
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
1095
1167
|
'type': 'stop',
|
|
1096
1168
|
'params': [self.adaptor.description.elements.stop, node]},
|
|
1097
1169
|
{'label': 'Critical',
|
|
1098
1170
|
'function_call': func,
|
|
1099
|
-
'menu_icon': self.elements.critical.illustrator.svg
|
|
1171
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.critical.illustrator.svg),
|
|
1100
1172
|
'type': 'critical',
|
|
1101
|
-
'params': [self.adaptor.description.elements.critical, node]}
|
|
1173
|
+
'params': [self.adaptor.description.elements.critical, node]},
|
|
1174
|
+
{'label': 'Wait for Signal',
|
|
1175
|
+
'function_call': func,
|
|
1176
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.wait_for_signal.illustrator.svg),
|
|
1177
|
+
'type': 'wait_for_signal',
|
|
1178
|
+
'params': [self.adaptor.description.elements.wait_for_signal, node]}
|
|
1102
1179
|
];
|
|
1103
1180
|
if(node.parents('choose').length > node.parents('alternative, otherwise').length && node.get(0).tagName == 'parallel_branch') {
|
|
1104
1181
|
return [{'label': 'Alternative',
|
|
1105
1182
|
'function_call': func,
|
|
1106
|
-
'menu_icon': self.elements.alternative.illustrator.svg
|
|
1183
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.alternative.illustrator.svg),
|
|
1107
1184
|
'type': 'alternative',
|
|
1108
1185
|
'params': [self.adaptor.description.elements.alternative, node]}];
|
|
1109
1186
|
}
|
|
@@ -1141,53 +1218,58 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1141
1218
|
var childs = [
|
|
1142
1219
|
{'label': 'Service Call with Scripts',
|
|
1143
1220
|
'function_call': func,
|
|
1144
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
1221
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
1145
1222
|
'type': 'callmanipulate',
|
|
1146
1223
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
1147
1224
|
{'label': 'Service Call',
|
|
1148
1225
|
'function_call': func,
|
|
1149
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
1226
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
1150
1227
|
'type': 'call',
|
|
1151
1228
|
'params': [self.adaptor.description.elements.call, node]},
|
|
1152
1229
|
{'label': 'Script',
|
|
1153
1230
|
'function_call': func,
|
|
1154
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
1231
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
1155
1232
|
'type': 'manipulate',
|
|
1156
1233
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
1157
1234
|
{'label': 'Parallel',
|
|
1158
1235
|
'function_call': func,
|
|
1159
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
1236
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
1160
1237
|
'type': 'parallel',
|
|
1161
1238
|
'params': [self.adaptor.description.elements.parallel, node]},
|
|
1162
1239
|
{'label': 'Decision',
|
|
1163
1240
|
'function_call': func,
|
|
1164
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
1241
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
1165
1242
|
'type': 'choose',
|
|
1166
1243
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
1167
1244
|
{'label': 'Loop',
|
|
1168
1245
|
'function_call': func,
|
|
1169
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
1246
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
1170
1247
|
'type': 'loop',
|
|
1171
1248
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
1172
1249
|
{'label': 'Terminate',
|
|
1173
1250
|
'function_call': func,
|
|
1174
|
-
'menu_icon': self.elements.terminate.illustrator.svg
|
|
1251
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.terminate.illustrator.svg),
|
|
1175
1252
|
'type': 'terminate',
|
|
1176
1253
|
'params': [self.adaptor.description.elements.terminate, node]},
|
|
1177
1254
|
{'label': 'Stop',
|
|
1178
1255
|
'function_call': func,
|
|
1179
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
1256
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
1180
1257
|
'type': 'stop',
|
|
1181
1258
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
1182
1259
|
];
|
|
1183
|
-
if(node.
|
|
1184
|
-
childs.push(
|
|
1185
|
-
|
|
1260
|
+
if(node.parents('parallel_branch').length > 0) {
|
|
1261
|
+
childs.push(
|
|
1262
|
+
{'label': 'Critical',
|
|
1186
1263
|
'function_call': func,
|
|
1187
|
-
'menu_icon': self.elements.critical.illustrator.svg
|
|
1264
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.critical.illustrator.svg),
|
|
1188
1265
|
'type': 'critical',
|
|
1189
|
-
'params': [self.adaptor.description.elements.critical, node]
|
|
1190
|
-
|
|
1266
|
+
'params': [self.adaptor.description.elements.critical, node]},
|
|
1267
|
+
{'label': 'Wait for Signal',
|
|
1268
|
+
'function_call': func,
|
|
1269
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.wait_for_signal.illustrator.svg),
|
|
1270
|
+
'type': 'wait_for_signal',
|
|
1271
|
+
'params': [self.adaptor.description.elements.wait_for_signal, node]}
|
|
1272
|
+
);
|
|
1191
1273
|
}
|
|
1192
1274
|
return childs;
|
|
1193
1275
|
}, //}}}
|
|
@@ -1237,6 +1319,14 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1237
1319
|
'type': 'description',
|
|
1238
1320
|
'illustrator': {//{{{
|
|
1239
1321
|
'endnodes': 'passthrough',
|
|
1322
|
+
'style': function(node) {
|
|
1323
|
+
let sty = {};
|
|
1324
|
+
let col = $(node).attr('color');
|
|
1325
|
+
if (col && col != '') {
|
|
1326
|
+
sty['fill'] = col;
|
|
1327
|
+
}
|
|
1328
|
+
return sty;
|
|
1329
|
+
},
|
|
1240
1330
|
'closeblock': false,
|
|
1241
1331
|
'balance': true,
|
|
1242
1332
|
'expansion': function(node) {
|
|
@@ -1246,8 +1336,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1246
1336
|
let alist = []
|
|
1247
1337
|
let plist = []
|
|
1248
1338
|
|
|
1249
|
-
var regassi = /data\.([a-zA-Z_]
|
|
1250
|
-
var reg_not_assi = /data\.([a-zA-Z_]
|
|
1339
|
+
var regassi = /data\.([a-zA-Z_][a-zA-Z0-9_]*)\s*(=[^=]|\+\=|\-\=|\*\=|\/\=|<<|>>)/g; // we do not have to check for >/< version of stuff as only conditions are in attributes, and conditions can not contain assignments
|
|
1340
|
+
var reg_not_assi = /data\.([a-zA-Z_][a-zA-Z0-9_]*)\s*/g;
|
|
1251
1341
|
|
|
1252
1342
|
$('call, manipulate, loop[condition], alternative[condition]',node).each(function(i,n) {
|
|
1253
1343
|
let item = '';
|
|
@@ -1261,13 +1351,11 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1261
1351
|
item += n.textContent + '\n';
|
|
1262
1352
|
}
|
|
1263
1353
|
$('call > parameters > arguments > *, call > code > finalize, call > code > update, call > code > rescue',n).each(function(j,m){
|
|
1264
|
-
console.log('aaa');
|
|
1265
1354
|
let x = m.textContent;
|
|
1266
1355
|
if (m.parentNode.nodeName == 'arguments' && x.charAt(0) != '!' ) { return }
|
|
1267
1356
|
item += x + '\n';
|
|
1268
1357
|
});
|
|
1269
1358
|
}
|
|
1270
|
-
console.log(item);
|
|
1271
1359
|
if (item == '') { return; }
|
|
1272
1360
|
|
|
1273
1361
|
let indices = [];
|
|
@@ -1303,49 +1391,40 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1303
1391
|
var childs = [
|
|
1304
1392
|
{'label': 'Service Call with Scripts',
|
|
1305
1393
|
'function_call': func,
|
|
1306
|
-
'menu_icon': self.elements.callmanipulate.illustrator.svg
|
|
1394
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg),
|
|
1307
1395
|
'type': 'callmanipulate',
|
|
1308
1396
|
'params': [self.adaptor.description.elements.callmanipulate, node]},
|
|
1309
1397
|
{'label': 'Service Call',
|
|
1310
1398
|
'function_call': func,
|
|
1311
|
-
'menu_icon': self.elements.call.illustrator.svg
|
|
1399
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.call.illustrator.svg),
|
|
1312
1400
|
'type': 'call',
|
|
1313
1401
|
'params': [self.adaptor.description.elements.call, node]},
|
|
1314
1402
|
{'label': 'Script',
|
|
1315
1403
|
'function_call': func,
|
|
1316
|
-
'menu_icon': self.elements.manipulate.illustrator.svg
|
|
1404
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.manipulate.illustrator.svg),
|
|
1317
1405
|
'type': 'manipulate',
|
|
1318
1406
|
'params': [self.adaptor.description.elements.manipulate, node]},
|
|
1319
1407
|
{'label': 'Parallel',
|
|
1320
1408
|
'function_call': func,
|
|
1321
|
-
'menu_icon': self.elements.parallel.illustrator.svg
|
|
1409
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.parallel.illustrator.svg),
|
|
1322
1410
|
'type': 'parallel',
|
|
1323
1411
|
'params': [self.adaptor.description.elements.parallel, node]},
|
|
1324
1412
|
{'label': 'Decision',
|
|
1325
1413
|
'function_call': func,
|
|
1326
|
-
'menu_icon': self.elements.choose.illustrator.svg
|
|
1414
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.choose.illustrator.svg),
|
|
1327
1415
|
'type': 'choose',
|
|
1328
1416
|
'params': [self.adaptor.description.elements.choose, node]},
|
|
1329
1417
|
{'label': 'Loop',
|
|
1330
1418
|
'function_call': func,
|
|
1331
|
-
'menu_icon': self.elements.loop.illustrator.svg
|
|
1419
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.loop.illustrator.svg),
|
|
1332
1420
|
'type': 'loop',
|
|
1333
1421
|
'params': [self.adaptor.description.elements.loop, node]},
|
|
1334
1422
|
{'label': 'Stop',
|
|
1335
1423
|
'function_call': func,
|
|
1336
|
-
'menu_icon': self.elements.stop.illustrator.svg
|
|
1424
|
+
'menu_icon': contextMenuHandling_clean_icon(self.elements.stop.illustrator.svg),
|
|
1337
1425
|
'type': 'stop',
|
|
1338
1426
|
'params': [self.adaptor.description.elements.stop, node]}
|
|
1339
1427
|
];
|
|
1340
|
-
if(node.parent('parallel_branch').length > 0) {
|
|
1341
|
-
childs.push({
|
|
1342
|
-
'label': 'Critical',
|
|
1343
|
-
'function_call': func,
|
|
1344
|
-
'menu_icon': self.elements.critical.illustrator.svg.clone(),
|
|
1345
|
-
'type': 'critical',
|
|
1346
|
-
'params': [self.adaptor.description.elements.critical, node]
|
|
1347
|
-
});
|
|
1348
|
-
}
|
|
1349
1428
|
return childs;
|
|
1350
1429
|
}, //}}}
|
|
1351
1430
|
'adaptor': {//{{{
|
|
@@ -1378,7 +1457,17 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1378
1457
|
'parent': 'call',
|
|
1379
1458
|
'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
|
|
1380
1459
|
'illustrator': {//{{{
|
|
1381
|
-
'
|
|
1460
|
+
'style': function(node){
|
|
1461
|
+
let sty = {};
|
|
1462
|
+
let col = $('> parameters > color', node);
|
|
1463
|
+
if (col.length > 0 && col.text() != '') {
|
|
1464
|
+
sty['fill'] = col.text();
|
|
1465
|
+
}
|
|
1466
|
+
return sty;
|
|
1467
|
+
},
|
|
1468
|
+
'info': function(node){
|
|
1469
|
+
return { 'element-endpoint': $(node).attr('endpoint') };
|
|
1470
|
+
},
|
|
1382
1471
|
'svg': self.adaptor.theme_dir + 'symbols/callmanipulate.svg'
|
|
1383
1472
|
}//}}}
|
|
1384
1473
|
}; /*}}}*/
|
|
@@ -1389,6 +1478,20 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1389
1478
|
'svg': self.adaptor.theme_dir + 'symbols/callmanipulate_sensor.svg'
|
|
1390
1479
|
}//}}}
|
|
1391
1480
|
}; /*}}}*/
|
|
1481
|
+
this.elements.callmanipulate_signal = { /*{{{*/
|
|
1482
|
+
'parent': 'call',
|
|
1483
|
+
'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
|
|
1484
|
+
'illustrator': {//{{{
|
|
1485
|
+
'svg': self.adaptor.theme_dir + 'symbols/callmanipulate_signal.svg'
|
|
1486
|
+
}//}}}
|
|
1487
|
+
}; /*}}}*/
|
|
1488
|
+
this.elements.callmanipulate_sensor_signal = { /*{{{*/
|
|
1489
|
+
'parent': 'call',
|
|
1490
|
+
'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
|
|
1491
|
+
'illustrator': {//{{{
|
|
1492
|
+
'svg': self.adaptor.theme_dir + 'symbols/callmanipulate_sensor_signal.svg'
|
|
1493
|
+
}//}}}
|
|
1494
|
+
}; /*}}}*/
|
|
1392
1495
|
this.elements.loop_head = { /*{{{*/
|
|
1393
1496
|
'parent': 'loop',
|
|
1394
1497
|
'illustrator': {//{{{
|
|
@@ -1423,13 +1526,13 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1423
1526
|
this.elements.choose_inclusive_finish = { /*{{{*/
|
|
1424
1527
|
'parent': 'choose_finish',
|
|
1425
1528
|
'illustrator': {//{{{
|
|
1426
|
-
'svg': self.adaptor.theme_dir + 'symbols/
|
|
1529
|
+
'svg': self.adaptor.theme_dir + 'symbols/choose_inclusive_finish.svg'
|
|
1427
1530
|
}//}}}
|
|
1428
1531
|
}; /*}}}*/
|
|
1429
1532
|
this.elements.choose_exclusive_finish = { /*{{{*/
|
|
1430
1533
|
'parent': 'choose_finish',
|
|
1431
1534
|
'illustrator': {//{{{
|
|
1432
|
-
'svg': self.adaptor.theme_dir + 'symbols/
|
|
1535
|
+
'svg': self.adaptor.theme_dir + 'symbols/choose_exclusive_finish.svg'
|
|
1433
1536
|
},//}}}
|
|
1434
1537
|
}; /*}}}*/
|
|
1435
1538
|
this.elements.loop_head_finish = { /*{{{*/
|
|
@@ -1507,13 +1610,6 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1507
1610
|
'svg': self.adaptor.theme_dir + 'symbols/parallel_branch_event.svg'
|
|
1508
1611
|
}//}}}
|
|
1509
1612
|
}; /*}}}*/
|
|
1510
|
-
this.elements.parallel_branch_compact = { /*{{{*/
|
|
1511
|
-
'parent': 'parallel_branch',
|
|
1512
|
-
'illustrator': {//{{{
|
|
1513
|
-
'endnodes': 'this',
|
|
1514
|
-
'svg': self.adaptor.theme_dir + 'symbols/parallel_branch_compact.svg'
|
|
1515
|
-
}//}}}
|
|
1516
|
-
}; /*}}}*/
|
|
1517
1613
|
this.elements.scripts = { /*{{{*/
|
|
1518
1614
|
'description': [self.adaptor.theme_dir + 'rngs/scripts.rng']
|
|
1519
1615
|
}; /*}}}*/
|