wxScrolledWindow;
43 #define SYMBOL_COMPARE_WITH_BIOSAMPLE_STYLE wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxCAPTION|wxCLIP_CHILDREN|wxRESIZE_BORDER 44 #define SYMBOL_COMPARE_WITH_BIOSAMPLE_TITLE _("Compare with Biosample")
45 #define SYMBOL_COMPARE_WITH_BIOSAMPLE_IDNAME wxID_ANY 46 #define SYMBOL_COMPARE_WITH_BIOSAMPLE_SIZE wxDefaultSize 47 #define SYMBOL_COMPARE_WITH_BIOSAMPLE_POSITION wxDefaultPosition 48 #define ID_COPY_TO_SOURCE 12001 49 #define ID_COPY_TO_SAMPLE 12002 51 #define ID_MAKE_REPORT 12005 52 #define ID_CREATE_BIOSAMPLE 12006 53 #define ID_UPDATE_BIOSOURCE 12007 54 #define ID_REFRESH_BIOSAMPLE 12008 55 #define ID_APIKEY_BIOSAMPLE 12009 56 #define ID_ADD_TO_SOURCE 12010 57 #define ID_ADD_TO_SAMPLE 12011 68objects::CSeq_entry_Handle seh,
78 bool Create( wxWindow* parent,
99 bool IsReadOnlyColumn(
stringcolumn_name) {
if(column_name ==
"Field"|| column_name ==
"Biosample Id"|| column_name.empty() || column_name ==
"expand")
return true;
return false; };
109 void OnClickOk( wxCommandEvent& event );
182 #define ID_CFILELOCDIALOG 13000 183 #define ID_FILELOCTEXTCTRL 13001 184 #define SYMBOL_CFILELOCDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL 185 #define SYMBOL_CFILELOCDIALOG_TITLE _("Select File with BioSample API Key")
186 #define SYMBOL_CFILELOCDIALOG_IDNAME ID_CFILELOCDIALOG 187 #define SYMBOL_CFILELOCDIALOG_SIZE wxSize(400, 300) 188 #define SYMBOL_CFILELOCDIALOG_POSITION wxDefaultPosition 197DECLARE_EVENT_TABLE()
210 bool Create(wxWindow* parent,
map< string, CRef< CSeq_descr > > TBioSamples
void SetButton(wxButton *button)
void OnAddToSample(wxCommandEvent &event)
void OnAddToSource(wxCommandEvent &event)
CCompareWithBiosample(wxWindow *parent, objects::CSeq_entry_Handle seh, ICommandProccessor *cmdProcessor, bool all_records, wxWindowID id=wxID_ANY, const wxString &caption=_("Compare with Biosample"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxCAPTION|wxCLIP_CHILDREN|wxRESIZE_BORDER)
CRef< objects::CSeq_table > GetChoices(CRef< objects::CSeq_table > values_table)
CStringConstraintSelect * m_StringConstraintPanel
wxScrolledWindow * m_ScrolledWindow
void OnSyncButtonClick(wxCommandEvent &event)
ICommandProccessor * m_CmdProcessor
void CreateBiosampleUpdateWebService(wxCommandEvent &event)
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
CRef< objects::CSeq_table > GetValuesTableFromSeqEntry()
CRef< objects::CSeqTable_column > m_id_col
void OnRefresh(wxCommandEvent &event)
void OnClickCancel(wxCommandEvent &event)
void x_AddTablePanel(CRef< objects::CSeq_table > values_table)
map< pair< string, string >, unordered_map< string, pair< set< string >, set< string > > > > m_DiffVec
~CCompareWithBiosample()
Destructor.
void Init()
Initialises member variables.
CSeqTableGridPanel * m_GridPanel
void OnCopyToSourceButtonClick(wxCommandEvent &event)
void OnNewAPIKey(wxCommandEvent &event)
wxButton * m_RefreshButton
map< string, CConstRef< CSeq_id > > m_ids
wxBoxSizer * m_GridPanelSizer
wxString x_ReportBiosampleUpdate(const string &str, bool &has_error)
CSeq_entry_Handle m_TopSeqEntry
bool IsReadOnlyColumn(string column_name)
void GetSelectedRows(std::set< int > &selected)
biosample_util::TBioSamples m_Cache
void CreateControls()
Creates the controls and sizers.
void OnCopyToSampleButtonClick(wxCommandEvent &event)
void x_ReadBioSampleApiKey()
CApplyEditconvertPanel * m_AecrPanel
CCompareWithBiosample()
Constructors.
bool Create(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &caption=_("Compare with Biosample"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxMINIMIZE_BOX|wxMAXIMIZE_BOX|wxCLOSE_BOX|wxCAPTION|wxCLIP_CHILDREN|wxRESIZE_BORDER)
Creation.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
void MakeReport(wxCommandEvent &event)
void SaveSettings() const
void OnClickOk(wxCommandEvent &event)
static bool ShowToolTips()
Should we show tooltips?
void OnOpenFile(wxCommandEvent &event)
string GetFilename() const
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
CFileLocDialog()
Constructors.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
~CFileLocDialog()
Destructor.
static bool ShowToolTips()
Should we show tooltips?
void CreateControls()
Creates the controls and sizers.
void Init()
Initialises member variables.
bool Create(wxWindow *parent, wxWindowID id=13000, const wxString &caption=_("Select File with BioSample API Key"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
Undo/Redo interface for editing operations.
#define SYMBOL_CFILELOCDIALOG_IDNAME
#define SYMBOL_COMPARE_WITH_BIOSAMPLE_IDNAME
#define SYMBOL_COMPARE_WITH_BIOSAMPLE_POSITION
#define SYMBOL_CFILELOCDIALOG_TITLE
#define SYMBOL_COMPARE_WITH_BIOSAMPLE_STYLE
#define SYMBOL_COMPARE_WITH_BIOSAMPLE_TITLE
#define SYMBOL_CFILELOCDIALOG_STYLE
#define SYMBOL_CFILELOCDIALOG_SIZE
#define SYMBOL_COMPARE_WITH_BIOSAMPLE_SIZE
#define SYMBOL_CFILELOCDIALOG_POSITION
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
const struct ncbi::grid::netcache::search::fields::SIZE size
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