1 #ifndef GUI_PKG_SEQ_EDIT___GENERAL_PANEL__HPP
2 #define GUI_PKG_SEQ_EDIT___GENERAL_PANEL__HPP
41 class wxDatePickerCtrl;
53 #define SYMBOL_CGENERALPANEL_STYLE wxTAB_TRAVERSAL
54 #define SYMBOL_CGENERALPANEL_TITLE _("General Panel")
55 #define SYMBOL_CGENERALPANEL_IDNAME ID_CGENERALPANEL
56 #define SYMBOL_CGENERALPANEL_SIZE wxSize(400, 300)
57 #define SYMBOL_CGENERALPANEL_POSITION wxDefaultPosition
75 objects::CSeq_entry_Handle seh,
82 bool Create( wxWindow* parent,
95 void CreateControls();
97 virtual bool TransferDataToWindow();
98 virtual bool TransferDataFromWindow();
103 void OnSubmitterImmediateSelected( wxCommandEvent& event );
106 void OnSubmitterHupSelected( wxCommandEvent& event );
113 wxBitmap GetBitmapResource(
const wxString& name );
116 wxIcon GetIconResource(
const wxString& name );
120 static bool ShowToolTips();
126 void ApplyDescriptorCommand();
141 ID_CGENERALPANEL = 6532,
142 ID_SUBMITTER_BIOPROJECT = 6533,
143 ID_SUBMITTER_BIOSAMPLE = 6534,
144 ID_SUBMITTER_IMMEDIATE = 6535,
145 ID_SUBMITTER_HUP = 6536,
146 ID_DATEPICKERCTRL = 6537
157 void x_UpdateBlockControls();
158 void x_UpdateDescControls();
CRef< objects::CSubmit_block > m_Block
virtual wxString GetName() const
CRef< objects::CSeqdesc > m_Dblink
virtual wxString GetAnchor()
wxDatePickerCtrl * m_Date
objects::CSeq_entry_Handle m_Seh
wxRadioButton * m_ImmediateRelease
wxTextCtrl * m_Bioproject
ICommandProccessor * m_CmdProcessor
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
Undo/Redo interface for editing operations.
virtual void ApplyCommand()
virtual void ApplyDescriptor(objects::CSeqdesc &desc)
virtual void ApplySubmitBlock(objects::CSubmit_block &block)
#define SYMBOL_CGENERALPANEL_POSITION
#define SYMBOL_CGENERALPANEL_TITLE
#define SYMBOL_CGENERALPANEL_STYLE
#define SYMBOL_CGENERALPANEL_IDNAME
#define SYMBOL_CGENERALPANEL_SIZE
#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.
const struct ncbi::grid::netcache::search::fields::SIZE size
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.