NCBI C++ ToolKit
|
Search Toolkit Book for CStructCommentSubpanel
#include <gui/packages/pkg_sequence_edit/segregate_sets.hpp>
Public Member Functions | |
CStructCommentSubpanel () | |
CStructCommentSubpanel (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style) | |
virtual void | CreateControlsMiddle () |
virtual void | OnSelectButton (CSegregateSetsBase *win) |
virtual void | SetClusters () |
void | OnChoiceChanged (wxCommandEvent &event) |
Public Member Functions inherited from CRBSubpanel | |
CRBSubpanel () | |
CRBSubpanel (wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, long style) | |
bool | Create (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) |
virtual | ~CRBSubpanel () |
bool | ShowToolTips () |
wxBitmap | GetBitmapResource (const wxString &name) |
wxIcon | GetIconResource (const wxString &name) |
void | CreateControlsHeader () |
void | CreateControlsFooter () |
virtual void | Init () |
void | CreateControls () |
void | UpdateList () |
void | OnButtonMoveLeft (wxCommandEvent &event) |
void | OnButtonMoveRight (wxCommandEvent &event) |
void | OnSelect (wxCommandEvent &event) |
void | OnSelectAll (wxCommandEvent &event) |
void | OnUnselectAll (wxCommandEvent &event) |
vector< vector< int > > & | GetSubsets () |
CSegregateSetsBase * | GetBaseFrame () |
string | GetLabel (objects::CSeq_entry_Handle seh) |
bool | MatchConstraint (CRef< objects::edit::CStringConstraint > constraint, objects::CSeq_entry_Handle seh) |
CRBSubpanel * | GetEventCaller (wxCommandEvent &event) |
void | SetSubsets (const set< objects::CBioseq_Handle > &selected) |
Private Types | |
enum | { ID_STRCOMMENT_CHOICE = 8040 } |
Private Member Functions | |
void | GetAllLabels (wxArrayString &choices) |
void | GetLabelsFromSeq (objects::CSeq_entry_Handle seh, set< string > &labels) |
Private Attributes | |
wxChoice * | m_Label |
Additional Inherited Members | |
Protected Attributes inherited from CRBSubpanel | |
wxTreeCtrl * | m_TreeCtrl |
wxListCtrl * | m_ListCtrl2 |
vector< vector< int > > | m_Subsets |
vector< int > | m_Available |
map< string, vector< pair< int, string > > > | m_Clusters |
Definition at line 387 of file segregate_sets.hpp.
|
private |
Enumerator | |
---|---|
ID_STRCOMMENT_CHOICE |
Definition at line 404 of file segregate_sets.hpp.
|
inline |
Definition at line 393 of file segregate_sets.hpp.
References CRBSubpanel::Init().
|
inline |
Definition at line 394 of file segregate_sets.hpp.
References CRBSubpanel::Create(), CRBSubpanel::Init(), and ncbi::grid::netcache::search::fields::size.
|
virtual |
Reimplemented from CRBSubpanel.
Definition at line 1846 of file segregate_sets.cpp.
References wxFIXED_MINSIZE.
|
private |
Definition at line 1865 of file segregate_sets.cpp.
References set< Key, Compare >::begin(), set< Key, Compare >::end(), CRBSubpanel::GetBaseFrame(), GetLabelsFromSeq(), CSegregateSetsBase::GetSeqEntry(), CSegregateSetsBase::GetSetSize(), i, and label.
|
private |
Definition at line 1881 of file segregate_sets.cpp.
References CUser_field_Base::CanGetLabel(), CSeqdesc_Base::e_User, CUser_object_Base::GetData(), CUser_field_Base::GetLabel(), CObject_id_Base::GetStr(), CUser_object_Base::GetType(), CSeqdesc_Base::GetUser(), i, set< Key, Compare >::insert(), CUser_object_Base::IsSetData(), CUser_object_Base::IsSetType(), CObject_id_Base::IsStr(), and label.
Referenced by GetAllLabels(), OnSelectButton(), and SetClusters().
void CStructCommentSubpanel::OnChoiceChanged | ( | wxCommandEvent & | event | ) |
Definition at line 1858 of file segregate_sets.cpp.
References SetClusters(), and CRBSubpanel::UpdateList().
|
virtual |
Reimplemented from CRBSubpanel.
Definition at line 1907 of file segregate_sets.cpp.
References set< Key, Compare >::end(), set< Key, Compare >::find(), GetLabelsFromSeq(), CSegregateSetsBase::GetSeqEntry(), i, label, CRBSubpanel::m_Available, m_Label, and CRBSubpanel::m_Subsets.
|
virtual |
Reimplemented from CRBSubpanel.
Definition at line 1930 of file segregate_sets.cpp.
References map_checker< Container >::clear(), set< Key, Compare >::empty(), set< Key, Compare >::erase(), CRBSubpanel::GetBaseFrame(), CRBSubpanel::GetLabel(), GetLabelsFromSeq(), CSegregateSetsBase::GetSeqEntry(), CSegregateSetsBase::GetSetSize(), i, NStr::Join(), kEmptyStr, label, and CRBSubpanel::m_Clusters.
Referenced by OnChoiceChanged().
|
private |
Definition at line 400 of file segregate_sets.hpp.
Referenced by OnSelectButton().