ARB
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
RegFieldSelection Class Reference
Collaboration diagram for RegFieldSelection:
Collaboration graph
[legend]

Public Member Functions

 RegFieldSelection ()
 
 RegFieldSelection (const FieldSelDef &def_)
 
const FieldSelDefget_def () const
 
bool new_fields_allowed () const
 
const charget_field_awarname () const
 
const charget_button_awarname () const
 
const charget_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 RegFieldSelectionregistrate (AW_root *awr, const FieldSelDef &def)
 
static RegFieldSelectionfind (const string &awar_name)
 
static void update_buttons ()
 

Public Attributes

bool inAwarChange
 

Detailed Description

Definition at line 132 of file item_sel_list.cxx.

Constructor & Destructor Documentation

RegFieldSelection::RegFieldSelection ( )
inline

Definition at line 142 of file item_sel_list.cxx.

Referenced by registrate().

RegFieldSelection::RegFieldSelection ( const FieldSelDef def_)
inline

Definition at line 146 of file item_sel_list.cxx.

Member Function Documentation

const FieldSelDef& RegFieldSelection::get_def ( ) const
inline

Definition at line 152 of file item_sel_list.cxx.

Referenced by prepare_and_get_selected_itemfield(), and registrate().

bool RegFieldSelection::new_fields_allowed ( ) const
inline
const char* RegFieldSelection::get_field_awarname ( ) const
inline
const char* RegFieldSelection::get_button_awarname ( ) const
inline
const char* RegFieldSelection::get_type_awarname ( ) const
inline
void RegFieldSelection::popup_window ( AW_root awr)

Definition at line 522 of file item_sel_list.cxx.

References AW_REPOS_TO_MOUSE, AW_RESIZE_USER, create_window(), and it_assert.

Referenced by popup_field_selection().

void RegFieldSelection::popdown ( )
inline

Definition at line 161 of file item_sel_list.cxx.

Referenced by fieldname_changed_cb().

void RegFieldSelection::create_window ( AW_root awr)
void RegFieldSelection::init_awars ( AW_root awr)
GB_TYPES RegFieldSelection::get_keytype ( const char fieldName) const
inline

detect type of (defined) key

Parameters
fieldNamename of field
Returns
GB_NONE for undefined key or type of defined key

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().

GB_TYPES RegFieldSelection::get_selected_type ( AW_root awr)
inline
GB_TYPES RegFieldSelection::get_unmated_type ( )
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
RegFieldSelection & RegFieldSelection::registrate ( AW_root awr,
const FieldSelDef def 
)
static
static RegFieldSelection* RegFieldSelection::find ( const string awar_name)
inlinestatic

Definition at line 205 of file item_sel_list.cxx.

References find(), and NULp.

Referenced by find(), get_itemfield_type_awarname(), prepare_and_get_selected_itemfield(), and registrate().

void RegFieldSelection::update_buttons ( )
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().

Member Data Documentation

bool RegFieldSelection::inAwarChange

Definition at line 140 of file item_sel_list.cxx.

Referenced by fieldname_changed_cb(), and fieldtype_changed_cb().


The documentation for this class was generated from the following file: