31 #include "wx/imaglist.h"
34 #include <wx/msgdlg.h>
95 wxPanel::Create( parent,
id, pos,
size, style );
100 GetSizer()->SetSizeHints(
this);
140 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
141 itemPanel1->SetSizer(itemBoxSizer2);
194 return wxPanel::TransferDataToWindow();
200 if (!wxPanel::TransferDataFromWindow())
245 wxMessageBox(
"Would you like to load default lineage and genetic code values for this organism?",
"Please confirm", wxICON_QUESTION | wxYES_NO) == wxYES )
static bool AutoFill(objects::COrg_ref &org)
void PopulateBioSource(objects::CBioSource &source)
void OnChangedTaxname(void)
void PopulateLocAndGC(objects::CBioSource &source)
static CConstRef< COrg_ref > TableLookup(const string &taxname)
void OnChangedTaxname(void)
void TransferToOrgRef(objects::COrg_ref &org)
void TransferFromOrgRef(const objects::COrg_ref &org)
~CSrcDescEditorPanel()
Destructor.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual bool TransferDataToWindow()
virtual bool TransferDataFromWindow()
virtual void UpdateTaxname()
CBioSourcePanel * m_SrcPanel
static bool ShowToolTips()
Should we show tooltips?
CLocAndGCodePanel * m_LocAndGCodePanel
void CreateControls()
Creates the controls and sizers.
bool Create(wxWindow *parent, wxWindowID id=ID_CSRCDESCEDITORPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
wxTreebook * m_SourceTreebook
CSrcDescEditorPanel()
Constructors.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CSourceOtherPanel * m_SrcOtherPanel
virtual void UpdateSeqdesc(objects::CSeqdesc &desc)
void Init()
Initialises member variables.
virtual void ChangeSeqdesc(const objects::CSeqdesc &desc)
CRef< objects::CBioSource > m_BioSource
static void cleanup(void)
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)
Check if a string is blank (has no text).
void SetOrg(TOrg &value)
Assign a value to Org data member.
const TTaxname & GetTaxname(void) const
Get the Taxname member data.
bool IsSetTaxname(void) const
preferred formal name Check if a value has been assigned to Taxname data member.
const TSource & GetSource(void) const
Get the variant data.
TSource & SetSource(void)
Select the variant.
const struct ncbi::grid::netcache::search::fields::SIZE size