NCBI C++ ToolKit
|
Search Toolkit Book for CSeqTechDlg
#include <gui/packages/pkg_sequence_edit/seqtechdlg.hpp>
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< CCmdComposite > | GetCommand () |
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 |
CSequencingTechnologyPanel * | m_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 | |
IWorkbench * | m_Workbench |
ICommandProccessor * | m_CmdProccessor |
objects::CSeq_entry_Handle | m_TopSeqEntry |
CConstRef< objects::CSeq_submit > | m_SeqSubmit |
string | m_ErrorMessage |
CSeqTechDlg class declaration
Definition at line 80 of file seqtechdlg.hpp.
CSeqTechDlg::CSeqTechDlg | ( | ) |
Constructors.
CSeqTechDlg type definition
CSeqTechDlg event table definition
CSeqTechDlg constructors
Definition at line 83 of file seqtechdlg.cpp.
References Init().
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 |
||
) |
Definition at line 88 of file seqtechdlg.cpp.
References Create(), Init(), m_EditedObj, ncbi::grid::netcache::search::fields::size, and x_GetSeqTechUserFromSeqEntry().
CSeqTechDlg::~CSeqTechDlg | ( | ) |
CSeqTechDlg::CSeqTechDlg | ( | ) |
Constructors.
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::~CSeqTechDlg | ( | ) |
Destructor.
|
static |
Definition at line 329 of file seqtechdlg.cpp.
References NStr::EqualNocase(), CSourceRequirements::eWizardType_tsa, NStr::FindNoCase(), NStr::IsBlank(), kRaw, s_GetFieldValFromUserObj(), s_IsAssemblyMethodValid(), s_IsBadMethod(), and x_IsSpecialTech().
Referenced by GetCommand(), and GetErrorMessage().
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().
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.
void CSeqTechDlg::CreateControls | ( | ) |
Creates the controls and sizers.
Control creation for SeqTechDlg
Definition at line 150 of file seqtechdlg.cpp.
References _, NStr::EqualNocase(), CSubPrep_panel::GetWizardFieldFromSeqEntry(), ID_ASSEMBLED_BTN, ID_RAW_BTN, kAssembled, kRaw, kRawOrAssembled, m_AssembledBtn, m_EditedObj, m_Panel, m_PanelSizer, m_RawBtn, m_TopSeqEntry, CSequencingTechnologyPanel::TransferDataToWindow(), and wxID_ANY.
Referenced by Create().
void CSeqTechDlg::CreateControls | ( | ) |
Creates the controls and sizers.
wxBitmap CSeqTechDlg::GetBitmapResource | ( | const wxString & | name | ) |
wxBitmap CSeqTechDlg::GetBitmapResource | ( | const wxString & | name | ) |
@begin CSeqTechDlg member function declarations
Retrieves bitmap resources
|
virtual |
Implements CBulkCmdDlg.
Definition at line 386 of file seqtechdlg.cpp.
References CheckSequencingTechnology(), cmd, ctll::empty(), NStr::EqualNocase(), CSequencingTechnologyPanel::GetUser_object(), NStr::IsBlank(), kRawOrAssembled, m_EditedObj, m_Panel, m_TopSeqEntry, m_WizardType, NULL, prefix, CSubPrep_panel::SetWizardFieldInSeqEntry(), CSequencingTechnologyPanel::TransferDataFromWindow(), and x_GetRawOrAssembled().
|
virtual |
Implements CBulkCmdDlg.
Definition at line 441 of file seqtechdlg.cpp.
References CheckSequencingTechnology(), CSequencingTechnologyPanel::GetUser_object(), NStr::IsBlank(), m_EditedObj, m_Panel, m_WizardType, CSequencingTechnologyPanel::TransferDataFromWindow(), and x_GetRawOrAssembled().
wxIcon CSeqTechDlg::GetIconResource | ( | const wxString & | name | ) |
wxIcon CSeqTechDlg::GetIconResource | ( | const wxString & | name | ) |
Retrieves icon resources.
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().
void CSeqTechDlg::Init | ( | ) |
Initialises member variables.
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.
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.
|
static |
|
private |
Definition at line 374 of file seqtechdlg.cpp.
References kAssembled, kRaw, m_AssembledBtn, and m_RawBtn.
Referenced by GetCommand(), and GetErrorMessage().
|
private |
Definition at line 456 of file seqtechdlg.cpp.
References NStr::EqualNocase(), ITERATE, m_EditedObj, m_TopSeqEntry, prefix, and suffix.
Referenced by CSeqTechDlg().
Definition at line 236 of file seqtechdlg.cpp.
References NStr::eNocase, NStr::EqualNocase(), NStr::IsBlank(), ITERATE, NStr::Split(), and NStr::StartsWith().
Referenced by CheckSequencingTechnology().
wxRadioButton * CSeqTechDlg::m_AssembledBtn |
Definition at line 127 of file seqtechdlg.hpp.
Referenced by CreateControls(), Init(), and x_GetRawOrAssembled().
|
private |
Definition at line 136 of file seqtechdlg.hpp.
Referenced by CreateControls(), CSeqTechDlg(), GetCommand(), GetErrorMessage(), and x_GetSeqTechUserFromSeqEntry().
|
private |
Definition at line 137 of file seqtechdlg.hpp.
Referenced by CreateControls(), GetCommand(), and GetErrorMessage().
wxBoxSizer * CSeqTechDlg::m_PanelSizer |
Definition at line 125 of file seqtechdlg.hpp.
Referenced by CreateControls(), and Init().
wxRadioButton * CSeqTechDlg::m_RawBtn |
Definition at line 126 of file seqtechdlg.hpp.
Referenced by CreateControls(), Init(), and x_GetRawOrAssembled().
|
private |
Definition at line 135 of file seqtechdlg.hpp.
Referenced by CreateControls(), GetCommand(), and x_GetSeqTechUserFromSeqEntry().
|
private |
Definition at line 138 of file seqtechdlg.hpp.
Referenced by GetCommand(), and GetErrorMessage().