ARB
|
Public Member Functions | |
RegFieldSelection () | |
RegFieldSelection (const FieldSelDef &def_) | |
const FieldSelDef & | get_def () const |
bool | new_fields_allowed () const |
const char * | get_field_awarname () const |
const char * | get_button_awarname () const |
const char * | get_type_awarname () const |
void | popup_window (AW_root *awr) |
void | popdown () |
void | create_window (AW_root *awr) |
void | init_awars (AW_root *awr) |
GB_TYPES | get_keytype (const char *fieldName) const |
GB_TYPES | get_selected_type (AW_root *awr) |
GB_TYPES | get_unmated_type () |
void | update_button_text (AW_root *awr) const |
Static Public Member Functions | |
static RegFieldSelection & | registrate (AW_root *awr, const FieldSelDef &def) |
static RegFieldSelection * | find (const string &awar_name) |
static void | update_buttons () |
Public Attributes | |
bool | inAwarChange |
Definition at line 132 of file item_sel_list.cxx.
|
inline |
Definition at line 142 of file item_sel_list.cxx.
Referenced by registrate().
|
inline |
Definition at line 146 of file item_sel_list.cxx.
|
inline |
Definition at line 152 of file item_sel_list.cxx.
Referenced by prepare_and_get_selected_itemfield(), and registrate().
|
inline |
Definition at line 154 of file item_sel_list.cxx.
References FieldSelDef::new_fields_allowed().
Referenced by create_window(), get_itemfield_type_awarname(), init_awars(), prepare_and_get_selected_itemfield(), update_button_text(), and update_buttons().
|
inline |
Definition at line 156 of file item_sel_list.cxx.
References FieldSelDef::get_awarname().
Referenced by create_itemfield_selection_button(), create_window(), fieldname_changed_cb(), fieldtype_changed_cb(), get_button_awarname(), get_type_awarname(), init_awars(), prepare_and_get_selected_itemfield(), and update_button_text().
|
inline |
Definition at line 157 of file item_sel_list.cxx.
References GBS_global_string(), and get_field_awarname().
Referenced by create_itemfield_selection_button(), init_awars(), and update_button_text().
|
inline |
Definition at line 158 of file item_sel_list.cxx.
References GBS_global_string(), and get_field_awarname().
Referenced by create_window(), fieldname_changed_cb(), fieldtype_changed_cb(), get_itemfield_type_awarname(), get_selected_type(), init_awars(), and update_button_text().
void RegFieldSelection::popup_window | ( | AW_root * | awr | ) |
Definition at line 520 of file item_sel_list.cxx.
References AW_REPOS_TO_MOUSE, AW_RESIZE_USER, create_window(), and it_assert.
Referenced by popup_field_selection().
|
inline |
Definition at line 161 of file item_sel_list.cxx.
Referenced by fieldname_changed_cb().
void RegFieldSelection::create_window | ( | AW_root * | awr | ) |
Definition at line 455 of file item_sel_list.cxx.
References AW_awar::add_callback(), ARRAY_ELEMS, AW_POPDOWN(), AW_root::awar(), awt_auto_popdown_cb(), FieldSelDef::build_sel(), creatable, format(), GB_NONE, GBS_global_string(), FieldSelDef::get_described_field(), get_field_awarname(), get_type_awarname(), FieldSelDef::get_type_filter(), get_unmated_type(), it_assert, label, makeHelpCallback(), mnemonic, new_fields_allowed(), AW_selection::refresh(), title, and type.
Referenced by popup_window().
void RegFieldSelection::init_awars | ( | AW_root * | awr | ) |
Definition at line 400 of file item_sel_list.cxx.
References AW_awar::add_callback(), AW_ROOT_DEFAULT, AW_root::awar(), AW_root::awar_int(), AW_root::awar_string(), fieldname_changed_cb(), fieldtype_change_warning, fieldtype_changed_cb(), GB_NONE, get_button_awarname(), get_field_awarname(), get_type_awarname(), new_fields_allowed(), and AW_awar::touch().
Referenced by registrate().
detect type of (defined) key
fieldName | name of field |
Definition at line 165 of file item_sel_list.cxx.
References MutableItemSelector::change_key_path, CHANGEKEY_TYPE, gb_main, GB_NONE, GBT_get_changekey(), GBT_read_int(), FieldSelDef::get_gb_main(), FieldSelDef::get_itemtype(), and ta.
Referenced by fieldname_changed_cb(), fieldtype_changed_cb(), prepare_and_get_selected_itemfield(), and update_button_text().
Definition at line 182 of file item_sel_list.cxx.
References AW_root::awar(), get_type_awarname(), and AW_awar::read_int().
Referenced by prepare_and_get_selected_itemfield().
|
inline |
Definition at line 185 of file item_sel_list.cxx.
References ARRAY_ELEMS, creatable, GB_NONE, and FieldSelDef::get_type_filter().
Referenced by create_window(), and fieldname_changed_cb().
void RegFieldSelection::update_button_text | ( | AW_root * | awr | ) | const |
Definition at line 321 of file item_sel_list.cxx.
References ARRAY_ELEMS, AW_root::awar(), creatable, GB_NONE, GBS_global_string(), get_button_awarname(), get_field_awarname(), get_keytype(), get_type_awarname(), it_assert, new_fields_allowed(), NO_FIELD_SELECTED, NULp, AW_awar::read_char_pntr(), AW_awar::read_int(), type, typeName, and AW_awar::write_string().
Referenced by fieldname_changed_cb(), fieldtype_changed_cb(), and update_buttons().
|
static |
Definition at line 424 of file item_sel_list.cxx.
References aw_message(), aw_message_if(), MutableItemSelector::change_key_path, find(), GB_CB_CHANGED, GB_ensure_callback(), GB_FIND, gb_main, GB_search(), GBS_global_string(), FieldSelDef::get_awarname(), get_def(), FieldSelDef::get_gb_main(), FieldSelDef::get_itemtype(), init_awars(), it_assert, FieldSelDef::matches4reuse(), RegFieldSelection(), ta, and update_buttons().
Referenced by create_itemfield_selection_button(), and create_itemfield_selection_list().
|
inlinestatic |
Definition at line 205 of file item_sel_list.cxx.
Referenced by find(), get_itemfield_type_awarname(), prepare_and_get_selected_itemfield(), and registrate().
|
static |
Definition at line 415 of file item_sel_list.cxx.
References new_fields_allowed(), AW_root::SINGLETON, and update_button_text().
Referenced by registrate().
bool RegFieldSelection::inAwarChange |
Definition at line 140 of file item_sel_list.cxx.
Referenced by fieldname_changed_cb(), and fieldtype_changed_cb().