89 wxPanel::Create( parent,
id, pos,
size, style );
94 GetSizer()->SetSizeHints(
this);
134 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
135 itemPanel1->SetSizer(itemBoxSizer2);
137 wxArrayString m_SetClassStrings;
138 m_SetClass =
new wxChoice( itemPanel1,
ID_CHOICE19, wxDefaultPosition, wxDefaultSize, m_SetClassStrings, 0 );
139 itemBoxSizer2->Add(
m_SetClass, 0, wxALIGN_CENTER_HORIZONTAL|wxALL, 0);
187 switch (class_type) {
201 rval =
"Gen-prod-set";
213 rval =
"Named-annot";
216 rval =
"Named-annot-prod";
228 rval =
"Paired-end-reads";
255 rval =
"Small-genome-set";
322 wxWindow* parent = this->GetParent();
324 while (parent && !listener)
326 parent = parent->GetParent();
void Init()
Initialises member variables.
bool Create(wxWindow *parent, wxWindowID id=ID_CSETCLASSPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void OnChoice19Selected(wxCommandEvent &event)
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE19
static bool ShowToolTips()
Should we show tooltips?
objects::CBioseq_set::EClass GetClass()
void CreateControls()
Creates the controls and sizers.
~CSetClassPanel()
Destructor.
static string GetClassName(objects::CBioseq_set::TClass class_type)
CSetClassPanel()
Constructors.
void SetClass(objects::CBioseq_set::EClass class_type)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual void ChangeNotify(void)=0
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool EqualNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)
Case-insensitive equality of a substring with another string.
@ eClass_named_annot_prod
with instantiated mRNA+protein
@ eClass_equiv
a set of equivalent maps or seqs
@ eClass_parts
parts for 2 or 3
@ eClass_named_annot
named annotation set
@ eClass_pop_set
population study
@ eClass_phy_set
phylogenetic study
@ eClass_conset
constructed sequence + parts
@ eClass_wgs_set
whole genome shotgun project
@ eClass_mut_set
set of mutations
@ eClass_pir
converted pir
@ eClass_paired_end_reads
paired sequences within a read-set
@ eClass_eco_set
ecological sample study
@ eClass_nuc_prot
nuc acid and coded proteins
@ eClass_gibb
geninfo backbone
@ eClass_gen_prod_set
genomic products, chrom+mRNA+protein
@ eClass_pdb_entry
a complete PDB entry
@ eClass_genbank
converted genbank
@ eClass_read_set
set from a single read
@ eClass_swissprot
converted SWISSPROT
@ eClass_segset
segmented sequence + parts
@ eClass_small_genome_set
viral segments or mitochondrial minicircles
@ eClass_pub_set
all the seqs from a single publication
const struct ncbi::grid::netcache::search::fields::SIZE size
CBioseq_set::TClass GetClassType(const string &class_name)
wxString ToWxString(const string &s)
string ToStdString(const wxString &s)