ARB
|
#include <item_sel_list.h>
Public Member Functions | |
FieldSelDef (const char *awar_name_, GBDATA *gb_main_, ItemSelector &selector_, long type_filter_, const char *purpose_="field", SelectableFields field_filter_=SF_STANDARD) | |
const std::string & | get_awarname () const |
const std::string & | get_described_field () const |
long | get_type_filter () const |
SelectableFields | get_field_filter () const |
GBDATA * | get_gb_main () const |
ItemSelector & | get_itemtype () const |
bool | new_fields_allowed () const |
Itemfield_Selection * | build_sel (AW_selection_list *from_sellist) const |
bool | matches4reuse (const FieldSelDef &other) const |
Definition at line 75 of file item_sel_list.h.
|
inline |
parameter collection for itemfield-selections
awar_name_ | the name of the awar bound to the selection list |
gb_main_ | the database |
selector_ | describes the item type, for which fields are shown |
type_filter_ | is a bitstring which controls what types will be shown in the selection list (several filters are predefined: 'FIELD_FILTER_...', FIELD_UNFILTERED) |
purpose_ | describes purpose of field (defaults to 'field'; appears in popup-title and error-messages) |
field_filter_ | controls if pseudo-fields and/or hidden fields are added and whether new fields are allowed (defaults to SF_STANDARD) |
Definition at line 84 of file item_sel_list.h.
|
inline |
Definition at line 101 of file item_sel_list.h.
Referenced by create_itemfield_selection_button(), create_itemfield_selection_list(), RegFieldSelection::get_field_awarname(), and RegFieldSelection::registrate().
|
inline |
Definition at line 102 of file item_sel_list.h.
Referenced by RegFieldSelection::create_window(), and prepare_and_get_selected_itemfield().
|
inline |
Definition at line 103 of file item_sel_list.h.
Referenced by RegFieldSelection::create_window(), RegFieldSelection::get_unmated_type(), and prepare_and_get_selected_itemfield().
|
inline |
Definition at line 104 of file item_sel_list.h.
|
inline |
Definition at line 105 of file item_sel_list.h.
Referenced by RegFieldSelection::get_keytype(), and RegFieldSelection::registrate().
|
inline |
Definition at line 106 of file item_sel_list.h.
Referenced by RegFieldSelection::get_keytype(), and RegFieldSelection::registrate().
|
inline |
Definition at line 109 of file item_sel_list.h.
References SF_ALLOW_NEW.
Referenced by create_itemfield_selection_button(), create_itemfield_selection_list(), and RegFieldSelection::new_fields_allowed().
Itemfield_Selection * FieldSelDef::build_sel | ( | AW_selection_list * | from_sellist | ) | const |
Definition at line 104 of file item_sel_list.cxx.
References GB_CREATE_CONTAINER, GB_search(), and ta.
Referenced by create_itemfield_selection_list(), and RegFieldSelection::create_window().
bool FieldSelDef::matches4reuse | ( | const FieldSelDef & | other | ) | const |
Definition at line 312 of file item_sel_list.cxx.
Referenced by RegFieldSelection::registrate().