Search Toolkit Book for CClickableSortUniqueCount
#include <gui/packages/pkg_sequence_edit/csuc_frame.hpp>
CClickableSortUniqueCount class declaration
Definition at line 88 of file csuc_frame.hpp.
◆ CClickableSortUniqueCount() [1/2] CClickableSortUniqueCount::CClickableSortUniqueCount ( ) ◆ CClickableSortUniqueCount() [2/2] CClickableSortUniqueCount::CClickableSortUniqueCount ( wxWindow * parent, IWorkbench * wb, wxWindowID id =17000
, const wxString & caption = _("Clickable Sort Unique Count")
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(800, 600)
, long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
) ◆ ~CClickableSortUniqueCount() CClickableSortUniqueCount::~CClickableSortUniqueCount ( ) virtual ◆ AddToBulkEditList()
Definition at line 679 of file csuc_frame.cpp.
References CSeq_inst_Base::eMol_na, map_checker< Container >::end(), CSeqFeatData::eSubtype_biosrc, CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_rRNA, f, map_checker< Container >::find(), CScope::GetBioseqHandle(), CConstRef< C, Locker >::GetPointer(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectCount(), CScope::GetSeq_featHandle(), GetSeqEntryForSeqdesc(), i, CSeqdesc_Base::IsSource(), m_item_to_line, m_Scope, and rna.
Referenced by OnTreeItemActivated().
◆ AddToListCtrl() void CClickableSortUniqueCount::AddToListCtrl ( wxTreeItemId & id ) privateDefinition at line 564 of file csuc_frame.cpp.
References b, map_checker< Container >::end(), f, map_checker< Container >::find(), CConstRef< C, Locker >::GetPointer(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectAccession(), CSUCLine::GetRelatedObjectCount(), GetTextObjectDescription(), i, m_CurLines, m_item_to_line, m_ListCtrl, m_Scope, and text().
Referenced by OnTreeSelectionChanged().
◆ ClearListCtrl() void CClickableSortUniqueCount::ClearListCtrl ( void ) private ◆ ConnectListener() void CClickableSortUniqueCount::ConnectListener ( ) private ◆ Create() bool CClickableSortUniqueCount::Create ( wxWindow * parent, wxWindowID id =17000
, const wxString & caption = _("Clickable Sort Unique Count")
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(800, 600)
, long style = wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
) ◆ CreateControls() void CClickableSortUniqueCount::CreateControls ( )
Creates the controls and sizers.
Definition at line 182 of file csuc_frame.cpp.
References _, ID_CCLICKABLESORTUNIQUECOUNT_COLLAPSE, ID_CCLICKABLESORTUNIQUECOUNT_DISMISS, ID_CCLICKABLESORTUNIQUECOUNT_EXPAND, ID_CCLICKABLESORTUNIQUECOUNT_PANEL, ID_CCLICKABLESORTUNIQUECOUNT_REFRESH, ID_CCLICKABLESORTUNIQUECOUNT_TEXTCTRL, ID_CCLICKABLESORTUNIQUECOUNT_TREECTRL, LoadData(), m_ListCtrl, m_StatusText, m_TreeCtrl, and wxT.
Referenced by Create().
◆ DECLARE_EVENT_MAP() CClickableSortUniqueCount::DECLARE_EVENT_MAP ( ) private ◆ DisconnectListener() void CClickableSortUniqueCount::DisconnectListener ( ) private ◆ GetBitmapResource() wxBitmap CClickableSortUniqueCount::GetBitmapResource ( const wxString & name ) ◆ GetExpandedNodes() void CClickableSortUniqueCount::GetExpandedNodes ( wxTreeItemId id, set< string > & expanded_nodes ) private ◆ GetIconResource() wxIcon CClickableSortUniqueCount::GetIconResource ( const wxString & name ) ◆ Init() void CClickableSortUniqueCount::Init ( void ) ◆ LoadData() void CClickableSortUniqueCount::LoadData ( void ) privateDefinition at line 263 of file csuc_frame.cpp.
References _, _ASSERT, CJobAdapter::Cancel(), map_checker< Container >::clear(), ClearListCtrl(), DisconnectListener(), Error(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), GetViewObjects(), LOG_POST, m_FlatFileCtrl, m_IsBusy, m_item_to_line, m_JobAdapter, m_Scope, m_SelectionClient, m_SelectionClientAttached, m_StatusText, m_TreeCtrl, m_TreeDeleteAllItemsFlag, m_Workbench, CRef< C, Locker >::Reset(), CSelectionClient::SetSelectedObjects(), and CJobAdapter::Start().
Referenced by CreateControls(), and OnRefresh().
◆ OnChildFocus() void CClickableSortUniqueCount::OnChildFocus ( wxChildFocusEvent & evt ) ◆ OnCollapse() void CClickableSortUniqueCount::OnCollapse ( wxCommandEvent & event ) ◆ OnDataChanged() void CClickableSortUniqueCount::OnDataChanged ( CEvent * evt ) ◆ OnDismiss() void CClickableSortUniqueCount::OnDismiss ( wxCommandEvent & event )Definition at line 371 of file csuc_frame.cpp.
◆ OnExpand() void CClickableSortUniqueCount::OnExpand ( wxCommandEvent & event ) ◆ OnJobFailed() ◆ OnJobResult()Implements CJobAdapter::IJobCallback.
Definition at line 821 of file csuc_frame.cpp.
References _, ConnectListener(), IServiceLocator::GetServiceByType(), m_IsBusy, m_SelectionClient, m_SelectionClientAttached, m_StatusText, m_Workbench, CRef< C, Locker >::Reset(), result, and UpdateTree().
◆ OnListItemActivated() void CClickableSortUniqueCount::OnListItemActivated ( wxListEvent & event )Definition at line 751 of file csuc_frame.cpp.
References cmd, CreateEditorForObject(), CScope::eAllTSEs, ICommandProccessor::Execute(), f, CScope::GetAllTSEs(), CScope::GetBioseqHandle(), CConstRef< C, Locker >::GetPointer(), CBioseq_Handle::GetSeq_entry_Handle(), GetSeqEntryForSeqdesc(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), m_CurLines, m_Scope, m_Workbench, CEditObjViewDlgModal::SetEditor(), and CEditObjViewDlgModal::SetEditorWindow().
◆ OnListItemSelected() void CClickableSortUniqueCount::OnListItemSelected ( wxListEvent & event ) ◆ OnRefresh() void CClickableSortUniqueCount::OnRefresh ( wxCommandEvent & event ) ◆ OnTreeItemActivated() void CClickableSortUniqueCount::OnTreeItemActivated ( wxTreeEvent & event )Definition at line 604 of file csuc_frame.cpp.
References AddToBulkEditList(), cmd, ICommandProccessor::Execute(), CBulkCDS::GetCommand(), CBulkGene::GetCommand(), CBulkRna::GetCommand(), SrcEditDialog::GetCommand(), IServiceLocator::GetServiceByType(), CGBDocument::GetUndoManager(), m_Scope, m_TreeCtrl, m_Workbench, NULL, rna, ToWxString(), and wxT.
◆ OnTreeSelectionChanged() void CClickableSortUniqueCount::OnTreeSelectionChanged ( wxTreeEvent & event )Definition at line 503 of file csuc_frame.cpp.
References AddToListCtrl(), ClearListCtrl(), map_checker< Container >::end(), map_checker< Container >::find(), CSeq_id::fParse_Default, CSUCLine::GetAccession(), CScope::GetBioseqHandle(), CSUCLine::GetCount(), CSUCLine::GetRelatedObject(), CSUCLine::GetRelatedObjectCount(), m_FlatFileCtrl, m_item_to_line, m_ListCtrl, m_Scope, m_SelectionClient, m_SelectionClientAttached, m_TreeCtrl, m_TreeDeleteAllItemsFlag, and CSelectionClient::SetSelectedObjects().
◆ SetExpandedNodes() void CClickableSortUniqueCount::SetExpandedNodes ( wxTreeItemId id, const set< string > & expanded_nodes ) private ◆ ShowToolTips() bool CClickableSortUniqueCount::ShowToolTips ( ) static ◆ UpdateTree()Definition at line 429 of file csuc_frame.cpp.
References blocks, map_checker< Container >::clear(), ClearListCtrl(), CFlatFileConfig::fGenbankBlocks_Featheader, CSUCBlock::GetBlockLabel(), CSUCResults::GetBlocks(), GetExpandedNodes(), CSUCResults::GetOrder(), NStr::IsBlank(), label, m_item_to_line, m_TreeCtrl, m_TreeDeleteAllItemsFlag, SetExpandedNodes(), str(), text(), and NStr::TruncateSpacesInPlace().
Referenced by OnJobFailed(), and OnJobResult().
◆ m_CurLines vector<pair<CRef<CSUCLine>, size_t> > CClickableSortUniqueCount::m_CurLines private ◆ m_FlatFileCtrl ◆ m_IsBusy bool CClickableSortUniqueCount::m_IsBusy private ◆ m_item_to_line map<wxTreeItemId, CRef<CSUCLine> > CClickableSortUniqueCount::m_item_to_line private ◆ m_JobAdapter ◆ m_ListCtrl wxListCtrl* CClickableSortUniqueCount::m_ListCtrl private ◆ m_Scope ◆ m_SelectionClient ◆ m_SelectionClientAttached bool CClickableSortUniqueCount::m_SelectionClientAttached private ◆ m_StatusText wxStaticText* CClickableSortUniqueCount::m_StatusText private ◆ m_TreeCtrl wxTreeCtrl* CClickableSortUniqueCount::m_TreeCtrl private ◆ m_TreeDeleteAllItemsFlag bool CClickableSortUniqueCount::m_TreeDeleteAllItemsFlag private ◆ m_Workbench IWorkbench* CClickableSortUniqueCount::m_Workbench privateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4