NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
CFeatureTblFr Class Reference

Search Toolkit Book for CFeatureTblFr

#include <gui/packages/pkg_sequence_edit/featuretbl_frame.hpp>

+ Inheritance diagram for CFeatureTblFr:
+ Collaboration diagram for CFeatureTblFr:

Public Member Functions

 CFeatureTblFr ()
 Constructors. More...
 
 CFeatureTblFr (wxWindow *parent, IWorkbench *workbench, wxWindowID id=ID_CFEATURETBLFR, const wxString &caption=_("Feature Table"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(700, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)
 
bool Create (wxWindow *parent, wxWindowID id=ID_CFEATURETBLFR, const wxString &caption=_("Feature Table"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(700, 600), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX)
 
 ~CFeatureTblFr ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnRefreshClick (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
void SetWorkDir (const wxString &workDir)
 
CJobAdapter::IJobCallback interface implementation
virtual void OnJobResult (CObject *result, CJobAdapter &adapter)
 
virtual void OnJobFailed (const string &, CJobAdapter &adapter)
 
IRegSettings interface implementation
virtual void SetRegistryPath (const string &reg_path)
 
virtual void LoadSettings ()
 
virtual void SaveSettings () const
 
- Public Member Functions inherited from IRegSettings
virtual ~IRegSettings ()
 
- Public Member Functions inherited from CJobAdapter::IJobCallback
virtual ~IJobCallback ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Private Types

enum  {
  ID_CFEATURETBLFR = 10454 , ID_FTBL_CHCKBX1 = 10455 , ID_FTBL_CHCKBX2 = 10456 , ID_FTBL_CHCKBX3 = 10457 ,
  ID_FTBL_REFRESHBTN = 10458 , ID_FTBL_GENPANEL = 10459
}
 Control identifiers. More...
 

Private Member Functions

void x_RefreshTable (const string &path=kEmptyStr)
 

Private Attributes

wxCheckBox * m_ProteinId
 
wxCheckBox * m_Source
 
wxCheckBox * m_ProteinFeats
 
CGenericPanelm_GenericPanel
 
IWorkbenchm_Workbench
 
CRef< CJobAdapterm_JobAdapter
 
string m_RegPath
 
bool m_ShowSources
 
bool m_ShowTranscriptId
 
bool m_ShowProteinFeats { false }
 
int m_FindMode
 

Detailed Description

CFeatureTblFr class declaration

Definition at line 61 of file featuretbl_frame.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private

Control identifiers.

Enumerator
ID_CFEATURETBLFR 
ID_FTBL_CHCKBX1 
ID_FTBL_CHCKBX2 
ID_FTBL_CHCKBX3 
ID_FTBL_REFRESHBTN 
ID_FTBL_GENPANEL 

Definition at line 147 of file featuretbl_frame.hpp.

Constructor & Destructor Documentation

◆ CFeatureTblFr() [1/2]

CFeatureTblFr::CFeatureTblFr ( )

Constructors.

CFeatureTblFr type definition

CFeatureTblFr event table definition

CFeatureTblFr constructors

Definition at line 77 of file featuretbl_frame.cpp.

References Init().

◆ CFeatureTblFr() [2/2]

CFeatureTblFr::CFeatureTblFr ( wxWindow *  parent,
IWorkbench workbench,
wxWindowID  id = ID_CFEATURETBLFR,
const wxString &  caption = _("Feature Table"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(700, 600),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX 
)

◆ ~CFeatureTblFr()

CFeatureTblFr::~CFeatureTblFr ( )

Destructor.

CFeatureTblFr destructor

Definition at line 116 of file featuretbl_frame.cpp.

References CJobAdapter::Cancel(), m_JobAdapter, and SaveSettings().

Member Function Documentation

◆ Create()

bool CFeatureTblFr::Create ( wxWindow *  parent,
wxWindowID  id = ID_CFEATURETBLFR,
const wxString &  caption = _("Feature Table"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(700, 600),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX 
)

CFeatureTblFr creator

Definition at line 96 of file featuretbl_frame.cpp.

References CreateControls(), and ncbi::grid::netcache::search::fields::size.

Referenced by CFeatureTblFr().

◆ CreateControls()

void CFeatureTblFr::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CFeatureTblFr::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 208 of file featuretbl_frame.cpp.

◆ GetIconResource()

wxIcon CFeatureTblFr::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 221 of file featuretbl_frame.cpp.

◆ Init()

void CFeatureTblFr::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 131 of file featuretbl_frame.cpp.

References LoadSettings(), m_FindMode, m_GenericPanel, m_ProteinFeats, m_ProteinId, m_Source, NULL, and SetRegistryPath().

Referenced by CFeatureTblFr().

◆ LoadSettings()

void CFeatureTblFr::LoadSettings ( )
virtual

◆ OnCloseWindow()

void CFeatureTblFr::OnCloseWindow ( wxCloseEvent &  event)

Definition at line 274 of file featuretbl_frame.cpp.

◆ OnJobFailed()

void CFeatureTblFr::OnJobFailed ( const string errMsg,
CJobAdapter adapter 
)
virtual

Implements CJobAdapter::IJobCallback.

Definition at line 419 of file featuretbl_frame.cpp.

References NcbiErrorBox().

◆ OnJobResult()

void CFeatureTblFr::OnJobResult ( CObject result,
CJobAdapter adapter 
)
virtual

◆ OnRefreshClick()

void CFeatureTblFr::OnRefreshClick ( wxCommandEvent &  event)

Definition at line 269 of file featuretbl_frame.cpp.

References x_RefreshTable().

◆ SaveSettings()

void CFeatureTblFr::SaveSettings ( ) const
virtual

◆ SetRegistryPath()

void CFeatureTblFr::SetRegistryPath ( const string reg_path)
virtual

Implements IRegSettings.

Definition at line 235 of file featuretbl_frame.cpp.

References m_RegPath.

Referenced by Init().

◆ SetWorkDir()

void CFeatureTblFr::SetWorkDir ( const wxString &  workDir)

◆ ShowToolTips()

bool CFeatureTblFr::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 199 of file featuretbl_frame.cpp.

◆ x_RefreshTable()

void CFeatureTblFr::x_RefreshTable ( const string path = kEmptyStr)
private

Member Data Documentation

◆ m_FindMode

int CFeatureTblFr::m_FindMode
private

Definition at line 145 of file featuretbl_frame.hpp.

Referenced by CreateControls(), Init(), and LoadSettings().

◆ m_GenericPanel

CGenericPanel* CFeatureTblFr::m_GenericPanel
private

◆ m_JobAdapter

CRef<CJobAdapter> CFeatureTblFr::m_JobAdapter
private

Definition at line 140 of file featuretbl_frame.hpp.

Referenced by x_RefreshTable(), and ~CFeatureTblFr().

◆ m_ProteinFeats

wxCheckBox* CFeatureTblFr::m_ProteinFeats
private

Definition at line 135 of file featuretbl_frame.hpp.

Referenced by CreateControls(), Init(), and x_RefreshTable().

◆ m_ProteinId

wxCheckBox* CFeatureTblFr::m_ProteinId
private

Definition at line 133 of file featuretbl_frame.hpp.

Referenced by CreateControls(), Init(), and x_RefreshTable().

◆ m_RegPath

string CFeatureTblFr::m_RegPath
private

Definition at line 141 of file featuretbl_frame.hpp.

Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().

◆ m_ShowProteinFeats

bool CFeatureTblFr::m_ShowProteinFeats { false }
private

Definition at line 144 of file featuretbl_frame.hpp.

Referenced by CreateControls(), LoadSettings(), and SaveSettings().

◆ m_ShowSources

bool CFeatureTblFr::m_ShowSources
private

Definition at line 142 of file featuretbl_frame.hpp.

Referenced by CreateControls(), LoadSettings(), and SaveSettings().

◆ m_ShowTranscriptId

bool CFeatureTblFr::m_ShowTranscriptId
private

Definition at line 143 of file featuretbl_frame.hpp.

Referenced by CreateControls(), LoadSettings(), and SaveSettings().

◆ m_Source

wxCheckBox* CFeatureTblFr::m_Source
private

Definition at line 134 of file featuretbl_frame.hpp.

Referenced by CreateControls(), Init(), and x_RefreshTable().

◆ m_Workbench

IWorkbench* CFeatureTblFr::m_Workbench
private

Definition at line 138 of file featuretbl_frame.hpp.

Referenced by CreateControls(), and x_RefreshTable().


The documentation for this class was generated from the following files:
Modified on Tue May 21 10:57:22 2024 by modify_doxy.py rev. 669887