ARB
|
#include <arb_strarray.h>
#include <aw_base.hxx>
Go to the source code of this file.
Classes | |
struct | AvailableFieldScanner |
Enumerations | |
enum | FieldsToScan { SCAN_INPUT_FIELDS = 1, SCAN_OUTPUT_FIELDS = 2, SCAN_ALL_FIELDS = SCAN_INPUT_FIELDS | SCAN_OUTPUT_FIELDS } |
Functions | |
void | XFER_select_RuleSet (AW_window *aww, const char *awar_selected_fts, const AvailableFieldScanner *fieldScanner) |
const char * | XFER_getFullFTS (const char *name) |
void | XFER_refresh_available_fields (AW_root *awr, const AvailableFieldScanner *fieldScanner, FieldsToScan whatToScan) |
enum FieldsToScan |
void XFER_select_RuleSet | ( | AW_window * | aww, |
const char * | awar_selected_fts, | ||
const AvailableFieldScanner * | fieldScanner | ||
) |
initializes ruleset GUI to choose/edit 'awar_selected_fts'. May be bound via multiple callbacks; will always edit the awar of the last triggered callback.
Definition at line 1204 of file xfergui.cxx.
References AW_root::awar(), AWAR_XFERSET_SELECTED, fieldScanner, AW_window::get_root(), initXferAwars(), AW_awar::map(), popup_ruleset_admin_window(), SCAN_ALL_FIELDS, and XFER_refresh_available_fields().
Referenced by AWTI_open_import_window(), create_AWTC_export_window(), and MG_create_merge_species_window().
converts name (as contained in awar passed to XFER_select_RuleSet) into full path.
Definition at line 96 of file xfergui.cxx.
References GB_concat_path(), GB_path_in_arbprop(), GBS_global_string(), and result.
Referenced by export_go_cb(), get_selected_FTS(), ArbImporter::import_data(), mg_xfer_via_fts(), and update_exportTest_result_cb().
void XFER_refresh_available_fields | ( | AW_root * | awr, |
const AvailableFieldScanner * | fieldScanner, | ||
FieldsToScan | whatToScan | ||
) |
refreshes the available fields (defined by client) shown in fts gui, if 'fieldScanner' is the currently active scanner. Otherwise do nothing (because GUI "belongs" to different client).
Definition at line 531 of file xfergui.cxx.
References knownFieldsClientInput, knownFieldsClientOutput, mergeKnownFields(), SCAN_INPUT_FIELDS, SCAN_OUTPUT_FIELDS, and AvailableFieldScanner::scanFields().
Referenced by AWTI_open_import_window(), create_AWTC_export_window(), and XFER_select_RuleSet().