|
ARB
|
#include <aw_base.hxx>#include <cb.h>

Go to the source code of this file.
Classes | |
| struct | SelectionAdmin |
Enumerations | |
| enum | SelectionCreation { BY_CALLING_THE_EDITOR, FROM_IMPORTER, FROM_MANAGER } |
| enum | SelectionExtractType { SELECTION_EXTRACT, SELECTION_MARK, SELECTION_UNMARK, SELECTION_INVERT, SELECTION_COMBINE } |
Functions | |
| GB_ERROR | create_species_selection (const SelectionAdmin &selection, const char *conf_name, int use_species_aside, SelectionCreation creation) |
| void | extract_species_selection (GBDATA *gb_main, const char *selectionName, SelectionExtractType ext_type) |
| AW_window * | create_species_selection_window (AW_root *root, const SelectionAdmin *selection) |
| void | create_species_selection_button (AW_window *awm, WindowCallback wcb, const char *macro_id, const char *awarname_buttontext, GBDATA *gb_main) |
| enum SelectionCreation |
| Enumerator | |
|---|---|
| BY_CALLING_THE_EDITOR | |
| FROM_IMPORTER | |
| FROM_MANAGER | |
Definition at line 41 of file selection_admin.h.
| enum SelectionExtractType |
| Enumerator | |
|---|---|
| SELECTION_EXTRACT | |
| SELECTION_MARK | |
| SELECTION_UNMARK | |
| SELECTION_INVERT | |
| SELECTION_COMBINE | |
Definition at line 47 of file selection_admin.h.
| GB_ERROR create_species_selection | ( | const SelectionAdmin & | selection, |
| const char * | conf_name, | ||
| int | use_species_aside, | ||
| SelectionCreation | creation | ||
| ) |
Definition at line 591 of file selection_admin.cxx.
References arb_assert, aw_input(), AW_root::awar(), BY_CALLING_THE_EDITOR, Store_species::call(), error(), GBT_config::exists(), FROM_IMPORTER, FROM_MANAGER, gb_main, GB_MIND_CASE, GBS_create_hash(), GBS_free_hash(), GBS_global_string(), GBS_log_action_to(), GBT_get_species_count(), GBT_config::get_comment(), GBS_strstruct::get_data(), SelectionAdmin::get_gb_main(), SelectionAdmin::get_name_of_tree(), GBS_strstruct::get_position(), SelectionAdmin::get_selection_awarname(), SelectionAdmin::get_selectionComment_awarname(), SelectionAdmin::get_toparea_SAIs(), SelectionAdmin::get_tree_root(), implicated, init_awars_and_callbacks(), GBT_config::MIDDLE_AREA, GBS_strstruct::ncat(), nt_build_conf_marked(), nt_build_conf_string_rek(), nt_build_sai_string(), NULp, GBS_strstruct::release(), GBT_config::save(), GBT_config::set_comment(), GBT_config::set_definition(), AW_root::SINGLETON, ta, GBT_config::TOP_AREA, and unmark_species().
Referenced by nt_create_config_after_import(), NT_start_editor_on_tree(), and nt_store_configuration().
| void extract_species_selection | ( | GBDATA * | gb_main, |
| const char * | selectionName, | ||
| SelectionExtractType | ext_type | ||
| ) |
Definition at line 378 of file selection_admin.cxx.
References arb_assert, aw_message(), aw_message_if(), AW_root::awar(), AWAR_TREE_REFRESH, CI_END_OF_CONFIG, CI_SPECIES, error(), GB_read_flag(), GB_write_flag(), GBS_free_hash(), GBS_global_string(), GBS_hash_elements(), GBS_read_hash(), GBT_create_marked_species_hash(), GBT_find_species(), GBT_mark_all(), GBT_config_item::name, GBT_config_parser::nextItem(), NO_CONFIG_SELECTED, NULp, SELECTION_COMBINE, SELECTION_EXTRACT, SELECTION_INVERT, SELECTION_MARK, SELECTION_UNMARK, AW_root::SINGLETON, ta, AW_awar::touch(), and GBT_config_item::type.
Referenced by FINAL_TYPE< SEQTYPE >::handle_click(), and nt_extract_configuration().
| AW_window* create_species_selection_window | ( | AW_root * | root, |
| const SelectionAdmin * | selection | ||
| ) |
Definition at line 883 of file selection_admin.cxx.
References AW_POPDOWN(), awt_create_CONFIG_selection_list(), UNTYPED::awt_create_order_buttons(), clear_comment_cb(), GBS_global_string(), SelectionAdmin::get_gb_main(), SelectionAdmin::get_macro_suffix(), SelectionAdmin::get_selection_awarname(), SelectionAdmin::get_selectionComment_awarname(), SelectionAdmin::get_window_title(), init_awars_and_callbacks(), makeHelpCallback(), nt_delete_configuration(), nt_extract_configuration(), nt_rename_configuration(), nt_store_configuration(), reorder_configs_cb(), SELECTION_COMBINE, SELECTION_EXTRACT, SELECTION_INVERT, SELECTION_MARK, and SELECTION_UNMARK.
Referenced by MG_popup_selection_admin(), and NT_popup_configuration_admin().
| void create_species_selection_button | ( | AW_window * | awm, |
| WindowCallback | wcb, | ||
| const char * | macro_id, | ||
| const char * | awarname_buttontext, | ||
| GBDATA * | gb_main | ||
| ) |
Definition at line 863 of file selection_admin.cxx.
References aw_message_if(), AW_root::awar_string(), AW_window::button_length(), AW_window::callback(), AW_window::create_button(), GB_CB_CHANGED, GB_ensure_callback(), gb_species_data, GBT_get_species_data(), AW_window::get_root(), AW_window::help_text(), ta, and update_marked_counter_label().
Referenced by MG_create_merge_species_window(), and popup_new_main_window().
1.8.8