28 #ifndef _FEATUREGENEPANEL_H_
29 #define _FEATUREGENEPANEL_H_
43 #include <wx/choice.h>
44 #include <wx/listbox.h>
45 #include <wx/checkbox.h>
46 #include <wx/textctrl.h>
47 #include <wx/radiobox.h>
48 #include <wx/button.h>
65 #define SYMBOL_CFEATUREGENEPANEL_STYLE wxTAB_TRAVERSAL
66 #define SYMBOL_CFEATUREGENEPANEL_TITLE _("FeatureGenePanel")
67 #define SYMBOL_CFEATUREGENEPANEL_IDNAME ID_CFEATUREGENEPANEL
68 #define SYMBOL_CFEATUREGENEPANEL_SIZE wxDefaultSize
69 #define SYMBOL_CFEATUREGENEPANEL_POSITION wxDefaultPosition
vector< CConstRef< objects::CSeq_feat > > m_GeneFeatList
static bool ShowToolTips()
Should we show tooltips?
void Init()
Initialises member variables.
CFeatureGenePanel()
Constructors.
CConstRef< objects::CSeq_feat > GetGeneToEdit()
void OnClickSuppress(wxCommandEvent &event)
wxEVT_COMMAND_CHECKBOX_CLICKED event handler for ID_CHECKBOX13
bool Create(wxWindow *parent, wxWindowID id=ID_CFEATUREGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
Creation.
CRef< objects::CGene_ref > m_GeneRef
void SetModifyPseudo(bool modify_pseudo, const string &pseudo_choice)
CRef< objects::CSeq_loc > GetLocationForGene()
CConstRef< objects::CSeq_feat > m_OverlappingGene
CRef< objects::CScope > m_Scope
CRef< objects::CSeq_feat > GetNewGene()
void AddReciprocicalXref(CRef< objects::CSeq_feat > gene_feat)
CRef< objects::CSeq_feat > GetUpdatedGene()
void OnSelectGene(wxCommandEvent &event)
wxEVT_COMMAND_CHOICE_SELECTED event handler for ID_CHOICE16
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
~CFeatureGenePanel()
Destructor.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void OnEditGene(wxCommandEvent &event)
vector< CConstRef< objects::CGene_ref > > m_GeneList
CFeatureGenePanel(wxWindow *parent, CSerialObject &object, objects::CScope &scope, wxWindowID id=ID_CFEATUREGENEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
CGenePanel * m_GeneRefPanel
virtual bool TransferDataFromWindow()
void CreateControls()
Creates the controls and sizers.
wxButton * m_ButtonEditGene
Base class for all serializable objects.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define SYMBOL_CFEATUREGENEPANEL_POSITION
#define SYMBOL_CFEATUREGENEPANEL_SIZE
#define SYMBOL_CFEATUREGENEPANEL_STYLE
#define SYMBOL_CFEATUREGENEPANEL_IDNAME
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size