#include <alnmulti_widget.hpp>
Inheritance diagram for CAlnMultiWidget:


CAlnMultiWidget is a reusable component for visual presntations of multiple alignments. CAlnMultiWidget works as Mediator to organize interaction of its internal components and to support communication with external components. Data Source is an external component that serves as a source of alignment data. CAlnMultiWidget builds a visual Model object around provided Data Source and uses CAlnMultiPane component to represent this model. CAlnMultiWidget provides API for external components allowing for executing commands and retrieving state information such as selections.
Definition at line 89 of file alnmulti_widget.hpp.
Public Types | |
| typedef CAlnMultiModel::TNumrow | TNumrow |
| typedef int | TLine |
| typedef list< objects::CSeq_loc * > | TPSeqLocList |
| typedef CRangeCollection< TSeqPos > | TRangeColl |
| typedef vector< CConstRef< objects::CSeq_id > > | TRSeqIdVector |
Public Member Functions | |
| CAlnMultiWidget (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=_T("panel")) | |
| virtual | ~CAlnMultiWidget () |
| virtual void | SetDataSource (IAlnMultiDataSource *p_ds) |
| virtual void | CreateWidget (CAlnMultiModel *model) |
| performs initialization, creates Model and Controls. | |
| virtual CAlnMultiModel * | GetModel () |
| virtual const CAlnMultiModel * | GetModel () const |
| virtual void | SetStyleCatalog (const CRowStyleCatalog *catalog) |
| virtual const CWidgetDisplayStyle * | GetDisplayStyle () const |
| virtual void | SetVisible (const vector< TNumrow > &rows, bool b_visible, bool b_invert_others=false) |
| makes specified rows visible/hidden, other rows aren't affected | |
| virtual void | Select (const vector< TNumrow > &rows, bool b_select, bool b_invert_others=false) |
| virtual IAlnMultiDataSource * | GetDataSource () |
| void | OnContextMenu (wxContextMenuEvent &event) |
| virtual void | UpdateSortOrder () |
| virtual void | UpdateOnScoringChanged () |
| void | Print (const string &filename) |
| Scroll callbacks. | |
| void | UpdateView () |
CGlWidgetBase virtual functions | |
| virtual CGlPane & | GetPort () |
| implement these 2 functions in derived classes | |
| virtual const CGlPane & | GetPort () const |
| implement these 2 functions in derived classes | |
| virtual void | x_SetPortLimits (void) |
| updates model limits of the Master CGlPane | |
| virtual CGlWidgetPane * | x_GetPane () |
| virtual void | LoadSettings () |
| virtual void | SaveSettings () const |
IAlnMultiRenderContext implementation | |
| virtual bool | IsRendererFocused () |
| overriding base class implementation | |
IAlnMultiPaneParent implementation | |
| virtual const IAlnMultiDataSource * | GetDataSource () const |
| virtual TNumrow | GetRowNumByLine (TLine line) const |
| virtual int | GetLineByRowNum (TNumrow Row) const |
| return -1 if "row" does not exist or is not visible | |
| virtual void | OnChildResize () |
| virtual void | SetScaleX (TModelUnit scale_x, const TModelPoint &point) |
| virtual void | ZoomRect (const TModelRect &rc) |
| virtual void | ZoomPoint (const TModelPoint &point, TModelUnit factor) |
| virtual void | Scroll (TModelUnit d_x, TModelUnit d_y) |
| virtual void | OnRowChanged (IAlignRow *p_row) |
| virtual void | OnColumnsChanged () |
CUIDataSource::IListener implementation | |
| virtual void | OnDSChanged (CDataChangeNotifier::CUpdate &update) |
CAlnMultiModel::IListener implementation | |
| virtual void | OnScoringProgress (float progress, const string &msg) |
| virtual void | OnScoringFinished () |
Command Handlers | |
| void | OnZoomSequence (wxCommandEvent &event) |
| void | OnZoomSelection (wxCommandEvent &event) |
| void | OnUpdateZoomSelection (wxUpdateUIEvent &event) |
| void | OnMakeSelectedRowMaster (wxCommandEvent &event) |
| void | OnUpdateMakeSelectedRowMaster (wxUpdateUIEvent &event) |
| void | OnUnsetMaster (wxCommandEvent &event) |
| void | OnUpdateUnsetMaster (wxUpdateUIEvent &event) |
| void | OnMakeConsensusRowMaster (wxCommandEvent &event) |
| void | OnUpdateMakeConsensusRowMaster (wxUpdateUIEvent &event) |
| void | OnResetSelection (wxCommandEvent &event) |
| void | OnMarkSelected (wxCommandEvent &event) |
| void | OnUnMarkSelected (wxCommandEvent &event) |
| mark selected regions of selected rows | |
| void | OnUpdateMarkSelected (wxUpdateUIEvent &event) |
| unmark selected regions of selected rows | |
| void | OnUnMarkAll (wxCommandEvent &event) |
| void | OnHideSelected (wxCommandEvent &event) |
| void | OnShowOnlySelected (wxCommandEvent &event) |
| hide selected rows | |
| void | OnShowAll (wxCommandEvent &event) |
| hide rows that are not selected | |
| void | OnMoveSelectedUp (wxCommandEvent &event) |
| show all hidden rows | |
| void | OnSettings (wxCommandEvent &event) |
| void | OnUpdateSettings (wxUpdateUIEvent &event) |
Command handler for Scoring methods management | |
| void | OnShowMethodDlg (wxCommandEvent &event) |
| void | OnUpdateShowMethodDlg (wxUpdateUIEvent &event) |
| void | OnDisableScoring (wxCommandEvent &event) |
| void | OnUpdateDisableScoring (wxUpdateUIEvent &event) |
| void | OnMethodProperties (wxCommandEvent &event) |
| void | OnUpdateMethodProperties (wxUpdateUIEvent &event) |
| void | OnScoringMethod (wxCommandEvent &event) |
| void | OnUpdateScoringMethod (wxUpdateUIEvent &event) |
| void | OnSetAsDefaultMethod (wxCommandEvent &event) |
Selection handling | |
| void | GetSelectedIds (TRSeqIdVector &ids) const |
| void | SetSelectedIds (const TRSeqIdVector &ids, objects::CScope &scope) |
| void | GetSelectedRows (vector< TNumrow > &rows) |
| const TRangeColl & | GetSelection (void) const |
| void | SetSelection (const TRangeColl &coll) |
| void | GetMarks (TPSeqLocList &ls_locs) const |
Static Public Member Functions | |
| static void | RegisterCommands (CUICommandRegistry &cmd_reg, wxFileArtProvider &provider) |
| class CAlnMultiWidget | |
Protected Types | |
| typedef map< int, string > | TCmdToName |
Protected Member Functions | |
| void | x_CreatePane (void) |
| factory method creating master pane, called form x_CreateControls() | |
| virtual CAlnMultiModel * | x_CreateModel () |
| factory method creating and initializing a default model | |
| virtual void | x_AdjustVisible (bool b_reset) |
| virtual void | x_RedrawControls (void) |
| virtual void | x_UpdateStyleColumns () |
| void | x_ZoomToRange (TSeqPos from, TSeqPos to) |
| void | x_MakeVisibleHorz (TSeqPos pos) |
| void | x_MakeVisibleHorz (TSeqPos from, TSeqPos to) |
| virtual wxMenu * | x_CreatePopupMenu () |
| virtual string | x_GetCurrentMethodName () const |
| virtual void | x_SetScoringMethod (const string &method_name, bool save) |
| virtual void | x_CreateScoringMethodsMenu (wxMenu &color_menu) |
| virtual string * | x_GetDefMethodName () |
| virtual string | x_GetScoringMRUListName () |
Update handlers | |
Functions in this group are called by the widget when something changes. Each functions performs minimal set of operations needed to keep widget up-to-date. | |
| virtual void | x_UpdateOnDataChanged (bool b_reset=true) |
| Update handlers. | |
| virtual void | x_UpdateOnRowHChanged (void) |
| virtual void | x_UpdateOnSwitchMaster (TNumrow NewMasterRow) |
| virtual void | x_UpdateOnZoom (void) |
| virtual void | x_UpdateOnStylesChanged (void) |
| virtual void | x_OnResize (void) |
Protected Attributes | |
| IAlnMultiDataSource * | m_DataSource |
| CAlnMultiModel * | m_Model |
| source of alignment data | |
| CAlnMultiPane * | m_AlignPane |
| representation of alignment data | |
| TCmdToName | m_CmdToName |
| widget rendering data and handling events | |
|
|
Definition at line 288 of file alnmulti_widget.hpp. |
|
|
Definition at line 98 of file alnmulti_widget.hpp. |
|
|
Reimplemented from IAlnMultiPaneParent. Definition at line 97 of file alnmulti_widget.hpp. |
|
|
Definition at line 99 of file alnmulti_widget.hpp. |
|
|
Definition at line 100 of file alnmulti_widget.hpp. |
|
|
Definition at line 101 of file alnmulti_widget.hpp. |
|
||||||||||||||||||||||||||||
|
Definition at line 96 of file alnmulti_widget.cpp. |
|
|
Definition at line 136 of file alnmulti_widget.cpp. References m_AlignPane, m_Model, CEventHandler::RemoveListener(), and CAlnMultiModel::SetListener(). |
|
|
performs initialization, creates Model and Controls. Call Create() right after constructing CAlnMultiWidget; assumes ownership of the model. If model == NULL, creates a default model Definition at line 110 of file alnmulti_widget.cpp. References _ASSERT, CAlnMultiPane::GetAlignVPHeight(), CAlnMultiPane::GetAlignVPWidth(), GetPort(), m_AlignPane, m_Model, CAlnMultiModel::SetListener(), CAlnMultiModel::SetPortLimits(), CGlRect< T >::SetSize(), CGlPane::SetViewport(), CGlWidgetBase::x_CreateControls(), and x_CreateModel(). Referenced by CAlignMultipleDemoDlg::CreateControls(), and CMultiAlignView::CreateViewWindow(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 196 of file alnmulti_widget.cpp. References m_DataSource. |
|
|
Implements IAlnMultiPaneParent. Definition at line 190 of file alnmulti_widget.cpp. Referenced by GetMarks(), GetSelectedIds(), GetSelectedRows(), OnMakeConsensusRowMaster(), OnUpdateShowMethodDlg(), x_UpdateOnDataChanged(), and x_UpdateOnSwitchMaster(). |
|
|
Definition at line 242 of file alnmulti_widget.cpp. References CAlnMultiModel::GetDisplayStyle(), and m_Model. Referenced by CMultiAlignView::CreateViewWindow(), and OnZoomSequence(). |
|
|
return -1 if "row" does not exist or is not visible
Definition at line 329 of file alnmulti_widget.cpp. References CAlnMultiModel::GetLineByRowNum(), and m_Model. |
|
|
Definition at line 783 of file alnmulti_widget.cpp. References GetDataSource(), CAlnMultiPane::GetMarks(), IAlnMultiDataSource::GetSeqId(), ITERATE, m_AlignPane, and CSeq_loc_Base::SetPacked_int(). |
|
|
Definition at line 315 of file alnmulti_widget.cpp. References m_Model. |
|
|
Definition at line 309 of file alnmulti_widget.cpp. References m_Model. Referenced by GetSelectedIds(), and GetSelectedRows(). |
|
|
implement these 2 functions in derived classes
Implements CGlWidgetBase. Definition at line 278 of file alnmulti_widget.cpp. References CAlnMultiModel::GetAlignPort(), and m_Model. |
|
|
implement these 2 functions in derived classes
Implements CGlWidgetBase. Definition at line 272 of file alnmulti_widget.cpp. References CAlnMultiModel::GetAlignPort(), and m_Model. Referenced by CreateWidget(), OnZoomSequence(), Scroll(), SetScaleX(), x_AdjustVisible(), x_MakeVisibleHorz(), x_OnResize(), x_UpdateOnSwitchMaster(), x_ZoomToRange(), and ZoomPoint(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 321 of file alnmulti_widget.cpp. References CAlnMultiModel::GetRowByLine(), IAlignRow::GetRowNum(), and m_Model. Referenced by GetSelectedIds(), GetSelectedRows(), and OnMakeSelectedRowMaster(). |
|
|
Definition at line 566 of file alnmulti_widget.cpp. References _ASSERT, GetDataSource(), GetModel(), GetRowNumByLine(), IAlnMultiDataSource::GetSeqId(), ITERATE, and CSelListModelImpl< Item >::SLM_GetSelectedIndices(). |
|
|
Definition at line 583 of file alnmulti_widget.cpp. References GetDataSource(), GetModel(), GetRowNumByLine(), ITERATE, and CSelListModelImpl< Item >::SLM_GetSelectedIndices(). Referenced by CMultiAlignView::GetSelection(). |
|
|
Definition at line 622 of file alnmulti_widget.cpp. References CAlnMultiPane::GetSelection(), and m_AlignPane. Referenced by CMultiAlignView::x_GetSeqRangeSelection(). |
|
|
overriding base class implementation
Definition at line 434 of file alnmulti_widget.cpp. References m_AlignPane. |
|
|
Reimplemented from CGlWidgetBase. Definition at line 248 of file alnmulti_widget.cpp. References CAlnMultiModel::GetDisplayStyle(), CGuiRegistry::GetInstance(), CGuiRegistry::GetReadView(), CWidgetDisplayStyle::LoadSettings(), m_Model, CGlWidgetBase::m_RegPath, and x_UpdateOnStylesChanged(). Referenced by CMultiAlignView::LoadSettings(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 335 of file alnmulti_widget.cpp. References x_OnResize(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 394 of file alnmulti_widget.cpp. References SaveSettings(), and x_UpdateStyleColumns(). |
|
|
Definition at line 375 of file alnmulti_widget.cpp. References eHorz, eVert, m_AlignPane, CGlWidgetBase::m_PopupPoint, CGlPoint< T >::m_X, CGlPoint< T >::m_Y, CAlnMultiPane::SHH_GetModelByWindow(), x_CreatePopupMenu(), and CGlWidgetBase::x_ShowDecoratedPopupMenu(). |
|
|
Definition at line 1110 of file alnmulti_widget.cpp. References x_SetScoringMethod(). |
|
|
|
Definition at line 670 of file alnmulti_widget.cpp. References CAlnMultiModel::GetSelectedRows(), m_Model, SetVisible(), and CSelListModelImpl< Item >::SLM_SelectAll(). |
|
|
Definition at line 531 of file alnmulti_widget.cpp. References IAlnMultiDataSource::GetConsensusRow(), GetDataSource(), and x_UpdateOnSwitchMaster(). |
|
|
Definition at line 505 of file alnmulti_widget.cpp. References eDialog_Modal, eDialog_Ok, eIcon_Exclamation, GetRowNumByLine(), m_Model, NcbiMessageBox(), CSelListModelImpl< Item >::SLM_GetSelectedCount(), CSelListModelImpl< Item >::SLM_GetSelectedIndices(), and x_UpdateOnSwitchMaster(). |
|
|
Definition at line 634 of file alnmulti_widget.cpp. References CAlnMultiPane::GetSelection(), m_AlignPane, and CAlnMultiPane::MarkSelectedRows(). |
|
|
Definition at line 1083 of file alnmulti_widget.cpp. References _T, CAlnMultiModel::GetCurrentMethod(), m_Model, UpdateOnScoringChanged(), and CAlnMultiModel::UpdateOnScoringChanged(). |
|
|
show all hidden rows
Definition at line 699 of file alnmulti_widget.cpp. References CAlnMultiModel::GetSelectedRows(), m_Model, CAlnMultiModel::SetRowOrder(), and x_RedrawControls(). |
|
|
Definition at line 560 of file alnmulti_widget.cpp. References m_AlignPane, and CAlnMultiPane::ResetSelection(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 369 of file alnmulti_widget.cpp. References x_UpdateOnRowHChanged(). |
|
|
Implements CScoreCache::IListener. Definition at line 427 of file alnmulti_widget.cpp. References CAlnMultiPane::HideProgressPanel(), and m_AlignPane. |
|
|
Definition at line 1186 of file alnmulti_widget.cpp. References map_checker< Container >::clear(), m_CmdToName, and x_SetScoringMethod(). |
|
||||||||||||
|
Implements CScoreCache::IListener. Definition at line 421 of file alnmulti_widget.cpp. References m_AlignPane, and CAlnMultiPane::ShowProgressPanel(). |
|
|
Definition at line 1207 of file alnmulti_widget.cpp. References _ASSERT, SaveSettings(), x_GetCurrentMethodName(), and x_GetDefMethodName(). |
|
|
Definition at line 732 of file alnmulti_widget.cpp. References CAlnMultiRenderer::GetColumn(), CAlnMultiRenderer::GetColumnsCount(), CAlnMultiModel::GetDisplayStyle(), CAlnMultiPane::GetRenderer(), m_AlignPane, CWidgetDisplayStyle::m_Columns, m_Model, and x_UpdateStyleColumns(). |
|
|
hide rows that are not selected
Definition at line 689 of file alnmulti_widget.cpp. References m_Model, CAlnMultiModel::ShowAll(), x_AdjustVisible(), x_RedrawControls(), and CGlWidgetBase::x_UpdateScrollbars(). |
|
|
Definition at line 1052 of file alnmulti_widget.cpp. References _ASSERT, CScoringMethodsDlg::Create(), IAlnExplorer::fInvalid, IAlnMultiDataSource::GetAlignType(), CScoringMethodsDlg::GetSelectedMethod(), m_DataSource, CScoringMethodsDlg::Setup(), ToStdString(), x_GetCurrentMethodName(), and x_SetScoringMethod(). |
|
|
hide selected rows
Definition at line 680 of file alnmulti_widget.cpp. References CAlnMultiModel::GetSelectedRows(), m_Model, and SetVisible(). |
|
|
Definition at line 662 of file alnmulti_widget.cpp. References m_AlignPane, and CAlnMultiPane::UnMarkAll(). |
|
|
mark selected regions of selected rows
Definition at line 643 of file alnmulti_widget.cpp. References CAlnMultiPane::GetSelection(), m_AlignPane, and CAlnMultiPane::MarkSelectedRows(). |
|
|
Definition at line 547 of file alnmulti_widget.cpp. References x_UpdateOnSwitchMaster(). |
|
|
Definition at line 1116 of file alnmulti_widget.cpp. References CAlnMultiModel::GetCurrentMethod(), and m_Model. |
|
|
Definition at line 540 of file alnmulti_widget.cpp. References CAlnMultiModel::CanChangeMasterRow(), and m_Model. |
|
|
Definition at line 525 of file alnmulti_widget.cpp. References CAlnMultiModel::CanChangeMasterRow(), and m_Model. |
|
|
unmark selected regions of selected rows
Definition at line 652 of file alnmulti_widget.cpp. References CAlnMultiPane::GetSelection(), m_AlignPane, m_Model, CRangeCollection< Position >::size(), and CSelListModelImpl< Item >::SLM_GetSelectedCount(). |
|
|
Definition at line 1099 of file alnmulti_widget.cpp. References CAlnMultiModel::GetCurrentMethod(), IUIToolWithGUI::HasPropertiesPanel(), and m_Model. |
|
|
Definition at line 1196 of file alnmulti_widget.cpp. References m_CmdToName, and x_GetCurrentMethodName(). |
|
|
Definition at line 761 of file alnmulti_widget.cpp. |
|
|
Definition at line 1072 of file alnmulti_widget.cpp. References IAlnExplorer::fInvalid, IAlnMultiDataSource::GetAlignType(), GetDataSource(), and m_DataSource. |
|
|
Definition at line 553 of file alnmulti_widget.cpp. References CAlnMultiModel::CanChangeMasterRow(), CAlnMultiModel::GetMasterRow(), and m_Model. |
|
|
Definition at line 461 of file alnmulti_widget.cpp. References CAlnMultiPane::GetSelectionLimits(), m_AlignPane, and COpenRange< Position >::NotEmpty(). |
|
|
Definition at line 451 of file alnmulti_widget.cpp. References COpenRange< Position >::GetFrom(), CAlnMultiPane::GetSelectionLimits(), COpenRange< Position >::GetTo(), m_AlignPane, COpenRange< Position >::NotEmpty(), and x_ZoomToRange(). |
|
|
Definition at line 443 of file alnmulti_widget.cpp. References IGlFont::eMetric_MaxCharWidth, GetDisplayStyle(), CGlBitmapFont::GetMetric(), GetPort(), CWidgetDisplayStyle::m_SeqFont, CGlPane::SetScale(), and x_UpdateOnZoom(). |
|
|
Scroll callbacks.
Definition at line 1275 of file alnmulti_widget.cpp. |
|
||||||||||||
|
class CAlnMultiWidget
Definition at line 69 of file alnmulti_widget.cpp. References eCmdHideSelected, eCmdMarkSelected, eCmdMoveSelectedUp, eCmdRebuildAlignment, eCmdSetSelMaster, eCmdShowAll, eCmdShowOnlySelected, eCmdUnMarkAll, eCmdUnMarkSelected, eCmdUnsetMaster, CUICommandRegistry::RegisterCommand(), and WidgetsData_RegisterCommands(). Referenced by CAlignMultipleDemoDlg::CreateControls(), and CMultiAlignViewFactory::RegisterCommands(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 260 of file alnmulti_widget.cpp. References IAlnMultiDataSource::GetAlignType(), CAlnMultiModel::GetDisplayStyle(), CGuiRegistry::GetInstance(), CGuiRegistry::GetReadWriteView(), m_DataSource, m_Model, CGlWidgetBase::m_RegPath, and CWidgetDisplayStyle::SaveSettings(). Referenced by OnColumnsChanged(), OnSetAsDefaultMethod(), CMultiAlignView::SaveSettings(), and x_SetScoringMethod(). |
|
||||||||||||
|
Implements IAlnMultiPaneParent. Definition at line 362 of file alnmulti_widget.cpp. References GetPort(), CGlPane::Scroll(), and x_UpdateOnZoom(). |
|
||||||||||||||||
|
Definition at line 214 of file alnmulti_widget.cpp. References CAlnMultiModel::GetLineByRowNum(), m_Model, CSelListModelImpl< Item >::SLM_SelectItems(), and x_RedrawControls(). |
|
|
Definition at line 290 of file alnmulti_widget.cpp. References _ASSERT, CAlnMultiModel::GetDefaultMethod(), IAlnMultiDataSource::IsEmpty(), m_DataSource, m_Model, CAlnMultiModel::SetDataSource(), and x_SetScoringMethod(). Referenced by CAlignMultipleDemoDlg::CreateControls(), OnDSChanged(), CAlignMultipleDemoDlg::OnFileClick(), CMultiAlignView::OnProjectChanged(), and CAlignMultipleDemoDlg::OnRebuild(). |
|
||||||||||||
|
Implements IAlnMultiPaneParent. Definition at line 341 of file alnmulti_widget.cpp. References GetPort(), CGlPane::SetScaleRefPoint(), and x_UpdateOnZoom(). |
|
||||||||||||
|
|
|
|
Definition at line 628 of file alnmulti_widget.cpp. References m_AlignPane, and CAlnMultiPane::SetSelection(). Referenced by CMultiAlignView::x_OnSetSelection(). |
|
|
Definition at line 235 of file alnmulti_widget.cpp. References _ASSERT, m_Model, and CAlnMultiModel::SetStyleCatalog(). Referenced by CAlignMultipleDemoDlg::CreateControls(), and CMultiAlignView::CreateViewWindow(). |
|
||||||||||||||||
|
makes specified rows visible/hidden, other rows aren't affected
Definition at line 203 of file alnmulti_widget.cpp. References m_Model, CAlnMultiModel::SetVisible(), x_AdjustVisible(), x_RedrawControls(), and CGlWidgetBase::x_UpdateScrollbars(). Referenced by OnHideSelected(), and OnShowOnlySelected(). |
|
|
Definition at line 776 of file alnmulti_widget.cpp. References m_AlignPane, CAlnMultiPane::Update(), and x_RedrawControls(). Referenced by OnMethodProperties(), and x_SetScoringMethod(). |
|
|
Definition at line 767 of file alnmulti_widget.cpp. References m_AlignPane, m_Model, CAlnMultiPane::UpdateHeaderSortState(), CAlnMultiModel::UpdateSortOrder(), and x_RedrawControls(). |
|
|
Definition at line 806 of file alnmulti_widget.cpp. References m_AlignPane, CAlnMultiPane::Update(), and x_UpdateOnStylesChanged(). |
|
|
Definition at line 927 of file alnmulti_widget.cpp. References CGlPane::AdjustToLimits(), CAlnMultiPane::GetAlignVPHeight(), CGlPane::GetModelLimitsRect(), GetPort(), CGlPane::GetVisibleRect(), m_AlignPane, CGlRect< T >::SetBottom(), CGlRect< T >::SetTop(), CGlPane::SetVisibleRect(), and CGlRect< T >::Top(). Referenced by OnShowAll(), SetVisible(), x_OnResize(), x_UpdateOnDataChanged(), x_UpdateOnRowHChanged(), and x_UpdateOnSwitchMaster(). |
|
|
factory method creating and initializing a default model
Definition at line 130 of file alnmulti_widget.cpp. Referenced by CreateWidget(). |
|
|
factory method creating master pane, called form x_CreateControls()
Implements CGlWidgetBase. Definition at line 813 of file alnmulti_widget.cpp. References m_AlignPane, m_Model, CAlnMultiPane::SetContext(), CAlnMultiPane::SetWidget(), and CSelListModelImpl< Item >::SLM_AddSLView(). |
|
|
add Scoring Methods menu Definition at line 1320 of file alnmulti_widget.cpp. References _T, CUICommandRegistry::CreateMenu(), FindSubItem(), IAlnExplorer::fInvalid, CUIToolRegistry::GetInstance(), CUICommandRegistry::GetInstance(), CUIToolRegistry::GetMRUToolNames(), and CUIToolRegistry::MRUListExists(). Referenced by OnContextMenu(). |
|
|
Definition at line 1389 of file alnmulti_widget.cpp. References _ASSERT, CreateMenu(), CAlnMultiModel::GetCurrentMethod(), CMenuItem::GetLabel(), IUIToolWithGUI::GetMenu(), m_Model, and ToWxString(). |
|
|
Definition at line 1124 of file alnmulti_widget.cpp. References _ASSERT, CAlnMultiModel::GetCurrentMethod(), IUITool::GetName(), and m_Model. Referenced by OnSetAsDefaultMethod(), OnShowMethodDlg(), OnUpdateScoringMethod(), and x_SetScoringMethod(). |
|
|
Definition at line 1221 of file alnmulti_widget.cpp. References _ASSERT, IAlnExplorer::fDNA, IAlnExplorer::fProtein, IAlnMultiDataSource::GetAlignType(), CAlnMultiModel::GetDisplayStyle(), m_DataSource, CWidgetDisplayStyle::m_DefDNAMethod, CWidgetDisplayStyle::m_DefProteinMethod, and m_Model. Referenced by OnSetAsDefaultMethod(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 284 of file alnmulti_widget.cpp. References m_AlignPane. |
|
|
Definition at line 1240 of file alnmulti_widget.cpp. References IScoringMethod::GetAlignmentTagByType(), IAlnMultiDataSource::GetAlignType(), and m_DataSource. Referenced by x_SetScoringMethod(). |
|
||||||||||||
|
Definition at line 485 of file alnmulti_widget.cpp. References GetPort(), CGlPane::GetVisibleRect(), CGlRect< T >::Left(), CGlRect< T >::Right(), CGlPane::Scroll(), and x_UpdateOnZoom(). |
|
|
Definition at line 479 of file alnmulti_widget.cpp. |
|
|
Definition at line 881 of file alnmulti_widget.cpp. References CAlnMultiPane::GetAlignVPHeight(), CAlnMultiPane::GetAlignVPWidth(), GetPort(), m_AlignPane, CGlRect< T >::SetSize(), CGlPane::SetViewport(), x_AdjustVisible(), and CGlWidgetBase::x_UpdateScrollbars(). Referenced by OnChildResize(). |
|
|
Reimplemented from CGlWidgetBase. Definition at line 894 of file alnmulti_widget.cpp. References m_AlignPane. Referenced by OnMoveSelectedUp(), OnShowAll(), Select(), SetVisible(), UpdateOnScoringChanged(), UpdateSortOrder(), x_UpdateOnRowHChanged(), x_UpdateOnSwitchMaster(), and x_UpdateOnZoom(). |
|
|
updates model limits of the Master CGlPane
Implements CGlWidgetBase. Definition at line 117 of file alnmulti_widget.hpp. |
|
||||||||||||
|
|
Update handlers.
Definition at line 902 of file alnmulti_widget.cpp. References GetDataSource(), IAlnMultiDataSource::GetNumRows(), CAlnMultiModel::GetRow(), IAlnMultiDataSource::IsEmpty(), m_AlignPane, m_Model, IAlignRow::SetHost(), and x_AdjustVisible(). |
|
|
Definition at line 944 of file alnmulti_widget.cpp. References m_Model, CAlnMultiModel::UpdateOnRowHChanged(), x_AdjustVisible(), x_RedrawControls(), and CGlWidgetBase::x_UpdateScrollbars(). Referenced by OnRowChanged(), and x_UpdateOnStylesChanged(). |
|
|
Definition at line 1035 of file alnmulti_widget.cpp. References color, CWidgetDisplayStyle::eBack, CWidgetDisplayStyle::GetColor(), CAlnMultiModel::GetDisplayStyle(), CAlnMultiPane::GetRenderer(), m_AlignPane, m_Model, CAlnMultiPane::SetBackColor(), CAlnMultiRenderer::SetColumnsByStyle(), CAlnMultiModel::UpdateOnStyleChanged(), and x_UpdateOnRowHChanged(). Referenced by LoadSettings(), and UpdateView(). |
|
|
|
Reimplemented from CGlWidgetBase. Definition at line 1027 of file alnmulti_widget.cpp. References m_AlignPane, CAlnMultiPane::Update(), x_RedrawControls(), and CGlWidgetBase::x_UpdateScrollbars(). Referenced by OnZoomSequence(), Scroll(), SetScaleX(), x_MakeVisibleHorz(), and x_ZoomToRange(). |
|
|
Definition at line 713 of file alnmulti_widget.cpp. References CAlnMultiRenderer::GetColumn(), CAlnMultiRenderer::GetColumnsCount(), CAlnMultiModel::GetDisplayStyle(), CAlnMultiPane::GetRenderer(), m_AlignPane, CWidgetDisplayStyle::m_Columns, and m_Model. Referenced by OnColumnsChanged(), and OnSettings(). |
|
||||||||||||
|
Definition at line 468 of file alnmulti_widget.cpp. References GetPort(), CGlPane::GetVisibleRect(), CGlRect< T >::SetLeft(), CGlRect< T >::SetRight(), x_UpdateOnZoom(), and CGlPane::ZoomRect(). Referenced by OnZoomSelection(), and ZoomRect(). |
|
||||||||||||
|
Implements IAlnMultiPaneParent. Definition at line 356 of file alnmulti_widget.cpp. References GetPort(), and CGlPane::ZoomPoint(). |
|
|
Implements IAlnMultiPaneParent. Definition at line 348 of file alnmulti_widget.cpp. References CGlRect< T >::Left(), CGlRect< T >::Right(), and x_ZoomToRange(). |
|
|
representation of alignment data
Definition at line 294 of file alnmulti_widget.hpp. Referenced by CreateWidget(), GetMarks(), GetSelection(), IsRendererFocused(), OnContextMenu(), OnDSChanged(), OnMarkSelected(), OnResetSelection(), OnScoringFinished(), OnScoringProgress(), OnSettings(), OnUnMarkAll(), OnUnMarkSelected(), OnUpdateMarkSelected(), OnUpdateZoomSelection(), OnZoomSelection(), SetSelection(), UpdateOnScoringChanged(), UpdateSortOrder(), UpdateView(), x_AdjustVisible(), x_CreatePane(), x_GetPane(), x_OnResize(), x_RedrawControls(), x_UpdateOnDataChanged(), x_UpdateOnStylesChanged(), x_UpdateOnSwitchMaster(), x_UpdateOnZoom(), x_UpdateStyleColumns(), and ~CAlnMultiWidget(). |
|
|
widget rendering data and handling events
Definition at line 296 of file alnmulti_widget.hpp. Referenced by OnScoringMethod(), and OnUpdateScoringMethod(). |
|
|
Definition at line 290 of file alnmulti_widget.hpp. Referenced by GetDataSource(), OnDSChanged(), OnShowMethodDlg(), OnUpdateShowMethodDlg(), SaveSettings(), SetDataSource(), x_GetDefMethodName(), and x_GetScoringMRUListName(). |
|
1.4.6
Modified on Mon Dec 07 16:22:26 2009 by modify_doxy.py rev. 173732