NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CBulkCmdDlg Class Referenceabstract

Search Toolkit Book for CBulkCmdDlg

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

+ Inheritance diagram for CBulkCmdDlg:
+ Collaboration diagram for CBulkCmdDlg:

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< CCmdCompositeGetCommand ()=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

IWorkbenchm_Workbench
 
ICommandProccessorm_CmdProccessor
 
objects::CSeq_entry_Handle m_TopSeqEntry
 
CConstRef< objects::CSeq_submit > m_SeqSubmit
 
string m_ErrorMessage
 

Detailed Description

CBulkCmdPanel class declaration

Definition at line 51 of file bulk_cmd_dlg.hpp.

Constructor & Destructor Documentation

◆ CBulkCmdDlg() [1/2]

CBulkCmdDlg::CBulkCmdDlg ( )
inline

Constructors.

Definition at line 57 of file bulk_cmd_dlg.hpp.

◆ CBulkCmdDlg() [2/2]

CBulkCmdDlg::CBulkCmdDlg ( IWorkbench wb)
inline

Definition at line 58 of file bulk_cmd_dlg.hpp.

◆ ~CBulkCmdDlg()

CBulkCmdDlg::~CBulkCmdDlg ( )
inline

Destructor.

Definition at line 63 of file bulk_cmd_dlg.hpp.

Member Function Documentation

◆ Create() [1/2]

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.

◆ Create() [2/2]

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 
)

◆ ExecuteCmd()

void CBulkCmdDlg::ExecuteCmd ( CRef< CCmdComposite cmd)
virtual

◆ GetCommand()

virtual CRef<CCmdComposite> CBulkCmdDlg::GetCommand ( )
pure virtual

◆ GetErrorMessage()

virtual string CBulkCmdDlg::GetErrorMessage ( )
pure virtual

◆ GetSelectedObjects()

TConstScopedObjects CBulkCmdDlg::GetSelectedObjects ( )

◆ GetTopLevelSeqEntryAndProcessor()

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().

◆ onCancelPressed()

void CBulkCmdDlg::onCancelPressed ( wxCommandEvent &  event)

Definition at line 92 of file bulk_cmd_dlg.cpp.

◆ OnChildChange()

virtual void CBulkCmdDlg::OnChildChange ( wxWindow *  wnd)
inlinevirtual

Definition at line 68 of file bulk_cmd_dlg.hpp.

◆ UpdateChildrenFeaturePanels()

void CBulkCmdDlg::UpdateChildrenFeaturePanels ( wxSizer *  sizer)

◆ x_GetExistingTextHandling()

edit::EExistingText CBulkCmdDlg::x_GetExistingTextHandling ( int  num_conflicts,
bool  allow_multiple = false 
)
protected

Member Data Documentation

◆ m_CmdProccessor

ICommandProccessor* CBulkCmdDlg::m_CmdProccessor
protected

◆ m_ErrorMessage

string CBulkCmdDlg::m_ErrorMessage
protected

◆ m_SeqSubmit

CConstRef<objects::CSeq_submit> CBulkCmdDlg::m_SeqSubmit
protected

◆ m_TopSeqEntry

objects::CSeq_entry_Handle CBulkCmdDlg::m_TopSeqEntry
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().

◆ m_Workbench

IWorkbench* CBulkCmdDlg::m_Workbench
protected

The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:31 2024 by modify_doxy.py rev. 669887