1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
| {
"group_name": "Group_Login",
"comment_list_entries": "header == NULL -> is a picture, clicked_entry = NULL",
"list_entries": [
{"id": "ADCP", "state": "STATE_ADMIN_CHANGE_PWD", "label": "", "controller": "frame_admin_change_pwd", "event": "select_admin_change_pwd", "header": "header_admin"},
{"id": "ADLO", "state": "STATE_ADMIN_LOG_OUT", "label": "", "controller": "frame_admin_log_out", "event": "select_admin_log_out", "header": "header_admin"},
{"id": "SEC ", "state": "STATE_SETTINGS_CHANGE", "label": "", "controller": "frame_settings_change", "event": "select_settings_change", "header": "header_settings"},
{"id": "SIC ", "state": "STATE_SITE_CREATE", "label": "", "controller": "frame_site_create", "event": "select_site_create", "header": "header_site"},
{"id": "SID ", "state": "STATE_SITE_DELETE", "label": "", "controller": "frame_site_delete", "event": "select_site_delete", "header": "header_site"},
{"id": "SILO", "state": "STATE_SITE_LOG_IN", "label": "", "controller": "frame_site_log_in", "event": "select_site_log_in", "header": "header_site"},
{"id": "SIM ", "state": "STATE_SITE_MODIFY", "label": "", "controller": "frame_site_modify", "event": "select_site_modify", "header": "header_site"},
{"id": "LIE ", "state": "STATE_LIST_EXPORT", "label": "", "controller": "frame_list_export", "event": "select_list_export", "header": ""},
{"id": "LII ", "state": "STATE_LIST_IMPORT", "label": "", "controller": "frame_list_import", "event": "select_list_import", "header": ""},
{"id": "SILI", "state": "STATE_SITE_LIST", "label": "", "controller": "frame_site_list", "event": "select_site_list", "header": ""}
],
"comment_transitions": "column header: current state, line header: next state",
"matrix": [
" ;ADCP ;ADLO ;SEC ;SIC ;SID ;SILO ;SIM ;LIE ;LII ;SILI ;",
"ADCP; ; ; ; ; ; ; ; ; ; ;",
"ADLO; ; ; ; ; ; ; ; ; ; ;",
"SEC ; ; ; ; ; ; ; ; ; ; ;",
"SIC ; ; ; ; ; ; ; ; ; ; ;",
"SID ; ; ; ; ; ; ; ; ; ; ;",
"SILO; ; ; ; ; ; ; ; ; ; ;",
"SIM ; ; ; ; ; ; ; ; ; ; ;",
"LIE ; ; ; ; ; ; ; ; ; ; ;",
"LII ; ; ; ; ; ; ; ; ; ; ;",
"SILI; ; ; ; ; ; ; ; ; ; ;"
],
"comment_actions": [
{"action": "add_panel_infos", "param": "screen_id"},
{"action": "add_list", "param": "screen_id", "other": "step_id"}
],
"list_actions": [
],
"list_steps": [
{"id": "unparent_panel_infos", "list": [
{"id": " ", "func": ""},
{"id": "U", "func": "unparent_panel_infos"}
]},
{"id": "hide_controller", "list": [
{"id": " ", "func": ""},
{"id": "*", "func": "hide_controller"},
{"id": "A", "func": "hide_admin_change_pwd"},
{"id": "E", "func": "hide_list_export"},
{"id": "I", "func": "hide_list_import"},
{"id": "L", "func": "hide_site_list"}
]},
{"id": "list_sites", "list": [
{"id": " ", "func": ""},
{"id": "H", "func": "unparent_list_sites"},
{"id": "D", "func": "setup_list_delete"},
{"id": "L", "func": "setup_list_log_in"}
]},
{"id": "test_setting_change", "list": [
{"id": " ", "func": ""},
{"id": "T", "func": "test_setting_change", "increment_indent": true}
]},
{"id": "display_controller", "list": [
{"id": " ", "func": ""},
{"id": "*", "func": "display_controller"},
{"id": "A", "func": "display_admin_change_pwd"},
{"id": "E", "func": "display_list_export"},
{"id": "I", "func": "display_list_import"},
{"id": "L", "func": "display_site_list"}
]},
{"id": "parent_panel_infos", "list": [
{"id": " ", "func": ""},
{"id": "P", "func": "parent_panel_infos"}
]},
{"id": "parent_list_sites", "list": [
{"id": " ", "func": ""},
{"id": "D", "func": "parent_list_delete"},
{"id": "L", "func": "parent_list_log_in"}
]},
{"id": "extra", "list": [
{"id": " ", "func": ""},
{"id": "O", "func": "init_setting_change_value"},
{"id": "E", "func": "test_setting_change_end", "decrement_indent": true},
{"id": "A", "func": "test_setting_change_end01", "decrement_indent": true},
{"id": "X", "func": "test_setting_change_end02", "decrement_indent": true},
{"id": "I", "func": "test_setting_change_end03", "decrement_indent": true},
{"id": "L", "func": "test_setting_change_end04", "decrement_indent": true}
]}
],
"display_admin_change_pwd": [
"DISPLAY_SCREEN_ADMIN_CHANGE_PWD"
],
"display_controller": [
"DISPLAY_SCREEN(%Ncontroller%, CONVERT_XGY_TO_YGX(%header%->color))"
],
"display_list_export": [
"SELECT_IMG_EXPORT(IMG_EXPORT_BLUE)",
"",
"group_bundle.frame_list_export.will_appear();",
"group_bundle.frame_list_export.set_parent_ui(&main_form);",
"group_bundle.frame_list_export.did_appear(LIST_SITE);",
"",
"state = STATE_LIST_EXPORT;"
],
"display_list_import": [
"SELECT_IMG_IMPORT(IMG_IMPORT_BLUE)",
"",
"group_bundle.frame_list_import.will_appear();",
"group_bundle.frame_list_import.set_parent_ui(&main_form);",
"group_bundle.frame_list_import.did_appear(LIST_SITE);",
"",
"state = STATE_LIST_IMPORT;"
],
"test_setting_change_end": [
"} else {",
"\tSELECT_CLICKED_MENU(CONVERT_XGY_TO_YGX(%header%->color))",
"\tLAUNCH_WAIT_SETTING_CHANGE(&%group_name%::%Nevent%)",
"}"
// .....
} |