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

Search Toolkit Book for CRNANamePanel

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

+ Inheritance diagram for CRNANamePanel:
+ Collaboration diagram for CRNANamePanel:

Public Member Functions

 CRNANamePanel ()
 Constructors. More...
 
 CRNANamePanel (wxWindow *parent, objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type=CSourceRequirements::eWizardType_standard, CSourceRequirements::EWizardSrcType src_type=CSourceRequirements::eWizardSrcType_any, bool multi=false, wxWindowID id=10034, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10034, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CRNANamePanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnRNATypeSelected (wxCommandEvent &event)
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual CRef< CCmdCompositeGetCommand ()
 
virtual string GetErrorMessage ()
 
- Public Member Functions inherited from CBulkCmdPanel
 CBulkCmdPanel ()
 Constructors. More...
 
 CBulkCmdPanel (bool add_location_panel)
 
virtual ~CBulkCmdPanel ()
 Destructor. More...
 
void SetLoc (CRef< objects::CSeq_loc > loc)
 
virtual void AddOneCommand (const objects::CBioseq_Handle &bsh, CRef< CCmdComposite > cmd)
 

Static Public Member Functions

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

Public Attributes

wxStaticBoxSizer * m_RNANameSizer
 
wxTextCtrl * m_OtherLabel
 

Private Member Functions

string x_GetMultiElementName ()
 
string x_GetSingleElementName ()
 

Private Attributes

objects::CSeq_entry_Handle m_TopSeqEntry
 
CSourceRequirements::EWizardType m_WizardType
 
CSourceRequirements::EWizardSrcType m_SrcType
 
bool m_IsMulti
 

Additional Inherited Members

- Protected Member Functions inherited from CBulkCmdPanel
virtual bool ShouldAddToExisting ()
 
virtual CRef< objects::CSeq_loc > GetLocForBioseq (const objects::CBioseq &bioseq)
 
- Protected Attributes inherited from CBulkCmdPanel
bool m_add_location_panel
 
CRef< objects::CSeq_loc > m_loc
 
CBulkLocationPanelm_Location
 

Detailed Description

CRNANamePanel class declaration

Definition at line 75 of file rnanamepanel.hpp.

Constructor & Destructor Documentation

◆ CRNANamePanel() [1/2]

CRNANamePanel::CRNANamePanel ( )

Constructors.

CRNANamePanel type definition

CRNANamePanel event table definition

CRNANamePanel constructors

Definition at line 75 of file rnanamepanel.cpp.

References Init().

◆ CRNANamePanel() [2/2]

CRNANamePanel::CRNANamePanel ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
CSourceRequirements::EWizardType  wizard_type = CSourceRequirements::eWizardType_standard,
CSourceRequirements::EWizardSrcType  src_type = CSourceRequirements::eWizardSrcType_any,
bool  multi = false,
wxWindowID  id = 10034,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

Definition at line 80 of file rnanamepanel.cpp.

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

◆ ~CRNANamePanel()

CRNANamePanel::~CRNANamePanel ( )

Destructor.

CRNANamePanel destructor

Definition at line 119 of file rnanamepanel.cpp.

Member Function Documentation

◆ Create()

bool CRNANamePanel::Create ( wxWindow *  parent,
wxWindowID  id = 10034,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

Creation.

CRNANamePanel creator

Definition at line 99 of file rnanamepanel.cpp.

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

Referenced by CRNANamePanel().

◆ CreateControls()

void CRNANamePanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CRNANamePanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 269 of file rnanamepanel.cpp.

◆ GetCommand()

CRef< CCmdComposite > CRNANamePanel::GetCommand ( void  )
virtual

◆ GetErrorMessage()

string CRNANamePanel::GetErrorMessage ( )
virtual

Implements CBulkCmdPanel.

Definition at line 465 of file rnanamepanel.cpp.

◆ GetIconResource()

wxIcon CRNANamePanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 282 of file rnanamepanel.cpp.

◆ Init()

void CRNANamePanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 130 of file rnanamepanel.cpp.

References m_RNANameSizer, and NULL.

Referenced by CRNANamePanel().

◆ OnRNATypeSelected()

void CRNANamePanel::OnRNATypeSelected ( wxCommandEvent &  event)

Definition at line 471 of file rnanamepanel.cpp.

References NStr::Equal(), m_OtherLabel, m_RNANameSizer, and ToStdString().

◆ ShowToolTips()

bool CRNANamePanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 260 of file rnanamepanel.cpp.

◆ x_GetMultiElementName()

string CRNANamePanel::x_GetMultiElementName ( )
private

Definition at line 358 of file rnanamepanel.cpp.

References NStr::Equal(), i, label, m_OtherLabel, m_RNANameSizer, and ToStdString().

Referenced by GetCommand().

◆ x_GetSingleElementName()

string CRNANamePanel::x_GetSingleElementName ( )
private

Definition at line 393 of file rnanamepanel.cpp.

References NStr::Equal(), label, m_OtherLabel, m_RNANameSizer, and ToStdString().

Referenced by GetCommand().

Member Data Documentation

◆ m_IsMulti

bool CRNANamePanel::m_IsMulti
private

Definition at line 131 of file rnanamepanel.hpp.

Referenced by CreateControls(), and GetCommand().

◆ m_OtherLabel

wxTextCtrl* CRNANamePanel::m_OtherLabel

◆ m_RNANameSizer

wxStaticBoxSizer* CRNANamePanel::m_RNANameSizer

◆ m_SrcType

CSourceRequirements::EWizardSrcType CRNANamePanel::m_SrcType
private

Definition at line 130 of file rnanamepanel.hpp.

Referenced by CreateControls().

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CRNANamePanel::m_TopSeqEntry
private

Definition at line 128 of file rnanamepanel.hpp.

Referenced by GetCommand().

◆ m_WizardType

CSourceRequirements::EWizardType CRNANamePanel::m_WizardType
private

Definition at line 129 of file rnanamepanel.hpp.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:57:59 2024 by modify_doxy.py rev. 669887