: m_Workbench(wb), m_Seh(seh), m_CmdProcessor(cmdproc), m_WorkDir(dir)
93SetExtraStyle(wxWS_EX_VALIDATE_RECURSIVELY);
94wxPanel::Create( parent,
id, pos,
size, style );
99GetSizer()->SetSizeHints(
this);
146wxBoxSizer* itemBoxSizer2 =
newwxBoxSizer(wxVERTICAL);
147itemPanel1->SetSizer(itemBoxSizer2);
149wxBoxSizer* itemBoxSizer1 =
newwxBoxSizer(wxHORIZONTAL);
150itemBoxSizer2->Add(itemBoxSizer1, 0, wxALIGN_LEFT|wxALL, 5);
152wxButton* itemButton2 =
newwxButton( itemPanel1,
ID_ORGINFOBTN,
_(
"Import tab-delimited table"), wxDefaultPosition, wxDefaultSize, 0 );
153itemBoxSizer1->Add(itemButton2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
156itemBoxSizer2->Add(
m_Listbook, 1, wxGROW | wxALL, 5);
166wxBookCtrlBase::Images m_Images(
m_Listbook->GetPageCount(), bmp_bundle);
168 for(
unsigned i= 0;
i< m_Images.size(); ++
i) {
189wxWindow *win =
m_Listbook->GetCurrentPage();
192 returnwin->TransferDataFromWindow();
209 if(!
m_Seh)
return;
213vector<string> format_ids;
214format_ids.push_back(
"file_loader_qual_table");
215fileManager->LoadFormats(format_ids);
218 for(
size_t i= 0;
i< fileManager->GetFormatManagers().
size(); ++
i) {
223 if(const_qual_mgr) {
231vector<CIRef<IOpenObjectsPanelClient> > loadManagers;
235dlg.SetSize(760, 940);
236dlg.Centre(wxBOTH|wxCENTRE_ON_SCREEN);
237dlg.SetMinSize(wxSize(760, 940));
241 if(dlg.ShowModal() == wxID_OK) {
287 if(desc.IsSource()) {
295 for(
size_t i= 0;
i<
m_Listbook->GetPageCount(); ++
i) {
298 returnwxPanel::TransferDataToWindow();
305page->ApplyCommand();
313wxWindow *win =
m_Listbook->GetCurrentPage();
342 returnpage->GetAnchor();
344 returnwxEmptyString;
351 returnpage->GetName();
353 returnwxEmptyString;
void x_TableReaderMacro(bool modal=false)
virtual void SetRegistryPath(const string &path)
void SetManagers(vector< CIRef< IOpenObjectsPanelClient > > &managers)
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
void ApplyBioSource(objects::CBioSource &src)
void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
void ApplyBioSource(objects::CBioSource &src)
COrgGeneralPanel * m_GeneralPanel
virtual wxString GetName() const
bool Create(wxWindow *parent, wxWindowID id=ID_CORGANISMINFOPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
void OnPageChanging(wxBookCtrlEvent &event)
~COrganismInfoPanel()
Destructor.
ICommandProccessor * m_CmdProcessor
virtual void ReportMissingFields(string &text)
virtual bool StepForward()
objects::CSeq_entry_Handle m_Seh
virtual void ApplyDescriptor(objects::CSeqdesc &desc)
virtual wxString GetAnchor()
void OnPageChanged(wxBookCtrlEvent &event)
COrgAdvancedPanel * m_AdvancedPanel
virtual void ApplyCommand()
static bool ShowToolTips()
Should we show tooltips?
void Init()
Initialises member variables.
virtual void SetSeqEntryHandle(objects::CSeq_entry_Handle seh)
virtual bool TransferDataFromWindow()
COrganismInfoPanel()
Constructors.
virtual bool TransferDataToWindow()
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void CreateControls()
Creates the controls and sizers.
void OnImportSrcTable(wxCommandEvent &event)
virtual bool StepBackward()
ISubmissionPage * x_GetCurrentPage() const
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
virtual void SetServiceLocator(IServiceLocator *srv_locator)
Sets / unsets Service Locator.
CAttribTableColumnIdPanel * x_GetColumnIdPanel()
void SetTopLevelEntry(CSeq_entry_Handle seq_entry)
virtual void UpdateOnPageChange(wxWindow *current_page)=0
Undo/Redo interface for editing operations.
virtual string GetFileLoaderId() const =0
bool x_DoStepForward(wxListbook *book)
virtual void ReportMissingFields(string &text)
bool x_DoStepBackward(wxListbook *book)
CSubmissionPageChangeListener * GetParentWizard(wxWindow *wnd) const
IWorkbench is the central interface in the application framework.
GUI command routing and handling framework.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
TObjectType * GetPointerOrNull(void) THROWS_NONE
Get pointer value.
#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[]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4