1 #ifndef GUI_PKG_SEQ_EDIT___ORGGENERAL_PANEL__HPP
2 #define GUI_PKG_SEQ_EDIT___ORGGENERAL_PANEL__HPP
50 #define SYMBOL_CORGGENERALPANEL_STYLE wxTAB_TRAVERSAL
51 #define SYMBOL_CORGGENERALPANEL_TITLE _("Organism General Panel")
52 #define SYMBOL_CORGGENERALPANEL_IDNAME ID_CORGGENERALPANEL
53 #define SYMBOL_CORGGENERALPANEL_SIZE wxSize(400, 300)
54 #define SYMBOL_CORGGENERALPANEL_POSITION wxDefaultPosition
72 objects::CSeq_entry_Handle seh,
79 bool Create( wxWindow* parent,
92 void CreateControls();
94 void ApplyBioSource(objects::CBioSource& src);
95 virtual bool TransferDataToWindow();
96 virtual bool TransferDataFromWindow();
100 virtual wxString
GetAnchor() {
return _(
"organism-info-general"); }
111 wxBitmap GetBitmapResource(
const wxString& name );
114 wxIcon GetIconResource(
const wxString& name );
118 static bool ShowToolTips();
128 bool x_ApplyChangesToSource(objects::CBioSource& src);
129 bool x_HasTaxnameChanged(
const objects::CBioSource& orig_src,
const objects::CBioSource& edited_src);
140 ID_CORGGENERALPANEL = 6580,
141 ID_ORGTAXNAME = 6581,
143 ID_ORGISOLATE = 6583,
144 ID_ORGCULTIVAR = 6584,
virtual wxString GetAnchor()
objects::CSeq_entry_Handle m_Seh
void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
ICommandProccessor * m_CmdProcessor
COrgGeneralPanel(wxWindow *parent, ICommandProccessor *cmdproc, objects::CSeq_entry_Handle seh, wxWindowID id=ID_CORGGENERALPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
virtual wxString GetName() const
CRef< objects::CBioSource > m_Source
Undo/Redo interface for editing operations.
virtual void ApplyCommand()
virtual void ReportMissingFields(string &text)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_EDIT_EXPORT
Defines to provide correct exporting from DLLs in Windows.
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
#define SYMBOL_CORGGENERALPANEL_SIZE
#define SYMBOL_CORGGENERALPANEL_STYLE
#define SYMBOL_CORGGENERALPANEL_TITLE
#define SYMBOL_CORGGENERALPANEL_IDNAME
#define SYMBOL_CORGGENERALPANEL_POSITION