1 #ifndef GUI_WIDGETS_EDIT___MACRO_FEATS_ON_SEQ_CONSTRAINT_PANEL__HPP
2 #define GUI_WIDGETS_EDIT___MACRO_FEATS_ON_SEQ_CONSTRAINT_PANEL__HPP
52 #define ID_MACRO_FEATS_ON_SEQ wxID_ANY
53 #define ID_MACRO_FEATS_CHOICE 10089
54 #define ID_MACRO_FEATS_LENGTHTEXT 10090
55 #define ID_MACRO_FEATS_DISTCHOICE1 10091
56 #define ID_MACRO_FEATS_DISTCHOICE2 10092
57 #define SYMBOL_MACRO_FEATS_ON_SEQ_STYLE wxTAB_TRAVERSAL
58 #define SYMBOL_MACRO_FEATS_ON_SEQ_IDNAME ID_MACRO_FEATS_ON_SEQ
59 #define SYMBOL_MACRO_FEATS_ON_SEQ_SIZE wxDefaultSize
60 #define SYMBOL_MACRO_FEATS_ON_SEQ_POSITION wxDefaultPosition
82 bool Create( wxWindow* parent,
115 virtual vector<CFuncWithArgs>
GetFuncWithArgs(
const pair<string, string>& target,
size_t num)
const;
116 virtual pair<string, string>
GetMatcher(
const pair<string, string>& target,
size_t num);
wxChoice * m_Dist3EndChoice
void OnDistanceSelected(wxCommandEvent &event)
string GetLocationConstraint(const string &feat, const string &target)
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void OnLengthTextCtrlUpdate(wxUpdateUIEvent &event)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
string GetDescription(const string &feat) const
CFeatureTypePanel * m_FeatureType
virtual void SetMatcher(const vector< CFuncWithArgs > &func_info)
wxChoice * m_SeqReprChoice
wxTextCtrl * m_3EndDistance
~CMacroFeatsOnSeqPanel()
Destructor.
wxChoice * m_FirstFeatureChoice
wxChoice * m_LengthChoice
wxArrayString x_GetFeatureChoices()
wxChoice * m_Dist5EndChoice
virtual vector< CFuncWithArgs > GetFuncWithArgs(const pair< string, string > &target, size_t num) const
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
static bool ShowToolTips()
Should we show tooltips?
CMacroFeatsOnSeqPanel()
Constructors.
wxTextCtrl * m_5EndDistance
void CreateControls()
Creates the controls and sizers.
virtual pair< string, string > GetMatcher(const pair< string, string > &target, size_t num)
void Init()
Initialises member variables.
wxChoice * m_LastFeatureChoice
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define SYMBOL_MACRO_FEATS_ON_SEQ_POSITION
#define SYMBOL_MACRO_FEATS_ON_SEQ_STYLE
#define SYMBOL_MACRO_FEATS_ON_SEQ_SIZE
#define SYMBOL_MACRO_FEATS_ON_SEQ_IDNAME
const struct ncbi::grid::netcache::search::fields::SIZE size