ARB
|
#include <info_window.h>
Public Types | |
typedef SmartPtr< InfoWindow > | Ptr |
typedef void(* | detached_uppopper )(AW_window *, const InfoWindow *) |
Public Member Functions | |
InfoWindow (AW_window *aww_, DbScanner *scanner_, int detach_id_) | |
~InfoWindow () | |
bool | is_detached () const |
bool | is_maininfo () const |
int | getDetachID () const |
GBDATA * | get_gbmain () const |
bool | is_used () const |
void | set_used (bool used_) const |
bool | mapsOrganism () const |
bool | handlesSameItemtypeAs (const InfoWindow &other) const |
GBDATA * | get_selected_item () const |
void | map_item (GBDATA *gb_item) const |
void | map_selected_item () const |
void | attach_selected_item () const |
void | reuse () const |
void | reactivate () const |
void | hide () const |
void | bind_to_selected_item () const |
void | add_detach_area (detached_uppopper popup_detached_cb) const |
void | display_selected_item () const |
void | detach_selected_item (detached_uppopper popup_detached_cb) const |
Static Public Attributes | |
static const int | MAIN_WINDOW = 0 |
Definition at line 34 of file info_window.h.
typedef SmartPtr<InfoWindow> InfoWindow::Ptr |
Definition at line 68 of file info_window.h.
typedef void(* InfoWindow::detached_uppopper)(AW_window *, const InfoWindow *) |
Definition at line 69 of file info_window.h.
Definition at line 71 of file info_window.h.
|
inline |
Definition at line 77 of file info_window.h.
|
inline |
Definition at line 81 of file info_window.h.
References MAIN_WINDOW.
Referenced by display_selected_item(), reuse(), and unlock_detached_cb().
|
inline |
Definition at line 82 of file info_window.h.
References MAIN_WINDOW.
Referenced by add_detach_area(), InfoWindowRegistry::allocate_detach_id(), bind_to_selected_item(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_speciesOrganismWindow(), reactivate(), and set_used().
|
inline |
Definition at line 83 of file info_window.h.
|
inline |
Definition at line 85 of file info_window.h.
References DbScanner::get_gb_main().
Referenced by get_selected_item(), popup_detached_experiment_window(), popup_detached_gene_window(), and popup_detached_speciesOrganismWindow().
|
inline |
Definition at line 87 of file info_window.h.
Referenced by reactivate(), and store_unused_detached_info_window_cb().
|
inline |
Definition at line 88 of file info_window.h.
References arb_assert, and is_maininfo().
Referenced by reuse(), and store_unused_detached_info_window_cb().
|
inline |
Definition at line 93 of file info_window.h.
References QUERY_ITEM_ORGANISM.
Referenced by popup_detached_speciesOrganismWindow().
|
inline |
Definition at line 96 of file info_window.h.
|
inline |
Definition at line 100 of file info_window.h.
References gb_main, get_gbmain(), MutableItemSelector::get_selected_item, and ta.
Referenced by detach_selected_item(), display_selected_item(), and map_selected_item().
|
inline |
Definition at line 106 of file info_window.h.
References DbScanner::Map().
Referenced by map_selected_item(), and store_unused_detached_info_window_cb().
|
inline |
Definition at line 109 of file info_window.h.
References get_selected_item(), and map_item().
Referenced by attach_selected_item(), map_item_cb(), and reactivate().
|
inline |
Definition at line 110 of file info_window.h.
References map_selected_item().
Referenced by display_selected_item(), popup_new_experiment_window(), popup_new_gene_window(), popup_new_speciesOrganismWindow(), and reuse().
|
inline |
Definition at line 114 of file info_window.h.
References AW_window::activate(), arb_assert, attach_selected_item(), is_detached(), and set_used().
Referenced by popup_detached_experiment_window(), popup_detached_gene_window(), and popup_detached_speciesOrganismWindow().
|
inline |
Definition at line 120 of file info_window.h.
References AW_window::activate(), arb_assert, is_maininfo(), is_used(), and map_selected_item().
Referenced by InfoWindowRegistry::reactivate().
|
inline |
Definition at line 126 of file info_window.h.
References AW_window::hide().
Referenced by unlock_detached_cb().
void InfoWindow::bind_to_selected_item | ( | ) | const |
Definition at line 66 of file info_window.cxx.
References MutableItemSelector::add_selection_changed_cb, arb_assert, is_maininfo(), and map_item_cb().
Referenced by add_detach_area().
void InfoWindow::add_detach_area | ( | detached_uppopper | popup_detached_cb | ) | const |
Definition at line 105 of file info_window.cxx.
References AW_window::auto_space(), bind_to_selected_item(), AW_window::button_length(), AW_window::callback(), AW_window::create_autosize_button(), AW_window::create_button(), detach_selected_item_cb(), display_selected_item_cb(), DbScanner::get_mapped_itemID_awarname(), is_maininfo(), NULp, and unlock_detached_cb().
Referenced by popup_new_experiment_window(), popup_new_gene_window(), and popup_new_speciesOrganismWindow().
void InfoWindow::display_selected_item | ( | ) | const |
Definition at line 71 of file info_window.cxx.
References arb_assert, attach_selected_item(), aw_message(), GBS_global_string(), get_selected_item(), and is_detached().
Referenced by display_selected_item_cb().
void InfoWindow::detach_selected_item | ( | detached_uppopper | popup_detached_cb | ) | const |
Definition at line 79 of file info_window.cxx.
References aw_message(), GBS_global_string(), and get_selected_item().
Referenced by detach_selected_item_cb().
|
static |
Definition at line 67 of file info_window.h.
Referenced by InfoWindowRegistry::allocate_detach_id(), EXP_popup_experiment_window(), GEN_popup_gene_infowindow(), DBUI::init_info_window(), is_detached(), is_maininfo(), InfoWindowRegistry::localize_scanner_id(), popup_speciesOrganismWindow(), and InfoWindowRegistry::registerInfoWindow().