#include <cross_aln_widget.hpp>
Inheritance diagram for CCrossAlnWidget:


Definition at line 84 of file cross_aln_widget.hpp.
Public Types | |
| typedef CRangeCollection< TSeqPos > | TRangeColl |
Public Member Functions | |
| CCrossAlnWidget (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) | |
| virtual | ~CCrossAlnWidget () |
| virtual CGlPane & | GetPort () |
| implement these 2 functions in derived classes | |
| virtual const CGlPane & | GetPort () const |
| void | SetDataSource (ICrossAlnDataSource *ds) |
| void | OnChooseSeq (wxCommandEvent &event) |
| void | OnColorByScore (wxCommandEvent &event) |
| void | OnColorBySegments (wxCommandEvent &event) |
| void | Update () |
| void | OnSize (wxSizeEvent &event) |
| void | OnScrollQ (wxScrollEvent &event) |
| void | OnScrollS (wxScrollEvent &event) |
| void | OnContextMenu (wxContextMenuEvent &event) |
| void | OnZoomAll (wxCommandEvent &event) |
| void | OnZoomIn (wxCommandEvent &event) |
| void | OnZoomOut (wxCommandEvent &event) |
| void | OnZoomToSeq (wxCommandEvent &event) |
| void | OnZoomAll_Q (wxCommandEvent &event) |
| void | OnZoomIn_Q (wxCommandEvent &event) |
| void | OnZoomOut_Q (wxCommandEvent &event) |
| void | OnZoomToSeq_Q (wxCommandEvent &event) |
| void | OnZoomAll_S (wxCommandEvent &event) |
| void | OnZoomIn_S (wxCommandEvent &event) |
| void | OnZoomOut_S (wxCommandEvent &event) |
| void | OnZoomToSeq_S (wxCommandEvent &event) |
| void | OnZoomSelection (wxCommandEvent &event) |
| void | OnUpdateZoomSelection (wxUpdateUIEvent &event) |
| void | UpdateScrollbars () |
Visible Range API | |
| TSeqRange | GetSubjectVisibleRange () const |
| void | SetSubjectVisibleRange (const TSeqRange &range) |
| TSeqRange | GetQueryVisibleRange () const |
| void | SetQueryVisibleRange (const TSeqRange &range) |
Selection API | |
| const TRangeColl & | GetSubjectRangeSelection () const |
| const TRangeColl & | GetQueryRangeSelection () const |
| void | SetSubjectRangeSelection (const TRangeColl &coll) |
| void | SetQueryRangeSelection (const TRangeColl &coll) |
| void | ResetObjectSelection () |
| void | GetObjectSelection (TConstObjects &objs) const |
| void | SetObjectSelection (const vector< const objects::CSeq_align * > sel_aligns) |
Static Public Member Functions | |
| static void | RegisterCommands (CUICommandRegistry &cmd_reg, wxFileArtProvider &provider) |
Protected Member Functions | |
| virtual void | x_CreateControls () |
| creates Pane, Scrollbars and other child widgets, called from Create() | |
| virtual void | x_CreatePane () |
| factory method creating master pane, called form x_CreateControls() | |
| virtual CGlWidgetPane * | x_GetPane () |
| virtual void | x_Update () |
| Update handlers. | |
| virtual void | x_UpdatePane () |
| virtual void | x_SetPortLimits () |
| updates model limits of the Master CGlPane | |
Protected Attributes | |
| auto_ptr< CCrossAlnPane > | m_CrossPane |
| CGlPane | m_Port |
|
|
Definition at line 90 of file cross_aln_widget.hpp. |
|
||||||||||||||||||||||||
|
Definition at line 126 of file cross_aln_widget.cpp. |
|
|
Definition at line 134 of file cross_aln_widget.cpp. |
|
|
Definition at line 559 of file cross_aln_widget.cpp. References m_CrossPane. Referenced by CCrossAlignView::GetSelection(). |
|
|
Implements CGlWidgetBase. Definition at line 191 of file cross_aln_widget.cpp. References m_Port. |
|
|
implement these 2 functions in derived classes
Implements CGlWidgetBase. Definition at line 185 of file cross_aln_widget.cpp. References m_Port. Referenced by CCrossAlignView::GetVisibleRanges(), and CCrossAlignView::OnVisibleRangeChanged(). |
|
|
Definition at line 535 of file cross_aln_widget.cpp. References m_CrossPane. Referenced by CCrossAlignView::GetSelection(). |
|
|
Definition at line 511 of file cross_aln_widget.cpp. References CGlPane::GetVisibleRect(), CGlRect< T >::Left(), m_CrossPane, CGlRect< T >::Right(), COpenRange< Position >::SetFrom(), and COpenRange< Position >::SetTo(). |
|
|
Definition at line 528 of file cross_aln_widget.cpp. References m_CrossPane. Referenced by CCrossAlignView::GetSelection(). |
|
|
Definition at line 495 of file cross_aln_widget.cpp. References CGlPane::GetVisibleRect(), CGlRect< T >::Left(), m_CrossPane, CGlRect< T >::Right(), COpenRange< Position >::SetFrom(), and COpenRange< Position >::SetTo(). |
|
|
Definition at line 240 of file cross_aln_widget.cpp. References _T, IHitSeqId::Equals(), CwxChooseSeqDlg::GetParams(), CwxChooseSeqDlg::GetQueryId(), CwxChooseSeqDlg::GetSubjectId(), m_CrossPane, CwxChooseSeqDlg::SetSeqs(), and Update(). |
|
|
Definition at line 284 of file cross_aln_widget.cpp. |
|
|
Definition at line 278 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 580 of file cross_aln_widget.cpp. References CUICommandRegistry::CreateMenu(), and CUICommandRegistry::GetInstance(). |
|
|
Definition at line 447 of file cross_aln_widget.cpp. References m_CrossPane, and UpdateScrollbars(). |
|
|
Definition at line 457 of file cross_aln_widget.cpp. References m_CrossPane, and UpdateScrollbars(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 381 of file cross_aln_widget.cpp. References m_CrossPane, CGlWidgetBase::OnSize(), and x_GetPane(). |
|
|
Definition at line 216 of file cross_aln_widget.cpp. References m_CrossPane, and CRangeCollection< Position >::size(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 323 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 342 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 361 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Reimplemented from CGlWidgetBase. Definition at line 329 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 348 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 367 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Reimplemented from CGlWidgetBase. Definition at line 335 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 354 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 373 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 226 of file cross_aln_widget.cpp. References CRangeCollection< Position >::GetFrom(), CRangeCollection< Position >::GetToOpen(), m_CrossPane, and CRangeCollection< Position >::size(). |
|
|
Definition at line 468 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 475 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 481 of file cross_aln_widget.cpp. References m_CrossPane. |
|
||||||||||||
|
Definition at line 50 of file cross_aln_widget.cpp. References eCmdChooseSeq, eCmdZoomAllQuery, eCmdZoomAllSubject, eCmdZoomInQuery, eCmdZoomInSubject, eCmdZoomOutQuery, eCmdZoomOutSubject, eCmdZoomSeqQuery, eCmdZoomSeqSubject, and CUICommandRegistry::RegisterCommand(). Referenced by CCrossAlnDemoDlg::Init(), and CCrossAlignViewFactory::RegisterCommands(). |
|
|
Definition at line 553 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 487 of file cross_aln_widget.cpp. References m_CrossPane, and x_Update(). Referenced by CCrossAlnDemoDlg::OnAccClick(), CCrossAlnDemoDlg::OnFileClick(), and CCrossAlignView::x_PostAttachToProject(). |
|
|
|
|
|
Definition at line 547 of file cross_aln_widget.cpp. References m_CrossPane. |
|
|
Definition at line 521 of file cross_aln_widget.cpp. References COpenRange< Position >::GetFrom(), COpenRange< Position >::GetTo(), and m_CrossPane. Referenced by CCrossAlignView::OnVisibleRangeChanged(). |
|
|
Definition at line 541 of file cross_aln_widget.cpp. References m_CrossPane. Referenced by CCrossAlignView::x_OnSetSelection(). |
|
|
Definition at line 505 of file cross_aln_widget.cpp. References COpenRange< Position >::GetFrom(), COpenRange< Position >::GetTo(), and m_CrossPane. Referenced by CCrossAlignView::OnVisibleRangeChanged(). |
|
|
Definition at line 571 of file cross_aln_widget.cpp. References m_CrossPane, and UpdateScrollbars(). Referenced by OnChooseSeq(). |
|
|
Definition at line 411 of file cross_aln_widget.cpp. References ID_SCROLLBAR_Q, ID_SCROLLBAR_S, CGlRect< T >::Left(), m_CrossPane, CGlRect< T >::Right(), and CGlRect< T >::Width(). Referenced by OnScrollQ(), OnScrollS(), Update(), x_Update(), and CCrossAlnPane::x_UpdateOnZoom(). |
|
|
creates Pane, Scrollbars and other child widgets, called from Create()
Reimplemented from CGlWidgetBase. Definition at line 139 of file cross_aln_widget.cpp. References _ASSERT, ID_SCROLLBAR_Q, ID_SCROLLBAR_S, x_CreatePane(), and x_GetPane(). |
|
|
factory method creating master pane, called form x_CreateControls()
Implements CGlWidgetBase. Definition at line 168 of file cross_aln_widget.cpp. References m_CrossPane, and auto_ptr< X >::reset(). Referenced by x_CreateControls(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 174 of file cross_aln_widget.cpp. References auto_ptr< X >::get(), and m_CrossPane. Referenced by OnSize(), and x_CreateControls(). |
|
|
updates model limits of the Master CGlPane
Implements CGlWidgetBase. Definition at line 180 of file cross_aln_widget.cpp. |
|
|
Update handlers. Update data strutures update m_Port (x_SetPortLimits) update visible rect in m_Port x_UpdateScrollbars() if necessary x_UpdatePanes() ? x_RedrawControls() Reimplemented from CGlWidgetBase. Definition at line 197 of file cross_aln_widget.cpp. References m_CrossPane, UpdateScrollbars(), and CGlWidgetBase::x_RedrawControls(). Referenced by SetDataSource(). |
|
|
Definition at line 208 of file cross_aln_widget.cpp. |
|
|
|
Definition at line 179 of file cross_aln_widget.hpp. Referenced by GetPort(). |
1.4.6
Modified on Mon Dec 07 16:22:55 2009 by modify_doxy.py rev. 173732