NCBI C++ ToolKit
|
Search Toolkit Book for UpdateViewerWindow
#include "update_viewer_window.hpp"
(Private to src/app/cn3d
.)
Private Types | |
enum | { MID_DELETE_ALL_BLOCKS = START_VIEWER_WINDOW_DERIVED_MID , MID_DELETE_BLOCKS_ALL_ROWS , MID_SORT_UPDATES , MID_SORT_UPDATES_IDENTIFIER , MID_SORT_UPDATES_PSSM , MID_IMPORT_SEQUENCES , MID_IMPORT_STRUCTURE , MID_THREAD_ONE , MID_THREAD_ALL , MID_BLAST_ONE , MID_BLAST_PSSM_ONE , MID_BLAST_NEIGHBOR , MID_BLOCKALIGN_ONE , MID_BLOCKALIGN_ALL , MID_EXTEND_ONE , MID_EXTEND_ALL , MID_SET_REGION , MID_RESET_REGIONS , MID_MERGE_ONE , MID_MERGE_NEIGHBOR , MID_MERGE_ALL , MID_DELETE_ONE , MID_DELETE_ALL } |
Private Member Functions | |
void | OnCloseWindow (wxCloseEvent &event) |
void | OnSortUpdates (wxCommandEvent &event) |
void | OnRunThreader (wxCommandEvent &event) |
void | OnRunBlast (wxCommandEvent &event) |
void | OnBlockAlign (wxCommandEvent &event) |
void | OnExtend (wxCommandEvent &event) |
void | OnSetRegion (wxCommandEvent &event) |
void | OnMerge (wxCommandEvent &event) |
void | OnDelete (wxCommandEvent &event) |
void | OnImport (wxCommandEvent &event) |
void | DeleteAllBlocksOff (void) |
void | ThreadSingleOff (void) |
void | BlastSingleOff (void) |
void | BlastPSSMSingleOff (void) |
void | BlastNeighborSingleOff (void) |
void | BlockAlignSingleOff (void) |
void | ExtendSingleOff (void) |
void | SetRegionOff (void) |
void | MergeSingleOff (void) |
void | MergeNeighborOff (void) |
void | DeleteSingleOff (void) |
SequenceViewerWidget::eMouseMode | GetMouseModeForCreateAndMerge (void) |
Private Attributes | |
UpdateViewer * | updateViewer |
Friends | |
class | SequenceDisplay |
Definition at line 48 of file update_viewer_window.hpp.
|
private |
Definition at line 66 of file update_viewer_window.hpp.
UpdateViewerWindow::UpdateViewerWindow | ( | UpdateViewer * | parentUpdateViewer | ) |
UpdateViewerWindow::~UpdateViewerWindow | ( | void | ) |
Definition at line 142 of file update_viewer_window.cpp.
|
inlineprivate |
Definition at line 123 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_NEIGHBOR.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inlineprivate |
Definition at line 118 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_PSSM_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inlineprivate |
Definition at line 113 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inlineprivate |
Definition at line 128 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLOCKALIGN_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnBlockAlign().
|
inlinevirtual |
Reimplemented from ViewerWindowBase.
Definition at line 179 of file update_viewer_window.hpp.
References BlastNeighborSingleOff(), BlastPSSMSingleOff(), BlastSingleOff(), BlockAlignSingleOff(), DeleteAllBlocksOff(), DeleteSingleOff(), DoBlastNeighborSingle(), DoBlastPSSMSingle(), DoBlastSingle(), DoBlockAlignSingle(), DoDeleteAllBlocks(), DoDeleteSingle(), DoExtendSingle(), DoMergeNeighbor(), DoMergeSingle(), DoSetRegion(), DoThreadSingle(), ExtendSingleOff(), MergeNeighborOff(), MergeSingleOff(), MID_BLAST_NEIGHBOR, MID_BLAST_ONE, MID_BLAST_PSSM_ONE, MID_BLOCKALIGN_ONE, MID_DELETE_ALL_BLOCKS, MID_DELETE_ONE, MID_EXTEND_ONE, MID_MERGE_NEIGHBOR, MID_MERGE_ONE, MID_SET_REGION, MID_THREAD_ONE, SetRegionOff(), and ThreadSingleOff().
|
inlineprivate |
Definition at line 103 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_DELETE_ALL_BLOCKS.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnDelete().
|
inlineprivate |
Definition at line 153 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_DELETE_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnDelete().
|
inline |
Definition at line 171 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_NEIGHBOR.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inline |
Definition at line 170 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_PSSM_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inline |
Definition at line 169 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLAST_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunBlast().
|
inline |
Definition at line 172 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_BLOCKALIGN_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnBlockAlign().
|
inline |
Definition at line 167 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_DELETE_ALL_BLOCKS.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnDelete().
|
inline |
Definition at line 177 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_DELETE_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnDelete().
|
inline |
Definition at line 173 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_EXTEND_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnExtend().
|
inline |
Definition at line 176 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_MERGE_NEIGHBOR.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnMerge().
|
inline |
Definition at line 175 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_MERGE_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnMerge().
|
inline |
Definition at line 174 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_SET_REGION.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnSetRegion().
|
inline |
Definition at line 168 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_THREAD_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunThreader().
|
virtual |
Reimplemented from ViewerWindowBase.
Definition at line 166 of file update_viewer_window.cpp.
|
inlineprivate |
Definition at line 133 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_EXTEND_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnExtend().
|
inlineprivatevirtual |
Implements ViewerWindowBase.
Definition at line 159 of file update_viewer_window.hpp.
References SequenceViewerWidget::eSelectRectangle.
|
inlineprivate |
Definition at line 148 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_MERGE_NEIGHBOR.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnMerge().
|
inlineprivate |
Definition at line 143 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_MERGE_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnMerge().
|
private |
Definition at line 365 of file update_viewer_window.cpp.
References ViewerBase::alignmentManager, AlignmentManager::BlockAlignAllUpdates(), BlockAlignSingleOff(), ViewerWindowBase::CancelAllSpecialModesExcept(), DoBlockAlignSingle(), MID_BLOCKALIGN_ALL, MID_BLOCKALIGN_ONE, and updateViewer.
|
private |
Definition at line 146 of file update_viewer_window.cpp.
References GlobalMessenger(), ViewerBase::GUIDestroyed(), SaveDialog(), Messenger::UnPostRedrawSequenceViewer(), and ViewerWindowBase::viewer.
|
private |
Definition at line 239 of file update_viewer_window.cpp.
References ViewerWindowBase::CancelAllSpecialModesExcept(), BlockMultipleAlignment::Clone(), BlockMultipleAlignment::DeleteAllBlocks(), DeleteAllBlocksOff(), DeleteSingleOff(), DoDeleteAllBlocks(), DoDeleteSingle(), ctll::empty(), ViewerBase::GetCurrentAlignments(), MID_DELETE_ALL, MID_DELETE_ALL_BLOCKS, MID_DELETE_BLOCKS_ALL_ROWS, MID_DELETE_ONE, UpdateViewer::ReplaceAlignments(), and updateViewer.
|
private |
Definition at line 380 of file update_viewer_window.cpp.
References ViewerBase::alignmentManager, ViewerWindowBase::CancelAllSpecialModesExcept(), DoExtendSingle(), AlignmentManager::ExtendAllUpdates(), ExtendSingleOff(), MID_EXTEND_ALL, MID_EXTEND_ONE, and updateViewer.
|
private |
Definition at line 305 of file update_viewer_window.cpp.
References UpdateViewer::ImportSequences(), UpdateViewer::ImportStructure(), MID_IMPORT_SEQUENCES, MID_IMPORT_STRUCTURE, and updateViewer.
|
private |
Definition at line 208 of file update_viewer_window.cpp.
References ViewerBase::alignmentManager, all, ViewerWindowBase::CancelAllSpecialModesExcept(), DoMergeNeighbor(), DoMergeSingle(), ViewerBase::GetCurrentAlignments(), MergeNeighborOff(), MergeSingleOff(), AlignmentManager::MergeUpdates(), MID_MERGE_ALL, MID_MERGE_NEIGHBOR, MID_MERGE_ONE, and updateViewer.
|
private |
Definition at line 311 of file update_viewer_window.cpp.
References BlastNeighborSingleOff(), BlastPSSMSingleOff(), BlastSingleOff(), ViewerWindowBase::CancelAllSpecialModesExcept(), DoBlastNeighborSingle(), DoBlastPSSMSingle(), DoBlastSingle(), MID_BLAST_NEIGHBOR, MID_BLAST_ONE, and MID_BLAST_PSSM_ONE.
|
private |
Definition at line 170 of file update_viewer_window.cpp.
References ViewerBase::alignmentManager, ViewerWindowBase::CancelAllSpecialModesExcept(), DoThreadSingle(), ERRORMSG, Threader::EstimateNRandomStarts(), ViewerBase::GetCurrentAlignments(), AlignmentManager::GetCurrentMultipleAlignment(), ThreaderOptionsDialog::GetValues(), globalThreaderOptions, MID_THREAD_ALL, MID_THREAD_ONE, ThreaderOptions::nRandomStarts, RaiseLogWindow(), AlignmentManager::ThreadAllUpdates(), ThreadSingleOff(), and updateViewer.
|
private |
Definition at line 346 of file update_viewer_window.cpp.
References a, ViewerWindowBase::CancelAllSpecialModesExcept(), DoSetRegion(), ViewerBase::GetCurrentAlignments(), MID_RESET_REGIONS, MID_SET_REGION, SetRegionOff(), and updateViewer.
|
private |
Definition at line 338 of file update_viewer_window.cpp.
References MID_SORT_UPDATES_IDENTIFIER, MID_SORT_UPDATES_PSSM, UpdateViewer::SortByIdentifier(), UpdateViewer::SortByPSSM(), and updateViewer.
Implements ViewerWindowBase.
Definition at line 278 of file update_viewer_window.cpp.
References ViewerBase::EnableStacks(), ViewerWindowBase::menuBar, ViewerWindowBase::MID_UNDO, NULL, option, ViewerBase::Revert(), UpdateViewer::SaveAlignments(), and updateViewer.
Referenced by OnCloseWindow(), and UpdateViewer::SaveDialog().
|
inlineprivate |
Definition at line 138 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_SET_REGION.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnSetRegion().
|
virtual |
Implements ViewerWindowBase.
Definition at line 161 of file update_viewer_window.cpp.
References GetWorkingTitle(), and SetTitle().
|
inlineprivate |
Definition at line 108 of file update_viewer_window.hpp.
References ViewerWindowBase::menuBar, and MID_THREAD_ONE.
Referenced by CancelDerivedSpecialModesExcept(), SequenceDisplay::MouseDown(), and OnRunThreader().
|
friend |
Definition at line 50 of file update_viewer_window.hpp.
|
private |
Definition at line 63 of file update_viewer_window.hpp.
Referenced by SequenceDisplay::MouseDown(), OnBlockAlign(), OnDelete(), OnExtend(), OnImport(), OnMerge(), OnRunThreader(), OnSetRegion(), OnSortUpdates(), and SaveDialog().