ARB
|
#include "merge.hxx"
#include <AW_rename.hxx>
#include <aw_root.hxx>
#include <aw_awar.hxx>
#include <aw_msg.hxx>
#include <aw_window.hxx>
#include <arb_progress.h>
Go to the source code of this file.
Macros | |
#define | AWAR_ADDID_SRC AWAR_MERGE_TMP_SRC "addid" |
#define | AWAR_ADDID_DST AWAR_MERGE_TMP_DST "addid" |
#define | AWAR_ADDID_MATCH AWAR_MERGE_TMP "addidmatch" |
#define | AWAR_RENAME_STATUS AWAR_MERGE_TMP "renamestat" |
#define | AWAR_ALLOW_DUPS AWAR_MERGE_TMP "allowdups" |
#define | AWAR_OVERRIDE AWAR_MERGE_TMP "override" |
Functions | |
void | MG_create_rename_awars (AW_root *aw_root, AW_default aw_def) |
static const char * | addids_match_info (AW_root *aw_root) |
static void | addids_match_info_refresh_cb (AW_root *aw_root) |
void | MG_create_db_dependent_rename_awars (AW_root *aw_root, GBDATA *gb_src, GBDATA *gb_dst) |
void | MG_set_renamed (bool renamed, AW_root *aw_root, const char *reason) |
GB_ERROR | MG_expect_renamed () |
static GB_ERROR | renameDB (const char *which, GBDATA *gb_db, bool allowDups) |
static void | rename_both_databases (AW_window *aww) |
static void | override_toggle_cb (AW_root *aw_root) |
AW_window * | MG_create_merge_names_window (AW_root *awr) |
Variables | |
static bool | was_renamed = false |
#define AWAR_ADDID_SRC AWAR_MERGE_TMP_SRC "addid" |
Definition at line 22 of file MG_names.cxx.
Referenced by addids_match_info(), MG_create_db_dependent_rename_awars(), and MG_create_merge_names_window().
#define AWAR_ADDID_DST AWAR_MERGE_TMP_DST "addid" |
Definition at line 23 of file MG_names.cxx.
Referenced by addids_match_info(), MG_create_db_dependent_rename_awars(), and MG_create_merge_names_window().
#define AWAR_ADDID_MATCH AWAR_MERGE_TMP "addidmatch" |
Definition at line 25 of file MG_names.cxx.
Referenced by addids_match_info_refresh_cb(), MG_create_merge_names_window(), MG_create_rename_awars(), and rename_both_databases().
#define AWAR_RENAME_STATUS AWAR_MERGE_TMP "renamestat" |
Definition at line 26 of file MG_names.cxx.
Referenced by MG_create_merge_names_window(), MG_create_rename_awars(), and MG_set_renamed().
#define AWAR_ALLOW_DUPS AWAR_MERGE_TMP "allowdups" |
Definition at line 27 of file MG_names.cxx.
Referenced by MG_create_merge_names_window(), MG_create_rename_awars(), and rename_both_databases().
#define AWAR_OVERRIDE AWAR_MERGE_TMP "override" |
Definition at line 28 of file MG_names.cxx.
Referenced by MG_create_merge_names_window(), MG_create_rename_awars(), and override_toggle_cb().
void MG_create_rename_awars | ( | AW_root * | aw_root, |
AW_default | aw_def | ||
) |
Definition at line 32 of file MG_names.cxx.
References AWAR_ADDID_MATCH, AWAR_ALLOW_DUPS, AW_root::awar_int(), AWAR_OVERRIDE, AWAR_RENAME_STATUS, and AW_root::awar_string().
Referenced by MERGE_create_all_awars().
Definition at line 41 of file MG_names.cxx.
References AW_root::awar(), AWAR_ADDID_DST, AWAR_ADDID_SRC, AW_awar::read_string(), and result.
Referenced by addids_match_info_refresh_cb().
|
static |
Definition at line 53 of file MG_names.cxx.
References addids_match_info(), AW_root::awar(), AWAR_ADDID_MATCH, MG_set_renamed(), and AW_awar::write_string().
Referenced by MG_create_db_dependent_rename_awars().
Definition at line 58 of file MG_names.cxx.
References AW_awar::add_callback(), addids_match_info_refresh_cb(), aw_message(), AWAR_ADDID_DST, AWAR_ADDID_SRC, AWAR_NAMESERVER_ADDID, AW_root::awar_string(), GB_transaction::close(), error(), GB_await_error(), GB_create(), GB_read_char_pntr(), GB_search(), GB_STRING, GB_write_string(), AW_awar::map(), NULp, and AW_awar::unmap().
Referenced by MG_create_db_dependent_awars().
Definition at line 114 of file MG_names.cxx.
References AW_root::awar(), AWAR_RENAME_STATUS, was_renamed, and AW_awar::write_string().
Referenced by addids_match_info_refresh_cb(), MERGE_create_main_window(), override_toggle_cb(), and rename_both_databases().
GB_ERROR MG_expect_renamed | ( | ) |
Definition at line 119 of file MG_names.cxx.
References error(), NULp, and was_renamed.
Referenced by MG_create_merge_configs_window(), MG_create_merge_species_window(), and MG_create_merge_trees_window().
Definition at line 127 of file MG_names.cxx.
References aw_message(), AWTC_pars_names(), error(), GBS_global_string(), and NULp.
Referenced by rename_both_databases().
|
static |
Definition at line 144 of file MG_names.cxx.
References aw_message(), AW_root::awar(), AWAR_ADDID_MATCH, AWAR_ALLOW_DUPS, error(), AW_window::get_root(), GLOBAL_gb_dst, GLOBAL_gb_src, MG_set_renamed(), NULp, AW_awar::read_int(), AW_awar::read_string(), and renameDB().
Referenced by MG_create_merge_names_window().
|
static |
Definition at line 168 of file MG_names.cxx.
References AW_root::awar(), AWAR_OVERRIDE, MG_set_renamed(), and AW_awar::read_int().
Referenced by MG_create_merge_names_window().
Definition at line 173 of file MG_names.cxx.
References AW_awar::add_callback(), AW_POPDOWN(), AW_root::awar(), AWAR_ADDID_DST, AWAR_ADDID_MATCH, AWAR_ADDID_SRC, AWAR_ALLOW_DUPS, AWAR_OVERRIDE, AWAR_RENAME_STATUS, AW_window::load_xfig(), makeHelpCallback(), NULp, override_toggle_cb(), and rename_both_databases().
Referenced by MERGE_create_main_window().
|
static |
Definition at line 112 of file MG_names.cxx.
Referenced by MG_expect_renamed(), and MG_set_renamed().