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

Search Toolkit Book for CSeqTechDlg

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

+ Inheritance diagram for CSeqTechDlg:
+ Collaboration diagram for CSeqTechDlg:

Public Member Functions

 CSeqTechDlg ()
 Constructors. More...
 
 CSeqTechDlg (wxWindow *parent, objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type, wxWindowID id=10014, const wxString &caption=_("Sequencing Technology"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10014, const wxString &caption=_("Sequencing Technology"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CSeqTechDlg ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
void OnRawBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RAW_BTN More...
 
void OnAssembledBtnSelected (wxCommandEvent &event)
 wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ASSEMBLED_BTN 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 ()
 
 CSeqTechDlg ()
 Constructors. More...
 
 CSeqTechDlg (wxWindow *parent, wxWindowID id=10014, const wxString &caption=_("Sequencing Technology"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 
bool Create (wxWindow *parent, wxWindowID id=10014, const wxString &caption=_("Sequencing Technology"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
 Creation. More...
 
 ~CSeqTechDlg ()
 Destructor. More...
 
void Init ()
 Initialises member variables. More...
 
void CreateControls ()
 Creates the controls and sizers. More...
 
wxBitmap GetBitmapResource (const wxString &name)
 @begin CSeqTechDlg member function declarations More...
 
wxIcon GetIconResource (const wxString &name)
 Retrieves icon resources. More...
 
- Public Member Functions inherited from CBulkCmdDlg
 CBulkCmdDlg ()
 Constructors. More...
 
 CBulkCmdDlg (IWorkbench *wb)
 
bool Create (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
bool Create (wxWindow *parent, IWorkbench *wb, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxFrameNameStr)
 
 ~CBulkCmdDlg ()
 Destructor. More...
 
virtual void OnChildChange (wxWindow *wnd)
 
virtual void ExecuteCmd (CRef< CCmdComposite > cmd)
 
bool GetTopLevelSeqEntryAndProcessor ()
 
TConstScopedObjects GetSelectedObjects ()
 
void UpdateChildrenFeaturePanels (wxSizer *sizer)
 
void onCancelPressed (wxCommandEvent &event)
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 
static string CheckSequencingTechnology (CRef< objects::CUser_object > user, CSourceRequirements::EWizardType wizard_type, string raw_or_assembled)
 
static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

wxBoxSizer * m_PanelSizer
 
wxRadioButton * m_RawBtn
 
wxRadioButton * m_AssembledBtn
 

Private Member Functions

string x_GetRawOrAssembled ()
 
void x_GetSeqTechUserFromSeqEntry ()
 

Static Private Member Functions

static bool x_IsSpecialTech (string tech)
 

Private Attributes

objects::CSeq_entry_Handle m_TopSeqEntry
 
CRef< objects::CUser_object > m_EditedObj
 
CSequencingTechnologyPanelm_Panel
 
CSourceRequirements::EWizardType m_WizardType
 

Additional Inherited Members

- Protected Member Functions inherited from CBulkCmdDlg
edit::EExistingText x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false)
 
- Protected Attributes inherited from CBulkCmdDlg
IWorkbenchm_Workbench
 
ICommandProccessorm_CmdProccessor
 
objects::CSeq_entry_Handle m_TopSeqEntry
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 
string m_ErrorMessage
 

Detailed Description

CSeqTechDlg class declaration

Definition at line 80 of file seqtechdlg.hpp.

Constructor & Destructor Documentation

◆ CSeqTechDlg() [1/4]

CSeqTechDlg::CSeqTechDlg ( )

Constructors.

CSeqTechDlg type definition

CSeqTechDlg event table definition

CSeqTechDlg constructors

Definition at line 83 of file seqtechdlg.cpp.

References Init().

◆ CSeqTechDlg() [2/4]

CSeqTechDlg::CSeqTechDlg ( wxWindow *  parent,
objects::CSeq_entry_Handle  seh,
CSourceRequirements::EWizardType  wizard_type,
wxWindowID  id = 10014,
const wxString &  caption = _("Sequencing Technology"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CSeqTechDlg() [1/2]

CSeqTechDlg::~CSeqTechDlg ( )

Destructor.

CSeqTechDlg destructor

Definition at line 125 of file seqtechdlg.cpp.

◆ CSeqTechDlg() [3/4]

CSeqTechDlg::CSeqTechDlg ( )

Constructors.

◆ CSeqTechDlg() [4/4]

CSeqTechDlg::CSeqTechDlg ( wxWindow *  parent,
wxWindowID  id = 10014,
const wxString &  caption = _("Sequencing Technology"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

◆ ~CSeqTechDlg() [2/2]

CSeqTechDlg::~CSeqTechDlg ( )

Destructor.

Member Function Documentation

◆ CheckSequencingTechnology()

string CSeqTechDlg::CheckSequencingTechnology ( CRef< objects::CUser_object >  user,
CSourceRequirements::EWizardType  wizard_type,
string  raw_or_assembled 
)
static

◆ Create() [1/2]

bool CSeqTechDlg::Create ( wxWindow *  parent,
wxWindowID  id = 10014,
const wxString &  caption = _("Sequencing Technology"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

SeqTechDlg creator

Definition at line 104 of file seqtechdlg.cpp.

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

Referenced by CSeqTechDlg().

◆ Create() [2/2]

bool CSeqTechDlg::Create ( wxWindow *  parent,
wxWindowID  id = 10014,
const wxString &  caption = _("Sequencing Technology"),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize(400, 300),
long  style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 
)

Creation.

◆ CreateControls() [1/2]

void CSeqTechDlg::CreateControls ( )

◆ CreateControls() [2/2]

void CSeqTechDlg::CreateControls ( )

Creates the controls and sizers.

◆ GetBitmapResource() [1/2]

wxBitmap CSeqTechDlg::GetBitmapResource ( const wxString &  name)

Retrieves bitmap resources.

Get bitmap resources

Definition at line 213 of file seqtechdlg.cpp.

◆ GetBitmapResource() [2/2]

wxBitmap CSeqTechDlg::GetBitmapResource ( const wxString &  name)

@begin CSeqTechDlg member function declarations

Retrieves bitmap resources

◆ GetCommand()

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

◆ GetErrorMessage()

string CSeqTechDlg::GetErrorMessage ( )
virtual

◆ GetIconResource() [1/2]

wxIcon CSeqTechDlg::GetIconResource ( const wxString &  name)

Retrieves icon resources.

Get icon resources

Definition at line 226 of file seqtechdlg.cpp.

◆ GetIconResource() [2/2]

wxIcon CSeqTechDlg::GetIconResource ( const wxString &  name)

Retrieves icon resources.

◆ Init() [1/2]

void CSeqTechDlg::Init ( void  )

Initialises member variables.

Member initialisation

Definition at line 136 of file seqtechdlg.cpp.

References m_AssembledBtn, m_PanelSizer, m_RawBtn, and NULL.

Referenced by CSeqTechDlg().

◆ Init() [2/2]

void CSeqTechDlg::Init ( )

Initialises member variables.

◆ OnAssembledBtnSelected()

void CSeqTechDlg::OnAssembledBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ASSEMBLED_BTN

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_ASSEMBLED_BTN

Definition at line 506 of file seqtechdlg.cpp.

◆ OnRawBtnSelected()

void CSeqTechDlg::OnRawBtnSelected ( wxCommandEvent &  event)

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RAW_BTN

wxEVT_COMMAND_RADIOBUTTON_SELECTED event handler for ID_RAW_BTN

Definition at line 493 of file seqtechdlg.cpp.

◆ ShowToolTips() [1/2]

bool CSeqTechDlg::ShowToolTips ( )
static

Should we show tooltips?

Should we show tooltips?

Definition at line 204 of file seqtechdlg.cpp.

◆ ShowToolTips() [2/2]

static bool CSeqTechDlg::ShowToolTips ( )
static

Should we show tooltips?

◆ x_GetRawOrAssembled()

string CSeqTechDlg::x_GetRawOrAssembled ( )
private

Definition at line 374 of file seqtechdlg.cpp.

References kAssembled, kRaw, m_AssembledBtn, and m_RawBtn.

Referenced by GetCommand(), and GetErrorMessage().

◆ x_GetSeqTechUserFromSeqEntry()

void CSeqTechDlg::x_GetSeqTechUserFromSeqEntry ( )
private

Definition at line 456 of file seqtechdlg.cpp.

References NStr::EqualNocase(), ITERATE, m_EditedObj, m_TopSeqEntry, prefix, and suffix.

Referenced by CSeqTechDlg().

◆ x_IsSpecialTech()

bool CSeqTechDlg::x_IsSpecialTech ( string  tech)
staticprivate

Member Data Documentation

◆ m_AssembledBtn

wxRadioButton * CSeqTechDlg::m_AssembledBtn

Definition at line 127 of file seqtechdlg.hpp.

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

◆ m_EditedObj

CRef<objects::CUser_object> CSeqTechDlg::m_EditedObj
private

◆ m_Panel

CSequencingTechnologyPanel* CSeqTechDlg::m_Panel
private

Definition at line 137 of file seqtechdlg.hpp.

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

◆ m_PanelSizer

wxBoxSizer * CSeqTechDlg::m_PanelSizer

Definition at line 125 of file seqtechdlg.hpp.

Referenced by CreateControls(), and Init().

◆ m_RawBtn

wxRadioButton * CSeqTechDlg::m_RawBtn

Definition at line 126 of file seqtechdlg.hpp.

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

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CSeqTechDlg::m_TopSeqEntry
private

Definition at line 135 of file seqtechdlg.hpp.

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

◆ m_WizardType

CSourceRequirements::EWizardType CSeqTechDlg::m_WizardType
private

Definition at line 138 of file seqtechdlg.hpp.

Referenced by GetCommand(), and GetErrorMessage().


The documentation for this class was generated from the following files:
Modified on Tue May 07 08:14:45 2024 by modify_doxy.py rev. 669887