NCBI C++ ToolKit
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
UpdateViewerWindow Class Reference

Search Toolkit Book for UpdateViewerWindow

#include "update_viewer_window.hpp"
(Private to src/app/cn3d.)

+ Inheritance diagram for UpdateViewerWindow:
+ Collaboration diagram for UpdateViewerWindow:

Public Member Functions

 UpdateViewerWindow (UpdateViewer *parentUpdateViewer)
 
 ~UpdateViewerWindow (void)
 
void EnableDerivedEditorMenuItems (bool enabled)
 
bool SaveDialog (bool prompt, bool canCancel)
 
void SetWindowTitle (void)
 
bool DoDeleteAllBlocks (void) const
 
bool DoThreadSingle (void) const
 
bool DoBlastSingle (void) const
 
bool DoBlastPSSMSingle (void) const
 
bool DoBlastNeighborSingle (void) const
 
bool DoBlockAlignSingle (void) const
 
bool DoExtendSingle (void) const
 
bool DoSetRegion (void) const
 
bool DoMergeSingle (void) const
 
bool DoMergeNeighbor (void) const
 
bool DoDeleteSingle (void) const
 
void CancelDerivedSpecialModesExcept (int id)
 
- Public Member Functions inherited from ViewerWindowBase
void NewDisplay (SequenceDisplay *display, bool enableSelectByColumn)
 
void UpdateDisplay (SequenceDisplay *display)
 
void ScrollToColumn (int column)
 
void ScrollToRow (int row)
 
void MakeCellVisible (int column, int row)
 
void MakeSequenceVisible (const MoleculeIdentifier *identifier)
 
void SetupFontFromRegistry (void)
 
virtual bool RequestEditorEnable (bool enable)
 
bool GeometryViolationsShown (void) const
 
void UpdateGeometryViolations (void) const
 
void OnTitleView (wxCommandEvent &event)
 
void OnEditMenu (wxCommandEvent &event)
 
void OnMouseMode (wxCommandEvent &event)
 
void OnJustification (wxCommandEvent &event)
 
void OnShowGeomVltns (wxCommandEvent &event)
 
void OnFindPattern (wxCommandEvent &event)
 
void OnCacheHighlights (wxCommandEvent &event)
 
BlockMultipleAlignment::eUnalignedJustification GetCurrentJustification (void) const
 
void RefreshWidget (void)
 
void KillWindow (void)
 
bool EditorIsOn (void) const
 
void EnableUndo (bool enabled)
 
void EnableRedo (bool enabled)
 
bool DoSplitBlock (void) const
 
bool DoMergeBlocks (void) const
 
bool DoCreateBlock (void) const
 
bool DoDeleteBlock (void) const
 
bool SelectBlocksIsOn (void) const
 
void SyncStructures (void)
 
bool AlwaysSyncStructures (void) const
 

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

UpdateViewerupdateViewer
 

Friends

class SequenceDisplay
 

Additional Inherited Members

- Protected Types inherited from ViewerWindowBase
enum  {
  MID_SHOW_TITLES , MID_HIDE_TITLES , MID_SHOW_GEOM_VLTNS , MID_FIND_PATTERN ,
  MID_CACHE_HIGHLIGHTS , MID_RESTORE_CACHED_HIGHLIGHTS , MID_ENABLE_EDIT , MID_UNDO ,
  MID_REDO , MID_SPLIT_BLOCK , MID_MERGE_BLOCKS , MID_CREATE_BLOCK ,
  MID_DELETE_BLOCK , MID_SYNC_STRUCS , MID_SYNC_STRUCS_ON , MID_SELECT_RECT ,
  MID_SELECT_COLS , MID_SELECT_ROWS , MID_SELECT_BLOCKS , MID_DRAG_HORIZ ,
  MID_LEFT , MID_RIGHT , MID_CENTER , MID_SPLIT ,
  START_VIEWER_WINDOW_DERIVED_MID
}
 
- Protected Member Functions inherited from ViewerWindowBase
 ViewerWindowBase (ViewerBase *parentViewer, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize)
 
virtual ~ViewerWindowBase (void)
 
void EnableBaseEditorMenuItems (bool enabled)
 
void SplitBlockOff (void)
 
void MergeBlocksOff (void)
 
void CreateBlockOff (void)
 
void DeleteBlockOff (void)
 
void CancelBaseSpecialModesExcept (int id)
 
void CancelAllSpecialModesExcept (int id)
 
- Protected Attributes inherited from ViewerWindowBase
SequenceViewerWidgetviewerWidget
 
ViewerBaseviewer
 
wxMenuBar * menuBar
 
wxMenu * viewMenu
 
wxMenu * editMenu
 
wxMenu * mouseModeMenu
 
wxMenu * justificationMenu
 
SequenceViewerWidget::eMouseMode prevMouseMode
 
BlockMultipleAlignment::eUnalignedJustification currentJustification
 

Detailed Description

Definition at line 48 of file update_viewer_window.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MID_DELETE_ALL_BLOCKS 
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 

Definition at line 66 of file update_viewer_window.hpp.

Constructor & Destructor Documentation

◆ UpdateViewerWindow()

UpdateViewerWindow::UpdateViewerWindow ( UpdateViewer parentUpdateViewer)

◆ ~UpdateViewerWindow()

UpdateViewerWindow::~UpdateViewerWindow ( void  )

Definition at line 142 of file update_viewer_window.cpp.

Member Function Documentation

◆ BlastNeighborSingleOff()

void UpdateViewerWindow::BlastNeighborSingleOff ( void  )
inlineprivate

◆ BlastPSSMSingleOff()

void UpdateViewerWindow::BlastPSSMSingleOff ( void  )
inlineprivate

◆ BlastSingleOff()

void UpdateViewerWindow::BlastSingleOff ( void  )
inlineprivate

◆ BlockAlignSingleOff()

void UpdateViewerWindow::BlockAlignSingleOff ( void  )
inlineprivate

◆ CancelDerivedSpecialModesExcept()

void UpdateViewerWindow::CancelDerivedSpecialModesExcept ( int  id)
inlinevirtual

◆ DeleteAllBlocksOff()

void UpdateViewerWindow::DeleteAllBlocksOff ( void  )
inlineprivate

◆ DeleteSingleOff()

void UpdateViewerWindow::DeleteSingleOff ( void  )
inlineprivate

◆ DoBlastNeighborSingle()

bool UpdateViewerWindow::DoBlastNeighborSingle ( void  ) const
inline

◆ DoBlastPSSMSingle()

bool UpdateViewerWindow::DoBlastPSSMSingle ( void  ) const
inline

◆ DoBlastSingle()

bool UpdateViewerWindow::DoBlastSingle ( void  ) const
inline

◆ DoBlockAlignSingle()

bool UpdateViewerWindow::DoBlockAlignSingle ( void  ) const
inline

◆ DoDeleteAllBlocks()

bool UpdateViewerWindow::DoDeleteAllBlocks ( void  ) const
inline

◆ DoDeleteSingle()

bool UpdateViewerWindow::DoDeleteSingle ( void  ) const
inline

◆ DoExtendSingle()

bool UpdateViewerWindow::DoExtendSingle ( void  ) const
inline

◆ DoMergeNeighbor()

bool UpdateViewerWindow::DoMergeNeighbor ( void  ) const
inline

◆ DoMergeSingle()

bool UpdateViewerWindow::DoMergeSingle ( void  ) const
inline

◆ DoSetRegion()

bool UpdateViewerWindow::DoSetRegion ( void  ) const
inline

◆ DoThreadSingle()

bool UpdateViewerWindow::DoThreadSingle ( void  ) const
inline

◆ EnableDerivedEditorMenuItems()

void UpdateViewerWindow::EnableDerivedEditorMenuItems ( bool  enabled)
virtual

Reimplemented from ViewerWindowBase.

Definition at line 166 of file update_viewer_window.cpp.

◆ ExtendSingleOff()

void UpdateViewerWindow::ExtendSingleOff ( void  )
inlineprivate

◆ GetMouseModeForCreateAndMerge()

SequenceViewerWidget::eMouseMode UpdateViewerWindow::GetMouseModeForCreateAndMerge ( void  )
inlineprivatevirtual

Implements ViewerWindowBase.

Definition at line 159 of file update_viewer_window.hpp.

References SequenceViewerWidget::eSelectRectangle.

◆ MergeNeighborOff()

void UpdateViewerWindow::MergeNeighborOff ( void  )
inlineprivate

◆ MergeSingleOff()

void UpdateViewerWindow::MergeSingleOff ( void  )
inlineprivate

◆ OnBlockAlign()

void UpdateViewerWindow::OnBlockAlign ( wxCommandEvent &  event)
private

◆ OnCloseWindow()

void UpdateViewerWindow::OnCloseWindow ( wxCloseEvent &  event)
private

◆ OnDelete()

void UpdateViewerWindow::OnDelete ( wxCommandEvent &  event)
private

◆ OnExtend()

void UpdateViewerWindow::OnExtend ( wxCommandEvent &  event)
private

◆ OnImport()

void UpdateViewerWindow::OnImport ( wxCommandEvent &  event)
private

◆ OnMerge()

void UpdateViewerWindow::OnMerge ( wxCommandEvent &  event)
private

◆ OnRunBlast()

void UpdateViewerWindow::OnRunBlast ( wxCommandEvent &  event)
private

◆ OnRunThreader()

void UpdateViewerWindow::OnRunThreader ( wxCommandEvent &  event)
private

◆ OnSetRegion()

void UpdateViewerWindow::OnSetRegion ( wxCommandEvent &  event)
private

◆ OnSortUpdates()

void UpdateViewerWindow::OnSortUpdates ( wxCommandEvent &  event)
private

◆ SaveDialog()

bool UpdateViewerWindow::SaveDialog ( bool  prompt,
bool  canCancel 
)
virtual

◆ SetRegionOff()

void UpdateViewerWindow::SetRegionOff ( void  )
inlineprivate

◆ SetWindowTitle()

void UpdateViewerWindow::SetWindowTitle ( void  )
virtual

Implements ViewerWindowBase.

Definition at line 161 of file update_viewer_window.cpp.

References GetWorkingTitle(), and SetTitle().

◆ ThreadSingleOff()

void UpdateViewerWindow::ThreadSingleOff ( void  )
inlineprivate

Friends And Related Function Documentation

◆ SequenceDisplay

friend class SequenceDisplay
friend

Definition at line 50 of file update_viewer_window.hpp.

Member Data Documentation

◆ updateViewer

UpdateViewer* UpdateViewerWindow::updateViewer
private

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