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

Search Toolkit Book for CStructCommentSubpanel

#include <gui/packages/pkg_sequence_edit/segregate_sets.hpp>

+ Inheritance diagram for CStructCommentSubpanel:
+ Collaboration diagram for CStructCommentSubpanel:

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 ()
 
CSegregateSetsBaseGetBaseFrame ()
 
string GetLabel (objects::CSeq_entry_Handle seh)
 
bool MatchConstraint (CRef< objects::edit::CStringConstraint > constraint, objects::CSeq_entry_Handle seh)
 
CRBSubpanelGetEventCaller (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< intm_Available
 
map< string, vector< pair< int, string > > > m_Clusters
 

Detailed Description

Definition at line 387 of file segregate_sets.hpp.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
ID_STRCOMMENT_CHOICE 

Definition at line 404 of file segregate_sets.hpp.

Constructor & Destructor Documentation

◆ CStructCommentSubpanel() [1/2]

CStructCommentSubpanel::CStructCommentSubpanel ( )
inline

Definition at line 393 of file segregate_sets.hpp.

References CRBSubpanel::Init().

◆ CStructCommentSubpanel() [2/2]

CStructCommentSubpanel::CStructCommentSubpanel ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos,
const wxSize &  size,
long  style 
)
inline

Member Function Documentation

◆ CreateControlsMiddle()

void CStructCommentSubpanel::CreateControlsMiddle ( )
virtual

Reimplemented from CRBSubpanel.

Definition at line 1846 of file segregate_sets.cpp.

References wxFIXED_MINSIZE.

◆ GetAllLabels()

void CStructCommentSubpanel::GetAllLabels ( wxArrayString &  choices)
private

◆ GetLabelsFromSeq()

void CStructCommentSubpanel::GetLabelsFromSeq ( objects::CSeq_entry_Handle  seh,
set< string > &  labels 
)
private

◆ OnChoiceChanged()

void CStructCommentSubpanel::OnChoiceChanged ( wxCommandEvent &  event)

Definition at line 1858 of file segregate_sets.cpp.

References SetClusters(), and CRBSubpanel::UpdateList().

◆ OnSelectButton()

void CStructCommentSubpanel::OnSelectButton ( CSegregateSetsBase win)
virtual

◆ SetClusters()

void CStructCommentSubpanel::SetClusters ( void  )
virtual

Member Data Documentation

◆ m_Label

wxChoice* CStructCommentSubpanel::m_Label
private

Definition at line 400 of file segregate_sets.hpp.

Referenced by OnSelectButton().


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