37 #include <wx/listbook.h>
70 : m_CmdProcessor(cmdproc), m_Seh(seh)
84 SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
85 wxPanel::Create( parent,
id, pos,
size, style );
90 GetSizer()->SetSizeHints(
this);
137 wxBoxSizer* itemBoxSizer2 =
new wxBoxSizer(wxVERTICAL);
138 itemPanel1->SetSizer(itemBoxSizer2);
141 itemBoxSizer2->Add(
m_Listbook, 1, wxGROW | wxALL, 5);
154 wxBookCtrlBase::Images m_Images(
m_Listbook->GetPageCount(), bmp_bundle);
156 for (
unsigned i = 0;
i < m_Images.size(); ++
i) {
219 return wxPanel::TransferDataToWindow();
231 page->ApplyCommand();
269 return page->GetAnchor();
271 return wxEmptyString;
278 return page->GetName();
280 return wxEmptyString;
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
CSeqSubChromoPanel * m_ChromosomePanel
virtual bool StepBackward()
virtual void ApplyCommand()
void OnPageChanged(wxBookCtrlEvent &event)
ISubmissionPage * x_GetCurrentPage() const
virtual wxString GetAnchor()
~CSubMolinfoPanel()
Destructor.
CSeqSubOrganellePanel * m_OrganellePanel
virtual void ReportMissingFields(string &text)
void OnPageChanging(wxBookCtrlEvent &event)
bool Create(wxWindow *parent, wxWindowID id=ID_CSUBMOLINFOPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void Init()
Initialises member variables.
void CreateControls()
Creates the controls and sizers.
static bool ShowToolTips()
Should we show tooltips?
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
virtual wxString GetName() const
ICommandProccessor * m_CmdProcessor
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CSubMolinfoPanel()
Constructors.
CSeqSubPlasmidPanel * m_PlasmidPanel
objects::CSeq_entry_Handle m_Seh
virtual bool StepForward()
virtual bool TransferDataToWindow()
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
virtual void UpdateOnPageChange(wxWindow *current_page)=0
Undo/Redo interface for editing operations.
bool x_DoStepForward(wxListbook *book)
virtual void ReportMissingFields(string &text)
bool x_DoStepBackward(wxListbook *book)
CSubmissionPageChangeListener * GetParentWizard(wxWindow *wnd) const
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static void text(MDB_val *v)
const struct ncbi::grid::netcache::search::fields::SIZE size
static const char * empty_xpm[]