ARB
Classes | Typedefs | Functions
awt_sel_boxes.hxx File Reference
#include <string>
#include <cb.h>
#include <aw_window.hxx>
Include dependency graph for awt_sel_boxes.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TypedSelectionList
 
class  StorableSelectionList
 

Typedefs

typedef void(* SubsetChangedCb )(AW_selection *, bool interactive_change, AW_CL cl_user)
 
typedef GB_ERROR(* ssl_to_storage )(const CharPtrArray &display, const CharPtrArray &value, StrArray &line)
 
typedef GB_ERROR(* ssl_from_storage )(const CharPtrArray &line, StrArray &display, StrArray &value)
 

Functions

 DECLARE_CBTYPE_FVV_AND_BUILDERS (SaiSelectionlistFilterCallback, char *, GBDATA *)
 
const
SaiSelectionlistFilterCallback & 
awt_std_SAI_filter_cb ()
 
void awt_create_ALI_selection_button (GBDATA *gb_main, AW_window *aws, const char *varname, const char *ali_type_match)
 
AW_DB_selectionawt_create_ALI_selection_list (GBDATA *gb_main, AW_window *aws, const char *varname, const char *ali_type_match)
 
void awt_reconfigure_ALI_selection_list (AW_DB_selection *alisel, const char *ali_type_match)
 
AW_DB_selectionawt_create_TREE_selection_list (GBDATA *gb_main, AW_window *aws, const char *varname, bool fallback2default)
 
void awt_create_PTSERVER_selection_button (AW_window *aws, const char *varname)
 
void awt_create_PTSERVER_selection_list (AW_window *aws, const char *varname)
 
void awt_create_SAI_selection_button (GBDATA *gb_main, AW_window *aws, const char *varname, const SaiSelectionlistFilterCallback &fcb=awt_std_SAI_filter_cb())
 
AW_DB_selectionawt_create_SAI_selection_list (GBDATA *gb_main, AW_window *aws, const char *varname, bool fallback2default, const SaiSelectionlistFilterCallback &fcb=awt_std_SAI_filter_cb())
 
void awt_popup_SAI_selection_list (AW_window *aww, const char *awar_name, GBDATA *gb_main)
 
AW_DB_selectionawt_create_CONFIG_selection_list (GBDATA *gb_main, AW_window *aws, const char *varname, bool fallback2default)
 
void awt_auto_popdown_cb (AW_root *, AW_window_simple *aw_popup)
 
void awt_edit_arbtcpdat_cb (AW_window *aww)
 
AW_selectionawt_create_subset_selection_list (AW_window *aww, AW_selection_list *select_subset_from, const char *at_box, const char *at_add, const char *at_sort, bool autocorrect_subselection=true, SubsetChangedCb subChanged_cb=NULp, AW_CL cl_user=0)
 
void awt_set_subset_selection_content (AW_selection *subset_sel_, const CharPtrArray &values)
 
AW_windowawt_create_load_box (AW_root *aw_root, const char *action, const char *what, const char *default_directory, const char *file_extension, char **set_file_name_awar, const WindowCallback &ok_cb, const WindowCallback &abort_cb=makeWindowCallback(AW_POPDOWN), const char *close_button_text=NULp)
 
AW_windowcreate_save_box_for_selection_lists (AW_root *aw_root, const StorableSelectionList *storabsellist)
 
AW_windowcreate_load_box_for_selection_lists (AW_root *aw_root, const StorableSelectionList *storabsellist)
 
void create_print_box_for_selection_lists (AW_window *aw_window, const TypedSelectionList *typedsellist)
 
void awt_clear_selection_list_cb (AW_window *, AW_selection_list *sellist)
 
AW_selection_listawt_create_selection_list_with_input_field (AW_window *aww, const char *awar_name, const char *at_box, const char *at_field)
 

Typedef Documentation

typedef void(* SubsetChangedCb)(AW_selection *, bool interactive_change, AW_CL cl_user)

Definition at line 89 of file awt_sel_boxes.hxx.

typedef GB_ERROR(* ssl_to_storage)(const CharPtrArray &display, const CharPtrArray &value, StrArray &line)

Definition at line 109 of file awt_sel_boxes.hxx.

typedef GB_ERROR(* ssl_from_storage)(const CharPtrArray &line, StrArray &display, StrArray &value)

Definition at line 110 of file awt_sel_boxes.hxx.

Function Documentation

DECLARE_CBTYPE_FVV_AND_BUILDERS ( SaiSelectionlistFilterCallback  ,
char ,
GBDATA  
)
const SaiSelectionlistFilterCallback& awt_std_SAI_filter_cb ( )

Definition at line 480 of file AWT_sel_boxes.cxx.

References get_SAI_description().

Referenced by awt_popup_SAI_selection_list().

void awt_create_ALI_selection_button ( GBDATA gb_main,
AW_window aws,
const char varname,
const char ali_type_match 
)

Definition at line 175 of file AWT_sel_boxes.cxx.

Referenced by NT_create_realign_dna_window().

AW_DB_selection* awt_create_ALI_selection_list ( GBDATA gb_main,
AW_window aws,
const char varname,
const char ali_type_match 
)
void awt_reconfigure_ALI_selection_list ( AW_DB_selection alisel,
const char ali_type_match 
)

Definition at line 179 of file AWT_sel_boxes.cxx.

References ALI_selection::reconfigure().

Referenced by alitype_changed_cb().

AW_DB_selection* awt_create_TREE_selection_list ( GBDATA gb_main,
AW_window aws,
const char varname,
bool  fallback2default 
)
void awt_create_PTSERVER_selection_button ( AW_window aws,
const char varname 
)
void awt_create_PTSERVER_selection_list ( AW_window aws,
const char varname 
)

Definition at line 390 of file AWT_sel_boxes.cxx.

References AW_window::create_selection_list().

Referenced by create_probe_admin_window().

void awt_create_SAI_selection_button ( GBDATA gb_main,
AW_window aws,
const char varname,
const SaiSelectionlistFilterCallback &  fcb = awt_std_SAI_filter_cb() 
)
AW_DB_selection* awt_create_SAI_selection_list ( GBDATA gb_main,
AW_window aws,
const char varname,
bool  fallback2default,
const SaiSelectionlistFilterCallback &  fcb = awt_std_SAI_filter_cb() 
)
void awt_popup_SAI_selection_list ( AW_window aww,
const char awar_name,
GBDATA gb_main 
)

Definition at line 543 of file AWT_sel_boxes.cxx.

References awt_std_SAI_filter_cb(), and SelectionListSpec::popup().

Referenced by createSaiProbeMatchWindow().

AW_DB_selection* awt_create_CONFIG_selection_list ( GBDATA gb_main,
AW_window aws,
const char varname,
bool  fallback2default 
)
void awt_auto_popdown_cb ( AW_root ,
AW_window_simple *  aw_popup 
)

auto pops-down a simple selection window when the awar bound to the selection list gets changed.

Definition at line 301 of file AWT_sel_boxes.cxx.

Referenced by create_PTSERVER_selection_window(), RegFieldSelection::create_window(), NT_create_select_alignment_window(), NT_create_select_tree_window(), and SelectionListSpec::popup().

void awt_edit_arbtcpdat_cb ( AW_window aww)
AW_selection* awt_create_subset_selection_list ( AW_window aww,
AW_selection_list select_subset_from,
const char at_box,
const char at_add,
const char at_sort,
bool  autocorrect_subselection = true,
SubsetChangedCb  subChanged_cb = NULp,
AW_CL  cl_user = 0 
)
void awt_set_subset_selection_content ( AW_selection subset_sel_,
const CharPtrArray values 
)

sets content of a subset-selection-list

Parameters
subset_sel_selection list created by awt_create_subset_selection_list()
valuese.g. retrieved using subset_sel_->get_values()

Definition at line 1189 of file AWT_sel_boxes.cxx.

References AW_subset_selection::fill_entries_matching_values().

Referenced by create_configuration_marker_window(), and selected_configs_awar_changed_cb().

AW_window* awt_create_load_box ( AW_root aw_root,
const char action,
const char what,
const char default_directory,
const char file_extension,
char **  set_file_name_awar,
const WindowCallback &  ok_cb,
const WindowCallback &  abort_cb = makeWindowCallback(AW_POPDOWN),
const char close_button_text = NULp 
)
AW_window* create_save_box_for_selection_lists ( AW_root aw_root,
const StorableSelectionList storabsellist 
)
AW_window* create_load_box_for_selection_lists ( AW_root aw_root,
const StorableSelectionList storabsellist 
)
void create_print_box_for_selection_lists ( AW_window aw_window,
const TypedSelectionList typedsellist 
)
void awt_clear_selection_list_cb ( AW_window ,
AW_selection_list sellist 
)
AW_selection_list* awt_create_selection_list_with_input_field ( AW_window aww,
const char awar_name,
const char at_box,
const char at_field 
)

create selection_list and input_field on awar 'awar_name'

Parameters
awwwindow where to create gui elements
at_boxposition of selection_list
at_fieldposition of input_field

Definition at line 1198 of file AWT_sel_boxes.cxx.

References AW_window::at(), AW_window::create_input_field(), and AW_window::create_selection_list().

Referenced by create_config_manager_window(), create_loadsave_colored_window(), create_SAI_group_window(), and ED4_create_modsai_window().