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

Search Toolkit Book for CIGSPanel

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

+ Inheritance diagram for CIGSPanel:
+ Collaboration diagram for CIGSPanel:

Public Member Functions

 CIGSPanel ()
 Constructors. More...
 
 CIGSPanel (wxWindow *parent, objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type=CSourceRequirements::eWizardType_standard, CSourceRequirements::EWizardSrcType src_type=CSourceRequirements::eWizardSrcType_any, wxWindowID id=10043, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10043, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CIGSPanel ()
 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 ()
 
- 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...
 

Private Attributes

objects::CSeq_entry_Handle m_TopSeqEntry
 
CSourceRequirements::EWizardType m_WizardType
 
CSourceRequirements::EWizardSrcType m_SrcType
 
CIGSFlankPanelm_Flank5
 
CIGSFlankPanelm_Flank3
 

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

CIGSPanel class declaration

Definition at line 70 of file igspanel.hpp.

Constructor & Destructor Documentation

◆ CIGSPanel() [1/2]

CIGSPanel::CIGSPanel ( )

Constructors.

CIGSPanel type definition

CIGSPanel event table definition

CIGSPanel constructors

Definition at line 71 of file igspanel.cpp.

References Init().

◆ CIGSPanel() [2/2]

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

Definition at line 76 of file igspanel.cpp.

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

◆ ~CIGSPanel()

CIGSPanel::~CIGSPanel ( )

Destructor.

CIGSPanel destructor

Definition at line 113 of file igspanel.cpp.

Member Function Documentation

◆ Create()

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

Creation.

CIGSPanel creator

Definition at line 93 of file igspanel.cpp.

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

Referenced by CIGSPanel().

◆ CreateControls()

void CIGSPanel::CreateControls ( )

Creates the controls and sizers.

Control creation for CIGSPanel

Definition at line 135 of file igspanel.cpp.

References m_Flank3, and m_Flank5.

Referenced by Create().

◆ GetBitmapResource()

wxBitmap CIGSPanel::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 169 of file igspanel.cpp.

◆ GetCommand()

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

◆ GetErrorMessage()

string CIGSPanel::GetErrorMessage ( )
virtual

Implements CBulkCmdPanel.

Definition at line 256 of file igspanel.cpp.

References CIGSFlankPanel::GetIGSLabel(), NStr::IsBlank(), m_Flank3, and m_Flank5.

◆ GetIconResource()

wxIcon CIGSPanel::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 182 of file igspanel.cpp.

◆ Init()

void CIGSPanel::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 124 of file igspanel.cpp.

Referenced by CIGSPanel().

◆ ShowToolTips()

bool CIGSPanel::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 160 of file igspanel.cpp.

Member Data Documentation

◆ m_Flank3

CIGSFlankPanel* CIGSPanel::m_Flank3
private

Definition at line 123 of file igspanel.hpp.

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

◆ m_Flank5

CIGSFlankPanel* CIGSPanel::m_Flank5
private

Definition at line 122 of file igspanel.hpp.

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

◆ m_SrcType

CSourceRequirements::EWizardSrcType CIGSPanel::m_SrcType
private

Definition at line 120 of file igspanel.hpp.

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CIGSPanel::m_TopSeqEntry
private

Definition at line 118 of file igspanel.hpp.

Referenced by GetCommand().

◆ m_WizardType

CSourceRequirements::EWizardType CIGSPanel::m_WizardType
private

Definition at line 119 of file igspanel.hpp.


The documentation for this class was generated from the following files:
Modified on Thu Feb 29 12:16:57 2024 by modify_doxy.py rev. 669887