|
ARB
|
#include "NT_local.h"#include <TreeDisplay.hxx>#include <sel_boxes.hxx>#include <selection_admin.h>#include <config_manager.hxx>#include <aw_awars.hxx>#include <aw_root.hxx>#include <aw_msg.hxx>#include <aw_select.hxx>#include <aw_system.hxx>#include <ad_config.h>#include <ad_cb_prot.h>#include <map>
Go to the source code of this file.
Classes | |
| class | FINAL_TYPE< SEQTYPE > |
| xml element More... | |
| struct | ConfigModifier |
| class | ConfigRenamer |
| class | ConfigDeleter |
| class | NtSelectionAdmin |
Macros | |
| #define | AWAR_CL_SELECTED_CONFIGS "configuration_data/win%i/selected" |
| #define | AWAR_CL_DISPLAY_CONFIG_MARKERS "configuration_data/win%i/display" |
| #define | AWAR_CONFIG_COMMENT "tmp/configuration/comment" |
| #define | AWAR_CONFIGURATION "focus/configuration" |
| #define | CONFIG_SEPARATOR "\1" |
| #define | CONFIG_BASE_PATH "/configuration_data/configuration" |
| #define | MANAGED_CONFIGSET_SECTION "configmarkers" |
| #define | MANAGED_CONFIGSET_ENTRY "selected_configs" |
Typedefs | |
| typedef map< string, string > | ConfigHits |
Variables | |
| static AW_selection * | selected_configs_list [MAX_NT_WINDOWS] = { MAX_NT_WINDOWS_NULLINIT } |
| static bool | allow_selection2awar_update = true |
| static bool | allow_to_activate_display = false |
| #define AWAR_CL_SELECTED_CONFIGS "configuration_data/win%i/selected" |
Definition at line 33 of file NT_edconf.cxx.
Referenced by get_config_awar(), NT_activate_configMarkers_display(), and write_configs_to_awar().
| #define AWAR_CL_DISPLAY_CONFIG_MARKERS "configuration_data/win%i/display" |
Definition at line 34 of file NT_edconf.cxx.
Referenced by get_display_toggle_awar(), and NT_activate_configMarkers_display().
| #define AWAR_CONFIG_COMMENT "tmp/configuration/comment" |
Definition at line 36 of file NT_edconf.cxx.
Referenced by NtSelectionAdmin::get_selectionComment_awarname().
| #define AWAR_CONFIGURATION "focus/configuration" |
Definition at line 37 of file NT_edconf.cxx.
Referenced by create_configuration_marker_window(), NtSelectionAdmin::get_selection_awarname(), FINAL_TYPE< SEQTYPE >::handle_click(), init_config_awar(), NT_create_startEditorOnOldConfiguration_window(), and nt_start_editor_on_configuration().
| #define CONFIG_SEPARATOR "\1" |
Definition at line 119 of file NT_edconf.cxx.
Referenced by correct_managed_configsets_cb(), get_selected_configs_from_awar(), and write_configs_to_awar().
| #define CONFIG_BASE_PATH "/configuration_data/configuration" |
Definition at line 227 of file NT_edconf.cxx.
Referenced by install_config_change_callbacks().
| #define MANAGED_CONFIGSET_SECTION "configmarkers" |
Definition at line 255 of file NT_edconf.cxx.
Referenced by create_configuration_marker_window(), and modify_configurations().
| #define MANAGED_CONFIGSET_ENTRY "selected_configs" |
Definition at line 256 of file NT_edconf.cxx.
Referenced by correct_managed_configsets_cb(), and setup_configmarker_config_cb().
| typedef map<string, string> ConfigHits |
Definition at line 39 of file NT_edconf.cxx.
|
inline |
Definition at line 117 of file NT_edconf.cxx.
References md.
Referenced by selected_configs_awar_changed_cb().
Definition at line 121 of file NT_edconf.cxx.
References AW_root::awar_no_error(), GBS_global_string(), and AW_root::SINGLETON.
Referenced by get_config_awar(), and get_display_toggle_awar().
Definition at line 124 of file NT_edconf.cxx.
References AWAR_CL_SELECTED_CONFIGS, and get_canvas_awar().
Referenced by config_modified_cb(), get_selected_configs_from_awar(), and setup_configmarker_config_cb().
Definition at line 125 of file NT_edconf.cxx.
References AWAR_CL_DISPLAY_CONFIG_MARKERS, and get_canvas_awar().
Referenced by create_configuration_marker_window(), and selected_configs_awar_changed_cb().
|
static |
Definition at line 127 of file NT_edconf.cxx.
References CONFIG_SEPARATOR, GBT_splitNdestroy_string(), get_config_awar(), AW_awar::read_string(), and SPLIT_DROPEMPTY.
Referenced by config_modified_cb(), create_configuration_marker_window(), modify_configurations(), and selected_configs_awar_changed_cb().
|
static |
Definition at line 139 of file NT_edconf.cxx.
References AW_root::awar(), AWAR_CL_SELECTED_CONFIGS, CONFIG_SEPARATOR, GBS_global_string(), GBT_join_strings(), AW_root::SINGLETON, and AW_awar::write_string().
Referenced by configs_selectionlist_changed_cb(), and modify_configurations().
|
static |
Definition at line 151 of file NT_edconf.cxx.
References AWAR_CONFIGURATION, AW_root::awar_string(), DEFAULT_CONFIGURATION, NT_global::gb_main, and GLOBAL.
Referenced by NT_create_startEditorOnOldConfiguration_window(), and selected_configs_awar_changed_cb().
|
static |
Definition at line 154 of file NT_edconf.cxx.
References allow_selection2awar_update, allow_to_activate_display, AW_root::awar(), AWAR_TREE_REFRESH, awt_set_subset_selection_content(), displays_config_markers(), DOWNCAST, CharPtrArray::empty(), AWT_canvas::gb_main, get_display_toggle_awar(), TREE_canvas::get_index(), AWT_graphic_tree::get_marker_display(), get_selected_configs_from_awar(), AWT_canvas::gfx, AWT_graphic_tree::hide_marker_display(), init_config_awar(), AW_awar::read_int(), AWT_graphic_tree::set_marker_display(), AW_root::SINGLETON, and AW_awar::touch().
Referenced by NT_activate_configMarkers_display(), and selected_configs_display_awar_changed_cb().
|
static |
Definition at line 186 of file NT_edconf.cxx.
References allow_to_activate_display, and selected_configs_awar_changed_cb().
Referenced by NT_activate_configMarkers_display().
|
static |
Definition at line 191 of file NT_edconf.cxx.
References allow_selection2awar_update, allow_to_activate_display, AW_selection::get_values(), and write_configs_to_awar().
Referenced by create_configuration_marker_window().
|
static |
Definition at line 201 of file NT_edconf.cxx.
References GB_entry(), GB_get_father(), GB_read_char_pntr(), GB_time_of_day(), get_config_awar(), get_selected_configs_from_awar(), MAX_NT_WINDOWS, NULp, CharPtrArray::size(), and AW_awar::touch().
Referenced by install_config_change_callbacks().
|
static |
Definition at line 229 of file NT_edconf.cxx.
References ASSERT_NO_ERROR, CONFIG_BASE_PATH, config_modified_cb(), GB_add_hierarchy_callback(), and GB_CB_CHANGED.
Referenced by NT_activate_configMarkers_display().
| void NT_activate_configMarkers_display | ( | TREE_canvas * | ntw | ) |
Definition at line 240 of file NT_edconf.cxx.
References AW_awar::add_callback(), AWAR_CL_DISPLAY_CONFIG_MARKERS, AWAR_CL_SELECTED_CONFIGS, AW_root::awar_int(), AW_root::awar_string(), AWT_canvas::awr, gb_main, AWT_canvas::gb_main, GBS_global_string(), TREE_canvas::get_index(), install_config_change_callbacks(), selected_configs_awar_changed_cb(), selected_configs_display_awar_changed_cb(), and AW_awar::touch().
Referenced by popup_new_main_window().
|
static |
Definition at line 258 of file NT_edconf.cxx.
References AWT_config_definition::add(), AW_awar::awar_name, get_config_awar(), MANAGED_CONFIGSET_ENTRY, and nt_assert.
Referenced by create_configuration_marker_window().
|
static |
Definition at line 309 of file NT_edconf.cxx.
References ARB_strdup(), CONFIG_SEPARATOR, GBT_join_strings(), GBT_split_string(), MANAGED_CONFIGSET_ENTRY, ConfigModifier::modifyConfig(), NULp, and SPLIT_DROPEMPTY.
Referenced by modify_configurations().
|
static |
Definition at line 321 of file NT_edconf.cxx.
References AWT_modify_managed_configs(), correct_managed_configsets_cb(), NT_global::gb_main, get_selected_configs_from_awar(), GLOBAL, MANAGED_CONFIGSET_SECTION, MAX_NT_WINDOWS, ConfigModifier::modifyConfig(), and write_configs_to_awar().
Referenced by NtSelectionAdmin::speciesSelection_deleted_cb(), and NtSelectionAdmin::speciesSelection_renamed_cb().
|
static |
Definition at line 333 of file NT_edconf.cxx.
References allow_selection2awar_update, AW_POPDOWN(), AWAR_CONFIGURATION, awt_create_CONFIG_selection_list(), awt_create_subset_selection_list(), AWT_insert_config_manager(), awt_set_subset_selection_content(), configs_selectionlist_changed_cb(), NT_global::gb_main, GBS_global_string(), get_display_toggle_awar(), TREE_canvas::get_index(), get_selected_configs_from_awar(), AW_selection::get_sellist(), GLOBAL, makeHelpCallback(), MANAGED_CONFIGSET_SECTION, setup_configmarker_config_cb(), TREE_canvas::suffixed_title(), title, and TREE_create_marker_settings_window().
Referenced by NT_popup_configuration_admin().
| void NT_popup_configuration_admin | ( | AW_window * | aw_main, |
| TREE_canvas * | ntw | ||
| ) |
Definition at line 406 of file NT_edconf.cxx.
References AW_window::activate(), AW_window::at(), AW_window::callback(), AW_window::create_autosize_button(), create_configuration_marker_window(), create_species_selection_window(), GBS_global_string(), TREE_canvas::get_index(), AW_window::get_root(), MAX_NT_WINDOWS, and MAX_NT_WINDOWS_NULLINIT.
Referenced by popup_new_main_window().
|
static |
Definition at line 434 of file NT_edconf.cxx.
References AW_system(), AW_root::awar(), AWAR_CONFIGURATION, GBK_singlequote(), GBS_global_string(), AW_window::get_root(), AW_window::hide(), and AW_awar::read_char_pntr().
Referenced by NT_create_startEditorOnOldConfiguration_window().
Definition at line 445 of file NT_edconf.cxx.
References AW_POPDOWN(), AWAR_CONFIGURATION, awt_create_CONFIG_selection_list(), NT_global::gb_main, GLOBAL, init_config_awar(), nt_start_editor_on_configuration(), and NULp.
Referenced by popup_new_main_window().
| void NT_start_editor_on_tree | ( | AW_window * | , |
| int | use_species_aside, | ||
| TREE_canvas * | ntw | ||
| ) |
Definition at line 468 of file NT_edconf.cxx.
References aw_message_if(), BY_CALLING_THE_EDITOR, create_species_selection(), DEFAULT_CONFIGURATION, error(), and GBK_system().
Referenced by popup_new_main_window().
|
inline |
Definition at line 475 of file NT_edconf.cxx.
References ARB_dateTime_suffix(), aw_message_if(), create_species_selection(), error(), FROM_IMPORTER, AWT_canvas::gb_main, GBS_global_string_copy(), GBT_find_configuration(), and ta.
Referenced by NT_create_config_after_import().
| void NT_create_config_after_import | ( | TREE_canvas * | ntw, |
| bool | imported_from_scratch | ||
| ) |
create a new config after import
| imported_from_scratch | if true -> DB was created from scratch, all species in DB are marked. if false -> data was imported into existing DB. Other species may be marked as well, imported species are "queried". |
Definition at line 495 of file NT_edconf.cxx.
References GB_clear_user_flag(), AWT_canvas::gb_main, GB_read_flag(), GB_user_flag(), GB_USERFLAG_QUERY, GB_USERFLAG_WASMARKED, GB_write_flag(), GB_write_user_flag(), GBT_first_species(), GBT_next_species(), nt_create_config_after_import(), and ta.
Referenced by nt_seq_load_cb(), and start_main_window_after_import().
|
static |
Definition at line 147 of file NT_edconf.cxx.
|
static |
Definition at line 148 of file NT_edconf.cxx.
Referenced by configs_selectionlist_changed_cb(), create_configuration_marker_window(), and selected_configs_awar_changed_cb().
|
static |
Definition at line 149 of file NT_edconf.cxx.
Referenced by configs_selectionlist_changed_cb(), selected_configs_awar_changed_cb(), and selected_configs_display_awar_changed_cb().
1.8.8