NCBI C++ ToolKit
|
Search Toolkit Book for CCreateGeneModelParamsPanel
#include <gui/packages/pkg_alignment/create_gene_model_params_panel.hpp>
Public Member Functions | |
CCreateGeneModelParamsPanel () | |
CCreateGeneModelParamsPanel (wxWindow *parent, wxWindowID id=ID_GENEMODELPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) | |
bool | Create (wxWindow *parent, wxWindowID id=ID_GENEMODELPARAMSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL) |
~CCreateGeneModelParamsPanel () | |
void | Init () |
void | CreateControls () |
void | SetParams (SCreateGeneModelParams *params, TConstScopedObjects *objects) |
virtual bool | TransferDataToWindow () |
virtual bool | TransferDataFromWindow () |
void | OnCreateGeneClick (wxCommandEvent &event) |
void | OnCreateMrnaClick (wxCommandEvent &event) |
void | OnCreateCdsClick (wxCommandEvent &event) |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
CAlgoToolManagerParamsPanel implementation | |
void | RestoreDefaults () |
override in derived classes More... | |
IRegSettings interface implementation | |
virtual void | SetRegistryPath (const string &path) |
CAlgoToolManagerParamsPanel. More... | |
virtual void | LoadSettings () |
virtual void | SaveSettings () const |
override in derived classes More... | |
IRegSettings interface implementation | |
![]() | |
virtual | ~IRegSettings () |
Private Types | |
enum | { ID_GENEMODELPARAMSPANEL = 10031 , ID_OBJLISTCTRL = 10014 , ID_CHECK_GENE = 10032 , ID_PROPAGATE_NCRNA = 10046 , ID_CHECK_MRNA = 10041 , ID_CHECK_TRANSCRIPT = 10000 , ID_CHECK_CDS = 10042 , ID_CHECK_TRANSLATE = 10044 , ID_CHECK_GROUP = 10045 , ID_CHECK_MERGE = 10059 , ID_PROPAGATE_LOCAL_IDS = 10060 } |
Private Attributes | |
CObjectListWidget * | m_ObjectList |
wxCheckBox * | m_CreateGene |
wxCheckBox * | m_PropagateNcrnaFeats |
wxCheckBox * | m_CreateMrna |
wxCheckBox * | m_TranscribeMrna |
wxCheckBox * | m_CreateCds |
wxCheckBox * | m_TranslateCds |
wxCheckBox * | m_GroupByGeneId |
wxCheckBox * | m_MergeToGenome |
wxCheckBox * | m_PropagateLocalIds |
SCreateGeneModelParams * | m_Params |
TConstScopedObjects * | m_InputObjects |
bool | m_InputListDirty |
string | m_RegPath |
Additional Inherited Members | |
![]() | |
string | m_RegPath |
registry path to the settings More... | |
Definition at line 104 of file create_gene_model_params_panel.hpp.
|
private |
Definition at line 167 of file create_gene_model_params_panel.hpp.
CCreateGeneModelParamsPanel::CCreateGeneModelParamsPanel | ( | ) |
Definition at line 98 of file create_gene_model_params_panel.cpp.
References Init().
CCreateGeneModelParamsPanel::CCreateGeneModelParamsPanel | ( | wxWindow * | parent, |
wxWindowID | id = ID_GENEMODELPARAMSPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 106 of file create_gene_model_params_panel.cpp.
References Create(), Init(), and ncbi::grid::netcache::search::fields::size.
CCreateGeneModelParamsPanel::~CCreateGeneModelParamsPanel | ( | ) |
Definition at line 127 of file create_gene_model_params_panel.cpp.
bool CCreateGeneModelParamsPanel::Create | ( | wxWindow * | parent, |
wxWindowID | id = ID_GENEMODELPARAMSPANEL , |
||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxSize(400, 300) , |
||
long | style = wxTAB_TRAVERSAL |
||
) |
Definition at line 112 of file create_gene_model_params_panel.cpp.
References CreateControls(), and ncbi::grid::netcache::search::fields::size.
Referenced by CCreateGeneModelParamsPanel(), and CCreateGeneModelToolManager::x_CreateParamsPanelIfNeeded().
void CCreateGeneModelParamsPanel::CreateControls | ( | ) |
Definition at line 150 of file create_gene_model_params_panel.cpp.
References _, ID_CHECK_CDS, ID_CHECK_GENE, ID_CHECK_GROUP, ID_CHECK_MERGE, ID_CHECK_MRNA, ID_CHECK_TRANSCRIPT, ID_CHECK_TRANSLATE, ID_OBJLISTCTRL, ID_PROPAGATE_LOCAL_IDS, ID_PROPAGATE_NCRNA, m_CreateCds, m_CreateGene, m_CreateMrna, m_GroupByGeneId, m_MergeToGenome, m_ObjectList, m_PropagateLocalIds, m_PropagateNcrnaFeats, m_TranscribeMrna, m_TranslateCds, and wxID_ANY.
Referenced by Create().
wxBitmap CCreateGeneModelParamsPanel::GetBitmapResource | ( | const wxString & | name | ) |
Definition at line 207 of file create_gene_model_params_panel.cpp.
wxIcon CCreateGeneModelParamsPanel::GetIconResource | ( | const wxString & | name | ) |
Definition at line 215 of file create_gene_model_params_panel.cpp.
void CCreateGeneModelParamsPanel::Init | ( | void | ) |
Definition at line 133 of file create_gene_model_params_panel.cpp.
References m_CreateCds, m_CreateGene, m_CreateMrna, m_GroupByGeneId, m_MergeToGenome, m_ObjectList, m_Params, m_PropagateLocalIds, m_PropagateNcrnaFeats, m_TranscribeMrna, m_TranslateCds, and NULL.
Referenced by CCreateGeneModelParamsPanel().
|
virtual |
Implements CAlgoToolManagerParamsPanel.
Definition at line 288 of file create_gene_model_params_panel.cpp.
References CGuiRegistry::GetInstance(), CGuiRegistry::GetReadView(), kTableTag, CwxTableListCtrl::LoadTableSettings(), m_ObjectList, m_RegPath, and CGuiRegistryUtil::MakeKey().
Referenced by CCreateGeneModelToolManager::x_CreateParamsPanelIfNeeded().
void CCreateGeneModelParamsPanel::OnCreateCdsClick | ( | wxCommandEvent & | event | ) |
Definition at line 321 of file create_gene_model_params_panel.cpp.
References m_TranslateCds.
void CCreateGeneModelParamsPanel::OnCreateGeneClick | ( | wxCommandEvent & | event | ) |
Definition at line 311 of file create_gene_model_params_panel.cpp.
References m_GroupByGeneId.
void CCreateGeneModelParamsPanel::OnCreateMrnaClick | ( | wxCommandEvent & | event | ) |
Definition at line 316 of file create_gene_model_params_panel.cpp.
References m_TranscribeMrna.
|
virtual |
override in derived classes
Restores the default options for the panel
Implements CAlgoToolManagerParamsPanel.
Definition at line 326 of file create_gene_model_params_panel.cpp.
References SCreateGeneModelParams::Init(), m_Params, and TransferDataToWindow().
|
virtual |
override in derived classes
Implements CAlgoToolManagerParamsPanel.
Definition at line 300 of file create_gene_model_params_panel.cpp.
References CGuiRegistry::GetInstance(), CGuiRegistry::GetWriteView(), kTableTag, m_ObjectList, m_RegPath, CGuiRegistryUtil::MakeKey(), and CwxTableListCtrl::SaveTableSettings().
void CCreateGeneModelParamsPanel::SetParams | ( | SCreateGeneModelParams * | params, |
TConstScopedObjects * | objects | ||
) |
Definition at line 225 of file create_gene_model_params_panel.cpp.
References m_InputObjects, and m_Params.
Referenced by CCreateGeneModelToolManager::x_CreateParamsPanelIfNeeded().
Reimplemented from CAlgoToolManagerParamsPanel.
Definition at line 281 of file create_gene_model_params_panel.cpp.
References m_RegPath.
Referenced by CCreateGeneModelToolManager::x_CreateParamsPanelIfNeeded().
|
virtual |
Definition at line 258 of file create_gene_model_params_panel.cpp.
References CObjectListWidget::GetSelection(), SCreateGeneModelParams::m_Alignments, SCreateGeneModelParams::m_CreateCds, m_CreateCds, SCreateGeneModelParams::m_CreateGene, m_CreateGene, SCreateGeneModelParams::m_CreateMrna, m_CreateMrna, SCreateGeneModelParams::m_GroupByGeneId, m_GroupByGeneId, SCreateGeneModelParams::m_MergeResults, m_MergeToGenome, m_ObjectList, m_Params, SCreateGeneModelParams::m_PropagateLocalIds, m_PropagateLocalIds, SCreateGeneModelParams::m_PropagateNcrnaFeats, m_PropagateNcrnaFeats, SCreateGeneModelParams::m_TranscribeMrna, m_TranscribeMrna, SCreateGeneModelParams::m_TranslateCds, and m_TranslateCds.
|
virtual |
Definition at line 233 of file create_gene_model_params_panel.cpp.
References SCreateGeneModelParams::m_CreateCds, m_CreateCds, SCreateGeneModelParams::m_CreateGene, m_CreateGene, SCreateGeneModelParams::m_CreateMrna, m_CreateMrna, SCreateGeneModelParams::m_GroupByGeneId, m_GroupByGeneId, m_InputListDirty, m_InputObjects, SCreateGeneModelParams::m_MergeResults, m_MergeToGenome, m_ObjectList, m_Params, SCreateGeneModelParams::m_PropagateLocalIds, m_PropagateLocalIds, SCreateGeneModelParams::m_PropagateNcrnaFeats, m_PropagateNcrnaFeats, SCreateGeneModelParams::m_TranscribeMrna, m_TranscribeMrna, SCreateGeneModelParams::m_TranslateCds, m_TranslateCds, CwxTableListCtrl::SelectAll(), and CObjectListWidget::SetObjects().
Referenced by RestoreDefaults().
|
private |
Definition at line 160 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 156 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 158 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 162 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), OnCreateGeneClick(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 185 of file create_gene_model_params_panel.hpp.
Referenced by TransferDataToWindow().
|
private |
Definition at line 183 of file create_gene_model_params_panel.hpp.
Referenced by SetParams(), and TransferDataToWindow().
|
private |
Definition at line 163 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 155 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), LoadSettings(), SaveSettings(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 166 of file create_gene_model_params_panel.hpp.
Referenced by Init(), RestoreDefaults(), SetParams(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 164 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 157 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 187 of file create_gene_model_params_panel.hpp.
Referenced by LoadSettings(), SaveSettings(), and SetRegistryPath().
|
private |
Definition at line 159 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), OnCreateMrnaClick(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 161 of file create_gene_model_params_panel.hpp.
Referenced by CreateControls(), Init(), OnCreateCdsClick(), TransferDataFromWindow(), and TransferDataToWindow().