NCBI C++ ToolKit
|
Search Toolkit Book for CBulkCmdDlg
#include <gui/packages/pkg_sequence_edit/bulk_cmd_dlg.hpp>
Public Member Functions | |
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 CRef< CCmdComposite > | GetCommand ()=0 |
virtual string | GetErrorMessage ()=0 |
virtual void | OnChildChange (wxWindow *wnd) |
virtual void | ExecuteCmd (CRef< CCmdComposite > cmd) |
bool | GetTopLevelSeqEntryAndProcessor () |
TConstScopedObjects | GetSelectedObjects () |
void | UpdateChildrenFeaturePanels (wxSizer *sizer) |
void | onCancelPressed (wxCommandEvent &event) |
Protected Member Functions | |
edit::EExistingText | x_GetExistingTextHandling (int num_conflicts, bool allow_multiple=false) |
Protected Attributes | |
IWorkbench * | m_Workbench |
ICommandProccessor * | m_CmdProccessor |
objects::CSeq_entry_Handle | m_TopSeqEntry |
CConstRef< objects::CSeq_submit > | m_SeqSubmit |
string | m_ErrorMessage |
CBulkCmdPanel class declaration
Definition at line 51 of file bulk_cmd_dlg.hpp.
|
inline |
Constructors.
Definition at line 57 of file bulk_cmd_dlg.hpp.
|
inline |
Definition at line 58 of file bulk_cmd_dlg.hpp.
|
inline |
Destructor.
Definition at line 63 of file bulk_cmd_dlg.hpp.
bool CBulkCmdDlg::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 |
||
) |
Definition at line 82 of file bulk_cmd_dlg.cpp.
References m_Workbench, and ncbi::grid::netcache::search::fields::size.
bool CBulkCmdDlg::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 |
||
) |
Definition at line 68 of file bulk_cmd_dlg.cpp.
References ncbi::grid::netcache::search::fields::size.
Referenced by CBulkEditFeatDlg::Create(), CAECRFrame::Create(), CParseTextDlg::Create(), CAddFeatureBetweenDlg::Create(), CBulkFeatureAddDlgStd::Create(), CAddTranslExceptDlg::Create(), CBulkMolinfoEditDlg::Create(), CTblEditDlg::Create(), CConvertCdsToMiscFeat::Create(), CConvertFeatDlg::Create(), CLowerQuals::Create(), CRemoveTextInsideStrDlg::Create(), CAddDefLineDlg::Create(), CAddGlobalCodeBreak::Create(), CExtendPartialFeatDlg::Create(), CExtendCDSToStop::Create(), CCorrectRNAStrandDlg::Create(), CApplyRNAITSDlg::Create(), CGeneFeatFromOtherFeatDlg::Create(), CCorrectGenesDialog::Create(), CCdsFromGeneMrnaExon::Create(), CmRNAFromGeneCdsExon::Create(), CCdsToMatPeptide::Create(), CApplyIndexerComments::Create(), CCorrectIntervalOrder::Create(), CFuseFeaturesDlg::Create(), CRmDupFeaturesDlg::Create(), CRemoveFeaturesDlg::Create(), CResolveIntersectingFeats::Create(), CRemoveGeneXrefs::Create(), CSuppressGenes::Create(), CUpdateTLSNameDlg::Create(), CConvertCdsWithGapsToMiscFeat::Create(), CEditPubDlg::Create(), CExonFromCds::Create(), CFixForTransSplicing::Create(), and CtRNAFromGene::Create().
|
virtual |
Reimplemented in CFixForTransSplicing.
Definition at line 140 of file bulk_cmd_dlg.cpp.
References cmd, ICommandProccessor::Execute(), and m_CmdProccessor.
Referenced by COkCancelPanel::OnAcceptBtnClick(), CCorrectRNAStrandDlg::OnAutocorrectStrandBtnClick(), and CAECRFrame::OnKeyDown().
|
pure virtual |
Implemented in CUpdateTLSNameDlg, CtRNAFromGene, CTblEditDlg, CSuppressGenes, CSeqTechDlg, CResolveIntersectingFeats, CRemoveTextInsideStrDlg, CRemoveGeneXrefs, CRemoveFeaturesDlg, CRmDupFeaturesDlg, CParseTextDlg, CmRNAFromGeneCdsExon, CLowerQuals, CGeneFeatFromOtherFeatDlg, CFuseFeaturesDlg, CFixForTransSplicing, CExtendPartialFeatDlg, CExtendCDSToStop, CExonFromCds, CEditPubDlg, CCorrectRNAStrandDlg, CCorrectIntervalOrder, CCorrectGenesDialog, CConvertFeatDlg, CConvertCdsWithGapsToMiscFeat, CConvertCdsToMiscFeat, CCdsToMatPeptide, CCdsFromGeneMrnaExon, CBulkMolinfoEditDlg, CBulkFeatureAddDlgStd, CBulkEditFeatDlg, CApplyRNAITSDlg, CApplyIndexerComments, CAECRFrame, CAddTranslExceptDlg, CAddGlobalCodeBreak, CAddFeatureBetweenDlg, and CAddDefLineDlg.
Referenced by COkCancelPanel::OnAcceptBtnClick().
|
pure virtual |
Implemented in CUpdateTLSNameDlg, CtRNAFromGene, CTblEditDlg, CSuppressGenes, CSeqTechDlg, CResolveIntersectingFeats, CRemoveTextInsideStrDlg, CRemoveGeneXrefs, CRemoveFeaturesDlg, CRmDupFeaturesDlg, CParseTextDlg, CmRNAFromGeneCdsExon, CLowerQuals, CGeneFeatFromOtherFeatDlg, CFuseFeaturesDlg, CFixForTransSplicing, CExtendPartialFeatDlg, CExtendCDSToStop, CExonFromCds, CEditPubDlg, CCorrectRNAStrandDlg, CCorrectIntervalOrder, CCorrectGenesDialog, CConvertFeatDlg, CConvertCdsWithGapsToMiscFeat, CConvertCdsToMiscFeat, CCdsToMatPeptide, CCdsFromGeneMrnaExon, CBulkMolinfoEditDlg, CBulkFeatureAddDlgStd, CBulkEditFeatDlg, CApplyRNAITSDlg, CApplyIndexerComments, CAECRFrame, CAddTranslExceptDlg, CAddGlobalCodeBreak, CAddFeatureBetweenDlg, and CAddDefLineDlg.
Referenced by COkCancelPanel::OnAcceptBtnClick().
TConstScopedObjects CBulkCmdDlg::GetSelectedObjects | ( | ) |
Definition at line 145 of file bulk_cmd_dlg.cpp.
References IServiceLocator::GetServiceByType(), GetViewObjects(), and m_Workbench.
Referenced by CApplyRNAITSDlg::GetCommand(), and CConvertFeatDlg::GetCommand().
bool CBulkCmdDlg::GetTopLevelSeqEntryAndProcessor | ( | ) |
Definition at line 97 of file bulk_cmd_dlg.cpp.
References IServiceLocator::GetServiceByType(), GetTopSeqEntryFromScopedObject(), CGBDocument::GetUndoManager(), GetViewObjects(), m_CmdProccessor, m_SeqSubmit, m_TopSeqEntry, m_Workbench, NON_CONST_ITERATE, NULL, and CConstRef< C, Locker >::Reset().
Referenced by CExtendPartialFeatDlg::ApplyToAllAndDie(), CConvertCdsToMiscFeat::ApplyToAllAndDie(), CAECRFrame::CreateControls(), CApplyRNAITSDlg::CreateControls(), CBulkEditFeatDlg::CreateControls(), CCdsFromGeneMrnaExon::CreateControls(), CCdsToMatPeptide::CreateControls(), CConvertCdsToMiscFeat::CreateControls(), CConvertFeatDlg::CreateControls(), CCorrectGenesDialog::CreateControls(), CEditPubDlg::CreateControls(), CExonFromCds::CreateControls(), CExtendPartialFeatDlg::CreateControls(), CGeneFeatFromOtherFeatDlg::CreateControls(), CLowerQuals::CreateControls(), CmRNAFromGeneCdsExon::CreateControls(), CParseTextDlg::CreateControls(), CtRNAFromGene::CreateControls(), CAECRFrame::GetCommand(), CApplyRNAITSDlg::GetCommand(), CParseTextDlg::GetCommand(), CAECRFrame::GetTopSeqEntryHandle(), CAddGlobalCodeBreak::Init(), CCorrectIntervalOrder::Init(), CExtendCDSToStop::Init(), CFixForTransSplicing::Init(), CRemoveFeaturesDlg::Init(), CRemoveGeneXrefs::Init(), CSuppressGenes::Init(), COkCancelPanel::OnAcceptBtnClick(), CCorrectRNAStrandDlg::OnAutocorrectStrandBtnClick(), CAECRFrame::OnKeyDown(), UpdateChildrenFeaturePanels(), CBulkEditFeatDlg::UpdateChildrenFeaturePanels(), CParseTextDlg::UpdateChildrenFeaturePanels(), and CCorrectRNAStrandDlg::x_PopulateAccessionList().
void CBulkCmdDlg::onCancelPressed | ( | wxCommandEvent & | event | ) |
Definition at line 92 of file bulk_cmd_dlg.cpp.
|
inlinevirtual |
Definition at line 68 of file bulk_cmd_dlg.hpp.
void CBulkCmdDlg::UpdateChildrenFeaturePanels | ( | wxSizer * | sizer | ) |
Definition at line 164 of file bulk_cmd_dlg.cpp.
References GetTopLevelSeqEntryAndProcessor(), CFeatureTypePanel::ListPresentFeaturesFirst(), m_TopSeqEntry, and n.
Referenced by CConvertCdsToMiscFeat::ProcessUpdateFeatEvent(), CConvertFeatDlg::ProcessUpdateFeatEvent(), CExtendPartialFeatDlg::ProcessUpdateFeatEvent(), CGeneFeatFromOtherFeatDlg::ProcessUpdateFeatEvent(), CLowerQuals::ProcessUpdateFeatEvent(), and CRemoveTextInsideStrDlg::ProcessUpdateFeatEvent().
|
protected |
Definition at line 192 of file bulk_cmd_dlg.cpp.
References CExistingTextDlg::AllowAdditionalQual(), eExistingText_cancel, eExistingText_replace_old, CExistingTextDlg::GetExistingTextHandler(), NStr::NumericToString(), ToWxString(), and wxT.
Referenced by CAddDefLineDlg::GetCommand(), CAECRFrame::GetCommand(), CParseTextDlg::GetCommand(), and CUpdateTLSNameDlg::GetCommand().
|
protected |
Definition at line 76 of file bulk_cmd_dlg.hpp.
Referenced by CExtendPartialFeatDlg::ApplyToAllAndDie(), CConvertCdsToMiscFeat::ApplyToAllAndDie(), ExecuteCmd(), CFixForTransSplicing::ExecuteCmd(), GetTopLevelSeqEntryAndProcessor(), CApplyRNAITSDlg::OnGoClick(), and CFixForTransSplicing::OnListItemActivated().
|
protected |
Definition at line 79 of file bulk_cmd_dlg.hpp.
Referenced by CApplyRNAITSDlg::Apply_RNAITS_ToBioseq(), CAddDefLineDlg::GetCommand(), CApplyRNAITSDlg::GetCommand(), CConvertCdsToMiscFeat::GetCommand(), CConvertCdsWithGapsToMiscFeat::GetCommand(), CConvertFeatDlg::GetCommand(), CCorrectRNAStrandDlg::GetCommand(), CRemoveTextInsideStrDlg::GetCommand(), CUpdateTLSNameDlg::GetCommand(), CAddDefLineDlg::GetErrorMessage(), CApplyIndexerComments::GetErrorMessage(), CApplyRNAITSDlg::GetErrorMessage(), CConvertCdsToMiscFeat::GetErrorMessage(), CConvertCdsWithGapsToMiscFeat::GetErrorMessage(), CConvertFeatDlg::GetErrorMessage(), CCorrectIntervalOrder::GetErrorMessage(), CCorrectRNAStrandDlg::GetErrorMessage(), CLowerQuals::GetErrorMessage(), CRemoveGeneXrefs::GetErrorMessage(), CRemoveTextInsideStrDlg::GetErrorMessage(), CResolveIntersectingFeats::GetErrorMessage(), CSuppressGenes::GetErrorMessage(), CUpdateTLSNameDlg::GetErrorMessage(), CApplyRNAITSDlg::GetRNAITSList_AlignCoordFromDlg(), CCorrectIntervalOrder::Init(), CRemoveFeaturesDlg::Init(), CRemoveGeneXrefs::Init(), and CSuppressGenes::Init().
|
protected |
Definition at line 78 of file bulk_cmd_dlg.hpp.
Referenced by CAECRFrame::GetCommand(), CEditPubDlg::GetCommand(), CEditPubDlg::GetSeqSubmit(), CAECRFrame::GetSeqSubmit(), and GetTopLevelSeqEntryAndProcessor().
|
protected |
Definition at line 77 of file bulk_cmd_dlg.hpp.
Referenced by CApplyRNAITSDlg::Apply_RNAITS_ToTSE(), CFixForTransSplicing::CollectProteinNames(), CCdsToMatPeptide::ConvertEach(), CCdsToMatPeptide::ConvertInner(), CAECRFrame::CreateControls(), CBulkEditFeatDlg::CreateControls(), CConvertCdsToMiscFeat::CreateControls(), CConvertFeatDlg::CreateControls(), CCorrectGenesDialog::CreateControls(), CEditPubDlg::CreateControls(), CExtendPartialFeatDlg::CreateControls(), CFuseFeaturesDlg::CreateControls(), CGeneFeatFromOtherFeatDlg::CreateControls(), CParseTextDlg::CreateControls(), CRmDupFeaturesDlg::CreateControls(), CResolveIntersectingFeats::CreateControls(), CConvertCdsToMiscFeat::DetectStartStopCodons(), CAddDefLineDlg::GetCommand(), CAddGlobalCodeBreak::GetCommand(), CAddTranslExceptDlg::GetCommand(), CAECRFrame::GetCommand(), CApplyIndexerComments::GetCommand(), CApplyRNAITSDlg::GetCommand(), CBulkEditFeatDlg::GetCommand(), CCdsFromGeneMrnaExon::GetCommand(), CConvertCdsToMiscFeat::GetCommand(), CConvertCdsWithGapsToMiscFeat::GetCommand(), CConvertFeatDlg::GetCommand(), CCorrectGenesDialog::GetCommand(), CCorrectIntervalOrder::GetCommand(), CEditPubDlg::GetCommand(), CExonFromCds::GetCommand(), CExtendCDSToStop::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CFixForTransSplicing::GetCommand(), CFuseFeaturesDlg::GetCommand(), CGeneFeatFromOtherFeatDlg::GetCommand(), CLowerQuals::GetCommand(), CmRNAFromGeneCdsExon::GetCommand(), CParseTextDlg::GetCommand(), CRmDupFeaturesDlg::GetCommand(), CRemoveFeaturesDlg::GetCommand(), CRemoveGeneXrefs::GetCommand(), CRemoveTextInsideStrDlg::GetCommand(), CResolveIntersectingFeats::GetCommand(), CSuppressGenes::GetCommand(), CtRNAFromGene::GetCommand(), CEditPubDlg::GetScope(), GetTopLevelSeqEntryAndProcessor(), CEditPubDlg::GetTopSeqEntry(), CAECRFrame::GetTopSeqEntryHandle(), CCorrectIntervalOrder::Init(), CRemoveFeaturesDlg::Init(), CRemoveGeneXrefs::Init(), CSuppressGenes::Init(), CCdsToMatPeptide::MergeConvert(), CFixForTransSplicing::OnListItemSelected(), CFixForTransSplicing::PopulateListBox(), CApplyRNAITSDlg::Propagate_RNAITSList(), UpdateChildrenFeaturePanels(), CCdsFromGeneMrnaExon::UpdateChildrenFeaturePanels(), CCdsToMatPeptide::UpdateChildrenFeaturePanels(), CFuseFeaturesDlg::UpdateChildrenFeaturePanels(), CmRNAFromGeneCdsExon::UpdateChildrenFeaturePanels(), CRmDupFeaturesDlg::UpdateChildrenFeaturePanels(), CResolveIntersectingFeats::UpdateChildrenFeaturePanels(), CtRNAFromGene::UpdateChildrenFeaturePanels(), CBulkEditFeatDlg::UpdateChildrenFeaturePanels(), CParseTextDlg::UpdateChildrenFeaturePanels(), CAECRFrame::UpdateChildrenFeaturePanels(), CUpdateTLSNameDlg::x_CountTLSNameConflicts(), CApplyRNAITSDlg::x_GetAlignments(), CCorrectGenesDialog::x_GetConstrainedList(), CBulkEditFeatDlg::x_IsRefSeq(), CApplyRNAITSDlg::x_IsThereAlignment(), CCorrectRNAStrandDlg::x_PopulateAccessionList(), CCorrectRNAStrandDlg::x_ReverseFeatures(), CApplyRNAITSDlg::x_SeqIdsAlignedWith(), CApplyRNAITSDlg::x_SetupAlnMgr(), and CUpdateTLSNameDlg::x_UpdateAutodefOptions().
|
protected |
Definition at line 75 of file bulk_cmd_dlg.hpp.
Referenced by Create(), CEditPubDlg::CreateControls(), GetSelectedObjects(), CEditPubDlg::GetSelectedPub(), GetTopLevelSeqEntryAndProcessor(), CFixForTransSplicing::Init(), CGeneFeatFromOtherFeatDlg::x_GetSelectedFeats(), CCorrectGenesDialog::x_GetSelectedPair(), and CFixForTransSplicing::~CFixForTransSplicing().