ARB
Public Types | Public Member Functions | Static Public Attributes | List of all members
InfoWindow Class Reference

#include <info_window.h>

Inheritance diagram for InfoWindow:
Inheritance graph
[legend]
Collaboration diagram for InfoWindow:
Collaboration graph
[legend]

Public Types

typedef SmartPtr< InfoWindowPtr
 
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
 
GBDATAget_gbmain () const
 
bool is_used () const
 
void set_used (bool used_) const
 
bool mapsOrganism () const
 
bool handlesSameItemtypeAs (const InfoWindow &other) const
 
GBDATAget_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
 

Detailed Description

Definition at line 34 of file info_window.h.

Member Typedef Documentation

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.

Constructor & Destructor Documentation

InfoWindow::InfoWindow ( AW_window aww_,
DbScanner scanner_,
int  detach_id_ 
)
inline

Definition at line 71 of file info_window.h.

InfoWindow::~InfoWindow ( )
inline

Definition at line 77 of file info_window.h.

Member Function Documentation

bool InfoWindow::is_detached ( ) const
inline

Definition at line 81 of file info_window.h.

References MAIN_WINDOW.

Referenced by display_selected_item(), reuse(), and unlock_detached_cb().

bool InfoWindow::is_maininfo ( ) const
inline
int InfoWindow::getDetachID ( ) const
inline

Definition at line 83 of file info_window.h.

GBDATA* InfoWindow::get_gbmain ( ) const
inline
bool InfoWindow::is_used ( ) const
inline

Definition at line 87 of file info_window.h.

Referenced by reactivate(), and store_unused_detached_info_window_cb().

void InfoWindow::set_used ( bool  used_) const
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().

bool InfoWindow::mapsOrganism ( ) const
inline

Definition at line 93 of file info_window.h.

References QUERY_ITEM_ORGANISM.

Referenced by popup_detached_speciesOrganismWindow().

bool InfoWindow::handlesSameItemtypeAs ( const InfoWindow other) const
inline

Definition at line 96 of file info_window.h.

GBDATA* InfoWindow::get_selected_item ( ) const
inline
void InfoWindow::map_item ( GBDATA gb_item) const
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().

void InfoWindow::map_selected_item ( ) const
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().

void InfoWindow::attach_selected_item ( ) const
inline
void InfoWindow::reuse ( ) const
inline
void InfoWindow::reactivate ( ) const
inline
void InfoWindow::hide ( ) const
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
void InfoWindow::add_detach_area ( detached_uppopper  popup_detached_cb) const
void InfoWindow::display_selected_item ( ) const
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().

Member Data Documentation

const int InfoWindow::MAIN_WINDOW = 0
static

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