This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit c5d657e
committed
[[ DefaultHandlers ]] Improve default handler construction
This patch reinstates the use of default scripts specified by widgets
and allows them to have multiple handlers within them.
It also adds the ability to override default scripts for handlers
dependent on 'classic' object type, for example different default
scripts for a standard button and an option menu.
Finally, if a default script override is not present, info from the
documentation is used to construct a default handler with params.1 parent 6b69d1a commit c5d657e
3 files changed
Lines changed: 98 additions & 19 deletions
File tree
- Toolset
- libraries
- palettes/script editor/behaviors
- resources/supporting_files/default_scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4135 | 4135 | | |
4136 | 4136 | | |
4137 | 4137 | | |
| 4138 | + | |
| 4139 | + | |
| 4140 | + | |
4138 | 4141 | | |
4139 | 4142 | | |
4140 | 4143 | | |
| |||
5496 | 5499 | | |
5497 | 5500 | | |
5498 | 5501 | | |
| 5502 | + | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
| 5508 | + | |
| 5509 | + | |
| 5510 | + | |
| 5511 | + | |
| 5512 | + | |
| 5513 | + | |
| 5514 | + | |
| 5515 | + | |
| 5516 | + | |
| 5517 | + | |
| 5518 | + | |
| 5519 | + | |
| 5520 | + | |
| 5521 | + | |
| 5522 | + | |
| 5523 | + | |
| 5524 | + | |
| 5525 | + | |
| 5526 | + | |
| 5527 | + | |
| 5528 | + | |
| 5529 | + | |
| 5530 | + | |
| 5531 | + | |
| 5532 | + | |
| 5533 | + | |
| 5534 | + | |
| 5535 | + | |
| 5536 | + | |
| 5537 | + | |
| 5538 | + | |
| 5539 | + | |
| 5540 | + | |
| 5541 | + | |
| 5542 | + | |
| 5543 | + | |
| 5544 | + | |
| 5545 | + | |
| 5546 | + | |
| 5547 | + | |
5499 | 5548 | | |
5500 | 5549 | | |
5501 | 5550 | | |
| |||
Lines changed: 43 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2949 | 2949 | | |
2950 | 2950 | | |
2951 | 2951 | | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
| 2956 | + | |
| 2957 | + | |
2952 | 2958 | | |
2953 | 2959 | | |
2954 | | - | |
| 2960 | + | |
2955 | 2961 | | |
2956 | 2962 | | |
2957 | 2963 | | |
2958 | 2964 | | |
2959 | | - | |
| 2965 | + | |
2960 | 2966 | | |
2961 | 2967 | | |
2962 | 2968 | | |
2963 | 2969 | | |
2964 | 2970 | | |
2965 | 2971 | | |
2966 | | - | |
| 2972 | + | |
2967 | 2973 | | |
2968 | 2974 | | |
2969 | | - | |
2970 | 2975 | | |
2971 | | - | |
| 2976 | + | |
2972 | 2977 | | |
2973 | 2978 | | |
2974 | 2979 | | |
2975 | 2980 | | |
2976 | | - | |
| 2981 | + | |
2977 | 2982 | | |
2978 | 2983 | | |
2979 | 2984 | | |
2980 | 2985 | | |
2981 | 2986 | | |
2982 | 2987 | | |
2983 | | - | |
| 2988 | + | |
2984 | 2989 | | |
2985 | | - | |
2986 | 2990 | | |
2987 | | - | |
| 2991 | + | |
2988 | 2992 | | |
2989 | 2993 | | |
2990 | 2994 | | |
| |||
3009 | 3013 | | |
3010 | 3014 | | |
3011 | 3015 | | |
3012 | | - | |
3013 | | - | |
3014 | | - | |
3015 | | - | |
3016 | | - | |
3017 | | - | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
3018 | 3025 | | |
3019 | | - | |
3020 | | - | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
| 3032 | + | |
| 3033 | + | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
| 3038 | + | |
3021 | 3039 | | |
3022 | 3040 | | |
3023 | | - | |
3024 | | - | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
3025 | 3049 | | |
3026 | 3050 | | |
3027 | 3051 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments