NCBI C++ ToolKit
Public Member Functions | List of all members
ICommandProccessor Class Referenceabstract

Search Toolkit Book for ICommandProccessor

Undo/Redo interface for editing operations. More...

#include <gui/utils/command_processor.hpp>

+ Inheritance diagram for ICommandProccessor:

Public Member Functions

virtual ~ICommandProccessor ()
 
virtual void Execute (IEditCommand *command, wxWindow *window=0)=0
 
virtual bool ExecuteLock ()=0
 
virtual void ExecuteUnlock ()=0
 

Detailed Description

Undo/Redo interface for editing operations.

We associate with every GBench project/document Undo manager object. Implementation of this service holds the list of commands (see IEditCommand). All actual data changing work is supposed to be delegated to IEditCommand::Execute()

See also
IEditObject, IEditCommand

Definition at line 71 of file command_processor.hpp.

Constructor & Destructor Documentation

◆ ~ICommandProccessor()

virtual ICommandProccessor::~ICommandProccessor ( )
inlinevirtual

Definition at line 74 of file command_processor.hpp.

Member Function Documentation

◆ Execute()

virtual void ICommandProccessor::Execute ( IEditCommand command,
wxWindow *  window = 0 
)
pure virtual

Implemented in CUndoManager.

Referenced by CEditingBtnsPanel::AddControlRegion(), CSequenceEditingEventHandler::AddControlRegion(), CEditingBtnsPanel::AddGSet(), CSequenceEditingEventHandler::AddLinkageToGaps(), CEditingBtnsPanel::AddMicrosatellite(), CSequenceEditingEventHandler::AddMicrosatellite(), CSequenceEditingEventHandler::AddNamedrRNA(), CEditingBtnsPanel::AddNamedrRNA12S(), CEditingBtnsPanel::AddNamedrRNA26S(), CEditingBtnsPanel::AddNamedrRNA28S(), CEditingBtnsPanel::AddNamedrRNALarge(), CEditingBtnsPanel::AddNamedrRNASmall(), CSequenceEditingEventHandler::AddSecondary(), CEditingBtnsPanel::AddSet(), CSequenceEditingEventHandler::AddSet(), CEditingBtnsPanel::AddStrainSerotypeToNames(), CSequenceEditingEventHandler::AddStrainSerotypeToNames(), CSequenceEditingEventHandler::AdjustCDSForIntrons(), CSequenceEditingEventHandler::AdjustFeaturesForGaps(), CSequenceEditingEventHandler::AdjustForConsensusSpliceSites(), CSequenceEditingEventHandler::AdjustmRNAForIntrons(), CSequenceEditingEventHandler::AdjustrRNAForIntrons(), CSequenceEditingEventHandler::AdjusttRNAForIntrons(), CSequenceEditingEventHandler::AppendModToOrg(), CItem::apply(), CAddSequences::apply(), CConvertRptUnitRangeToLoc::apply(), CRemAllProtTitles::apply(), CRemProtTitles::apply(), CRemoveBankitComment::apply(), CRemoveGenomeProjectsDB::apply(), CRemoveStructuredComment::apply(), CChangeStructuredCommentKeyword::apply(), CUpdateReplacedECNumbers::apply(), CRevCompSequencesDlg::apply(), CRemoveSeqAnnot::apply(), CConvertComment::apply(), CTrimN::apply(), CCreateProteinId::apply(), CCreateLocusTagGene::apply(), CGroupExplode::apply(), CMRnaForCDS::apply(), CRetranslateCDS::apply(), CAddFluComments::Apply(), CRemoveUnnecessaryExceptions::apply(), CModifyStructuredComment::apply(), CReorderStructuredComment::apply(), CAddCitSubForUpdate::apply(), CAssignFeatureId::apply(), CClearFeatureId::apply(), CReassignFeatureId::apply(), CUniqifyFeatureId::apply(), CRawSeqToDeltaByN::apply(), CRemoveUnverified::apply(), CLabelRna::apply(), CUpdateAlign::apply(), CGAssemblyOtherPanel::ApplyCommand(), CGAssemblyPanel::ApplyCommand(), COrgAdvancedPanel::ApplyCommand(), COrgGeneralPanel::ApplyCommand(), CPubStatusPanel::ApplyCommand(), CSeqSubChromoPanel::ApplyCommand(), CSeqSubOrganellePanel::ApplyCommand(), CSeqSubPlasmidPanel::ApplyCommand(), CEditingBtnsPanel::ApplyDbxrefs(), CGeneralPanel::ApplyDescriptorCommand(), CSequenceEditingEventHandler::ApplyFBOL(), CSubmissionWizard::ApplySubmitCommand(), CMiscSeqTable::ApplyTableToEntry(), CExtendPartialFeatDlg::ApplyToAllAndDie(), CConvertCdsToMiscFeat::ApplyToAllAndDie(), CSequenceEditingEventHandler::Autodef(), CEditingBtnsPanel::AutodefDefaultOptions(), CEditingBtnsPanel::AutodefId(), CEditingBtnsPanel::AutodefMisc(), CEditingBtnsPanel::AutodefNoMods(), CEditingBtnsPanel::AutodefOptions(), CEditingBtnsPanel::AutodefPopset(), CEditingBtnsPanel::AutodefRefresh(), CSequenceEditingEventHandler::BulkApplyGenCode(), CSequenceEditingEventHandler::BulkCdsEdit(), CEditingBtnsPanel::BulkEdit(), CSequenceEditingEventHandler::BulkEdit(), CEditingBtnsPanel::BulkEditCDS(), CEditingBtnsPanel::BulkEditMiscFeat(), CEditingBtnsPanel::BulkEditRNA(), CEditingBtnsPanel::BulkGeneEdit(), CSequenceEditingEventHandler::BulkGeneEdit(), CSequenceEditingEventHandler::BulkMiscFeatEdit(), CSequenceEditingEventHandler::BulkRnaEdit(), CSequenceEditingEventHandler::CDSGeneRangeErrorRestore(), CSequenceEditingEventHandler::CDSGeneRangeErrorSuppress(), CSequenceEditingEventHandler::ChangeToGenomicDna(), CSequenceEditingEventHandler::CheckForMixedStrands(), CSequenceEditingEventHandler::ClearKeywords(), CSequenceEditingEventHandler::ClearNomenclature(), CSubPrep_panel::ClearSeqTechValues(), CSequenceEditingEventHandler::CombineAdjacentGaps(), CSequenceEditingEventHandler::CombineSelectedGenesIntoPseudogenes(), CmRNACDSLinker::CompleteHalfFormedXrefPairs(), CSequenceEditingEventHandler::ConsolidateLikeModsWithoutSemicolon(), CSequenceEditingEventHandler::ConsolidateLikeModsWithSemicolon(), CSequenceEditingEventHandler::ConvertAccessionToLocalIdsAll(), CSequenceEditingEventHandler::ConvertAccessionToLocalIdsName(), CSequenceEditingEventHandler::ConvertAccessionToLocalIdsNuc(), CSequenceEditingEventHandler::ConvertAccessionToLocalIdsProt(), CSequenceEditingEventHandler::ConvertAuthorToConsortiumAll(), CSequenceEditingEventHandler::ConvertAuthorToConstortiumWhereLastName(), CSequenceEditingEventHandler::ConvertBadCdsAndRnaToMiscFeat(), CSequenceEditingEventHandler::ConvertBadInference(), CSequenceEditingEventHandler::ConvertDescToFeatComment(), CSequenceEditingEventHandler::ConvertDescToFeatPub(), CSequenceEditingEventHandler::ConvertDescToFeatPubConstraint(), CSequenceEditingEventHandler::ConvertDescToFeatSource(), CSequenceEditingEventHandler::ConvertDescToSecondProtName(), CSequenceEditingEventHandler::ConvertFeatToDescComment(), CSequenceEditingEventHandler::ConvertFeatToDescPub(), CSequenceEditingEventHandler::ConvertFeatToDescSource(), CSequenceEditingEventHandler::ConvertGapsBySize(), CSequenceEditingEventHandler::ConvertSecondProtNameToDesc(), CSequenceEditingEventHandler::ConvertSelectedGapsToKnown(), CSequenceEditingEventHandler::ConvertSelectedGapsToUnknown(), CSequenceEditingEventHandler::ConvertSetType(), CSequenceEditingEventHandler::ConvertToDelayedGenProdSetQuals(), CSequenceEditingEventHandler::CountryConflict(), CSequenceEditingEventHandler::CountryFixupCap(), CSequenceEditingEventHandler::CountryFixupNoCap(), CSequenceEditingEventHandler::CreateSeqHistForTpa(), CSequenceEditingEventHandler::CreateSeqHistForTpaDetailed(), CSequenceEditingEventHandler::CreateSeqSubmit(), CSequenceEditingEventHandler::DeleteSpecificStructuredComment(), CRawSeqToDeltaByN::DeltaSeqToRaw(), CSequenceEditingEventHandler::DescriptorPropagateDown(), CSequenceEditingEventHandler::DisableStrainForwarding(), CEditingBtnsPanel::ECNumberCleanup(), CSequenceEditingEventHandler::EditCdsFrame(), CSequenceEditingEventHandler::EditHistory(), CSequenceEditingEventHandler::EditSelectedGaps(), CSequenceEditingEventHandler::EditSeqEndsWithAlign(), CSequenceEditingEventHandler::EditSeqId(), CSequenceEditingEventHandler::EditSequenceEnds(), CSequenceEditingEventHandler::EditStructuredCommentPrefixSuffix(), CSequenceEditingEventHandler::EnableHupId(), CSequenceEditingEventHandler::EnableStrainForwarding(), CBulkCmdDlg::ExecuteCmd(), CFixForTransSplicing::ExecuteCmd(), CSequenceEditingEventHandler::ExpandGaps(), CSequenceEditingEventHandler::ExplodeRNAFeats(), CSequenceEditingEventHandler::ExtendCDS(), CSequenceEditingEventHandler::FarPointerSeq(), CSequenceEditingEventHandler::FixCapitalizationAffiliation(), CSequenceEditingEventHandler::FixCapitalizationAll(), CSequenceEditingEventHandler::FixCapitalizationAuthors(), CSequenceEditingEventHandler::FixCapitalizationCountry(), CSequenceEditingEventHandler::FixCapitalizationTitles(), CSequenceEditingEventHandler::FixiInPrimerSeqs(), CSequenceEditingEventHandler::FixNonReciprocalLinks(), CSequenceEditingEventHandler::FixOrgModInstitution(), CSequenceEditingEventHandler::FixProductNamesDefault(), CSequenceEditingEventHandler::FixProductNamesOptions(), CSequenceEditingEventHandler::FixStructuredVouchers(), CEditingBtnsPanel::FixupOrganismNames(), CSequenceEditingEventHandler::FixupOrganismNames(), CSequenceEditingEventHandler::FixUsaAndStates(), CSequenceEditingEventHandler::FuseJoinsInLocs(), CSequenceEditingEventHandler::GeneFeatFromXrefs(), CSequenceEditingEventHandler::GeneralToLocalId(), CSequenceEditingEventHandler::GeneXrefsFromFeats(), CSequenceEditingEventHandler::GenusSpeciesFixup(), CSequenceEditingEventHandler::GlobalPubmedIdLookup(), handler_eErr_SEQ_FEAT_GenCodeMismatch(), handler_eErr_SEQ_INST_HistAssemblyMissing(), handler_eErr_SEQ_INST_HistoryGiCollision(), handler_eErr_SEQ_PKG_OrphanedProtein(), CWrongIllegalQuals::IllegalQualsToNote(), CEditingBtnsPanel::ImportFeatureTable(), CSequenceEditingEventHandler::ImportFeatureTable(), CEditingBtnsPanel::ImportFeatureTableClipboard(), CSequenceEditingEventHandler::ImportFeatureTableClipboard(), CSubPrep_panel::ImportFeatureTableFile(), CSequenceEditingEventHandler::ImportGFF3(), CSubmissionWizard::ImportTemplate(), CSequenceEditingEventHandler::JustRemoveProteins(), CSequenceEditingEventHandler::LatLonTool(), CSubPrep_panel::LaunchSourceEditor(), CmRNACDSLinker::LinkByLabel(), CmRNACDSLinker::LinkByLabelAndLocation(), CmRNACDSLinker::LinkByOverlap(), CmRNACDSLinker::LinkByProduct(), CSequenceEditingEventHandler::LinkmRNACDS(), CmRNACDSLinker::LinkSelectedFeatures(), CSequenceEditingEventHandler::LoadSecondaryAccessions(), CSequenceEditingEventHandler::LoadSecondaryAccessionsHistoryTakeover(), CSequenceEditingEventHandler::LoadStructComments(), CSequenceEditingEventHandler::LocalToGeneralId(), CSequenceEditingEventHandler::MergeBiosources(), CSequenceEditingEventHandler::MergePrimerSets(), CSequenceEditingEventHandler::MolInfoEdit(), CEditingBtnsPanel::MolInfoEdit(), CSequenceEditingEventHandler::NormalizeGeneQuals(), OfferToDeleteDescriptor(), CSegregateSets::OnAccept(), CBarcodeTool::OnAddKeyword(), CEditingBtnsPanel::OnAddrRNA16S(), CEditingBtnsPanel::OnAddrRNA18S(), CEditingBtnsPanel::OnAddrRNA23S(), CSubPrep_panel::OnAddSequenceBtnClick(), CEditingBtnsPanel::OnAppendModToOrg(), CRestoreRNAediting::OnApply(), CUnculTaxTool::OnApply(), CAddFeatureBetweenDlg::OnApplyButton(), CBulkFeatureAddDlgStd::OnApplyClick(), CBarcodeTool::OnApplyDbxrefs(), CSuspectProductRulesEditor::OnApplyFixes(), CDiscrepancyPanel::OnAutofix(), CVirusMoleculeQuestionsPanel::OnCdnaFromGenomicSelected(), CVirusMoleculeQuestionsPanel::OnCdnaFromMrnaSelected(), CSubPrep_panel::OnChangeSet(), CSubPrepFieldEditor::OnClearValues(), CCompareWithBiosample::OnClickOk(), CEditingBtnsPanel::OnCountryFixupCap(), CEditingBtnsPanel::OnCountryFixupNoCap(), CDesktopViewContext::OnCutSelection(), CDiscrepancyPanel::OnDblClk(), CBioseqEditor::OnDeleteBiosourceFeat(), CBioseqEditor::OnDeleteSelection(), CEditingBtnsPanel::OnFixCapitalizationAffiliation(), CEditingBtnsPanel::OnFixCapitalizationAll(), CEditingBtnsPanel::OnFixCapitalizationAuthors(), CEditingBtnsPanel::OnFixCapitalizationTitles(), CEditingBtnsPanel::OnFixiInPrimerSeqs(), CEditingBtnsPanel::OnFixOrgModInstitution(), CApplyRNAITSDlg::OnGoClick(), CSubAnnotationPanel::OnImportFeatTableClick(), CFixForTransSplicing::OnListItemActivated(), CClickableSortUniqueCount::OnListItemActivated(), CValidatePanel::OnListItemRightClick(), CSubPrep_panel::OnLookupTaxonomyClick(), CEditingBtnsPanel::OnMergePrimerSets(), CChimeraPanel::OnNoSelected(), CEditObjViewDlg::OnOkClick(), CEditObjViewDlgModal::OnOkClick(), CEditingBtnsPanel::OnParseCollectionDateDayFirst(), CEditingBtnsPanel::OnParseCollectionDateMonthFirst(), CDesktopViewContext::OnPasteSelection(), CEditMacroDlg::OnPrintClick(), CEditMacroDlg::OnPrintParallelClick(), CVirusMoleculeQuestionsPanel::OnPurifiedSelected(), CEditingBtnsPanel::OnRemoveAuthorConsortiums(), CEditingBtnsPanel::OnRemoveDefLines(), CEditingBtnsPanel::OnRemoveDescriptors(), CBarcodeTool::OnRemoveKeyword(), CEditingBtnsPanel::OnRemoveSequences(), CSubPrep_panel::OnRemoveSequencesClick(), CEditingBtnsPanel::OnRemoveUnpublishedPublications(), CSubPrep_panel::OnReorderSeqClick(), CEditingBtnsPanel::OnReorderSequences(), CAuthorNamesPanel::OnReplaceAllAuthors(), CFindASN1Dlg::OnReplaceButton(), CAuthorNamesPanel::OnReplaceSameAuthors(), CEditingBtnsPanel::OnReverseAuthorNamesClick(), CEditMacroDlg::OnRunClick(), CPhyTreeView::OnSomethingEdited(), CEditingBtnsPanel::OnSplitPrimerSets(), CEditingBtnsPanel::OnStripAuthorSuffixes(), CEditingBtnsPanel::OnSwapPrimerSeqName(), CClickableSortUniqueCount::OnTreeItemActivated(), CVirusMoleculeQuestionsPanel::OnWholeCellSelected(), CChimeraPanel::OnYesSelected(), CSequenceEditingEventHandler::PackageFeaturesOnParts(), CSequenceEditingEventHandler::ParseCollectionDateDayFirst(), CSequenceEditingEventHandler::ParseCollectionDateMonthFirst(), CEditingBtnsPanel::ParseStrainSerotypeFromNames(), CSequenceEditingEventHandler::ParseStrainSerotypeFromNames(), CEditingBtnsPanel::PrefixCloneToDefLine(), CEditingBtnsPanel::PrefixCultivarToDefLine(), CSequenceEditingEventHandler::PrefixDefLines(), CEditingBtnsPanel::PrefixHaplotToDefLine(), CEditingBtnsPanel::PrefixIsolateToDefLine(), CEditingBtnsPanel::PrefixListToDefLine(), CEditingBtnsPanel::PrefixOrgToDefLine(), CEditingBtnsPanel::PrefixStrainToDefLine(), CSequenceEditingEventHandler::PrepareSeqSubmit(), CSequenceEditingEventHandler::PropagateDBLink(), CEditingBtnsPanel::PT_Cleanup(), CSequenceEditingEventHandler::PT_Cleanup(), CSequenceEditingEventHandler::RawSeqToDeltaByAssemblyGapFeatures(), CSequenceEditingEventHandler::RawSeqToDeltaByLoc(), CSequenceEditingEventHandler::RecomputeIntervals(), CSequenceEditingEventHandler::RecomputeIntervalsAndUpdateGenes(), CRemoveSet::remove_set(), CRemoveSet::remove_sets_from_set(), CSubPrep_panel::RemoveAllFeatures(), CRemoveFeaturesDlg::RemoveAllFeatures(), CSequenceEditingEventHandler::RemoveAllGeneXrefs(), CSequenceEditingEventHandler::RemoveAllPublications(), CSequenceEditingEventHandler::RemoveAuthorConsortiums(), CSequenceEditingEventHandler::RemoveCollidingPublications(), CRemoveFeaturesDlg::RemoveDuplicateFeatures(), CSequenceEditingEventHandler::RemoveDuplicateGoTerms(), CSequenceEditingEventHandler::RemoveGenbankSeqIdsFromAll(), CSequenceEditingEventHandler::RemoveGenbankSeqIdsFromProt(), CSequenceEditingEventHandler::RemoveGeneralId(), CSequenceEditingEventHandler::RemoveGiSeqIdsFromAll(), CSequenceEditingEventHandler::RemoveInPressPublications(), CSequenceEditingEventHandler::RemoveLocalSeqIdsFromAll(), CSequenceEditingEventHandler::RemoveLocalSeqIdsFromNuc(), CSequenceEditingEventHandler::RemoveLocalSeqIdsFromProt(), CSequenceEditingEventHandler::RemoveNonsuppressingGeneXrefs(), CSequenceEditingEventHandler::RemoveOrphanedProteins(), CSequenceEditingEventHandler::RemoveOrphanLocus_tagGeneXrefs(), CSequenceEditingEventHandler::RemoveOrphanLocusGeneXrefs(), CSequenceEditingEventHandler::RemoveProteinsAndRenormalizeNucProtSets(), CSequenceEditingEventHandler::RemovePublishedPublications(), CSequenceEditingEventHandler::RemoveSegGaps(), CSequenceEditingEventHandler::RemoveSeqHistAssembly(), CSequenceEditingEventHandler::RemoveSeqIdNamesFromProtFeats(), RemoveSequence(), CSequenceEditingEventHandler::RemoveSequences(), CSequenceEditingEventHandler::RemoveSequencesFromAlignments(), CEditingBtnsPanel::RemoveSrcNotes(), CSequenceEditingEventHandler::RemoveUnindexedFeatures(), CSequenceEditingEventHandler::RemoveUnnecessaryGeneXrefs(), CSequenceEditingEventHandler::RemoveUnpublishedPublications(), CEditingBtnsPanel::RemoveUnreviewed(), CSequenceEditingEventHandler::RemoveUnreviewed(), CSequenceEditingEventHandler::ReorderSeqById(), CSequenceEditingEventHandler::ResynchronizePartials(), CSequenceEditingEventHandler::RevCompSequences(), CSequenceEditingEventHandler::ReverseAuthorNames(), CRemoveDbXrefsBioSource::rm_dbxref_from_biosource(), CRemoveDbXrefsBioSourceAndFeats::rm_dbxref_from_biosource_and_feats(), CRemoveDbXrefsFeats::rm_dbxref_from_feat(), CRemoveTaxonFeats::rm_taxon_from_feats(), CRemoveTaxonFeatsAndBioSource::rm_taxon_from_feats_and_biosource(), CEditingBtnsPanel::RmCultureNotes(), CSequenceEditingEventHandler::RmCultureNotes(), CWrongIllegalQuals::RmIllegalQuals(), CWrongIllegalQuals::RmWrongOrIllegalQuals(), CWrongIllegalQuals::RmWrongQuals(), CEditingBtnsPanel::rRNAtoDNA(), CTableReaderMacro::RunMacro(), CMacroFlowEditor::RunScriptInWidget(), CSubmissionWizard::SaveFile(), CSequenceEditingEventHandler::SetGlobalRefGeneStatus(), CSubPrep_panel::SetSourceType(), CSequenceEditingEventHandler::SetTopLevelBioseqSetClass(), CwxGridTableAdapter::SetValue(), CwxGridTableAdapter::SetValueAsDouble(), CwxGridTableAdapter::SetValueAsLong(), CSubPrep_panel::SetWizardType(), CSequenceEditingEventHandler::SpecificHostCleanup(), CSequenceEditingEventHandler::SplitCDSwithTooManyXs(), CSequenceEditingEventHandler::SplitPrimerSets(), CEditingBtnsPanel::SplitQualifiersAtCommas(), CSequenceEditingEventHandler::SplitQualifiersAtCommas(), CEditingBtnsPanel::SplitStructuredCollections(), CSequenceEditingEventHandler::SplitStructuredCollections(), CEditingBtnsPanel::StrainToSp(), CSequenceEditingEventHandler::StripAuthorSuffixes(), CSequenceEditingEventHandler::SwapPrimerSeqName(), CEditingBtnsPanel::TaxFixCleanup(), CSequenceEditingEventHandler::TaxFixCleanup(), CSequenceEditingEventHandler::TrimJunkInPrimerSeqs(), CEditingBtnsPanel::TrimOrganismNames(), CSequenceEditingEventHandler::TrimOrganismNames(), CSequenceEditingEventHandler::TruncateAuthorMiddleInitials(), CSequenceEditingEventHandler::TruncateCDS(), CSeqUpdateWorker::UpdateMultipleSequences(), CSubPrep_panel::UpdateSubmitBlock(), CSequenceEditingEventHandler::WithdrawSequences(), CWrongIllegalQuals::WrongQualsToNote(), CBioseqEditor::x_DeleteObject(), CAlignmentAssistant::x_ExecuteCommand(), CEditSequence::x_ExecuteCommand(), CMacroWorker::x_HandleOutput(), CSeqUpdateWorker::x_LaunchSingleUpdateSequence(), CCreateGeneModelTask::x_Run(), CSubPrepFieldEditor::x_SetOneValue(), and CVectorTrimPanel::x_TrimSelected().

◆ ExecuteLock()

virtual bool ICommandProccessor::ExecuteLock ( )
pure virtual

Implemented in CUndoManager.

◆ ExecuteUnlock()

virtual void ICommandProccessor::ExecuteUnlock ( )
pure virtual

Implemented in CUndoManager.


The documentation for this class was generated from the following file:
Modified on Sun Apr 14 05:25:47 2024 by modify_doxy.py rev. 669887