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

Search Toolkit Book for CBulkCDSAddPanel

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

+ Inheritance diagram for CBulkCDSAddPanel:
+ Collaboration diagram for CBulkCDSAddPanel:

Public Member Functions

 CBulkCDSAddPanel ()
 Constructors. More...
 
 CBulkCDSAddPanel (wxWindow *parent, objects::CSeq_entry_Handle seh, bool add_location_panel=true, wxWindowID id=10030, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10030, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CBulkCDSAddPanel ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 Retrieves bitmap resources. More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
virtual CRef< CCmdCompositeGetCommand ()
 
virtual string GetErrorMessage ()
 
virtual void AddOneCommand (const objects::CBioseq_Handle &bsh, CRef< CCmdComposite > cmd, bool &ambiguous)
 
- 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

wxTextCtrl * m_ProteinName
 
wxTextCtrl * m_ProteinDescription
 
wxTextCtrl * m_GeneSymbol
 
wxTextCtrl * m_Comment
 

Private Attributes

objects::CSeq_entry_Handle m_TopSeqEntry
 
wxChoice * m_CodonStart
 
wxCheckBox * m_AddmRNA
 
bool m_create_general_only
 

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

CBulkCDSAddPanel class declaration

Definition at line 84 of file bulkcdsaddpanel.hpp.

Constructor & Destructor Documentation

◆ CBulkCDSAddPanel() [1/2]

CBulkCDSAddPanel::CBulkCDSAddPanel ( )

Constructors.

CBulkCDSAddPanel type definition

CBulkCDSAddPanel event table definition

CBulkCDSAddPanel constructors

Definition at line 79 of file bulkcdsaddpanel.cpp.

References Init().

◆ CBulkCDSAddPanel() [2/2]

CBulkCDSAddPanel::CBulkCDSAddPanel ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
bool  add_location_panel = true,
wxWindowID  id = 10030,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxTAB_TRAVERSAL 
)

Definition at line 84 of file bulkcdsaddpanel.cpp.

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

◆ ~CBulkCDSAddPanel()

CBulkCDSAddPanel::~CBulkCDSAddPanel ( )

Destructor.

CBulkCDSAddPanel destructor

Definition at line 116 of file bulkcdsaddpanel.cpp.

Member Function Documentation

◆ AddOneCommand()

void CBulkCDSAddPanel::AddOneCommand ( const objects::CBioseq_Handle &  bsh,
CRef< CCmdComposite cmd,
bool ambiguous 
)
virtual

◆ Create()

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

Creation.

CBulkCDSAddPanel creator

Definition at line 96 of file bulkcdsaddpanel.cpp.

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

Referenced by CBulkCDSAddPanel().

◆ CreateControls()

void CBulkCDSAddPanel::CreateControls ( )

◆ GetBitmapResource()

wxBitmap CBulkCDSAddPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 222 of file bulkcdsaddpanel.cpp.

◆ GetCommand()

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

◆ GetErrorMessage()

string CBulkCDSAddPanel::GetErrorMessage ( )
virtual

Implements CBulkCmdPanel.

Definition at line 376 of file bulkcdsaddpanel.cpp.

References NStr::IsBlank(), m_ProteinName, and ToStdString().

◆ GetIconResource()

wxIcon CBulkCDSAddPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 235 of file bulkcdsaddpanel.cpp.

◆ Init()

void CBulkCDSAddPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 127 of file bulkcdsaddpanel.cpp.

References m_AddmRNA, m_CodonStart, m_Comment, m_GeneSymbol, CBulkCmdPanel::m_Location, m_ProteinDescription, m_ProteinName, and NULL.

Referenced by CBulkCDSAddPanel().

◆ ShowToolTips()

bool CBulkCDSAddPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 213 of file bulkcdsaddpanel.cpp.

Member Data Documentation

◆ m_AddmRNA

wxCheckBox* CBulkCDSAddPanel::m_AddmRNA
private

Definition at line 135 of file bulkcdsaddpanel.hpp.

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

◆ m_CodonStart

wxChoice* CBulkCDSAddPanel::m_CodonStart
private

Definition at line 134 of file bulkcdsaddpanel.hpp.

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

◆ m_Comment

wxTextCtrl* CBulkCDSAddPanel::m_Comment

Definition at line 126 of file bulkcdsaddpanel.hpp.

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

◆ m_create_general_only

bool CBulkCDSAddPanel::m_create_general_only
private

Definition at line 136 of file bulkcdsaddpanel.hpp.

Referenced by AddOneCommand(), and GetCommand().

◆ m_GeneSymbol

wxTextCtrl* CBulkCDSAddPanel::m_GeneSymbol

Definition at line 125 of file bulkcdsaddpanel.hpp.

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

◆ m_ProteinDescription

wxTextCtrl* CBulkCDSAddPanel::m_ProteinDescription

Definition at line 124 of file bulkcdsaddpanel.hpp.

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

◆ m_ProteinName

wxTextCtrl* CBulkCDSAddPanel::m_ProteinName

Definition at line 123 of file bulkcdsaddpanel.hpp.

Referenced by AddOneCommand(), CreateControls(), GetCommand(), GetErrorMessage(), and Init().

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CBulkCDSAddPanel::m_TopSeqEntry
private

Definition at line 133 of file bulkcdsaddpanel.hpp.

Referenced by GetCommand().


The documentation for this class was generated from the following files:
Modified on Tue Nov 28 02:22:31 2023 by modify_doxy.py rev. 669887