30 #ifndef _USER_OBJECT_UTIL_H_
31 #define _USER_OBJECT_UTIL_H_
39 #include <wx/scrolwin.h>
61 virtual bool IsEligible(
const objects::CUser_field& field) = 0;
62 virtual bool IsEmpty(
const objects::CUser_field& field) = 0;
74 virtual bool IsEligible(
const objects::CUser_field& field);
75 virtual bool IsEmpty(
const objects::CUser_field& field);
91 virtual bool IsEligible(
const objects::CUser_field& field);
92 virtual bool IsEmpty(
const objects::CUser_field& field);
128 bool IsLastRow(wxWindow* wnd, wxSizerItemList& itemList);
User-defined methods of the data storage class.
virtual ~CAssemblyTrackFieldManager()
virtual CSingleUserFieldPanel * MakeEditor(wxWindow *parent, objects::CUser_field &field)
virtual bool IsEmpty(const objects::CUser_field &field)
CAssemblyTrackFieldManager()
virtual bool IsEligible(const objects::CUser_field &field)
virtual CRef< objects::CUser_field > GetUserField(wxWindow *ctrl)
bool x_IsTypeString(const string &str)
virtual CRef< objects::CUser_field > GetUserField(wxWindow *ctrl)
virtual CSingleUserFieldPanel * MakeEditor(wxWindow *parent, objects::CUser_field &field)
virtual bool IsEligible(const objects::CUser_field &field)
CRefGeneTrackFieldManager()
virtual bool IsEmpty(const objects::CUser_field &field)
static bool x_HasPopulatedFields(const objects::CUser_field &field)
virtual ~CRefGeneTrackFieldManager()
virtual ~CSingleUserFieldPanel()
virtual CRef< objects::CUser_field > GetUser_field()=0
CRef< objects::CUser_field > m_Field
wxScrolledWindow * m_ScrolledWindow
void SetNeedsEmptyLastRow(bool val)
virtual bool TransferDataToWindow()
virtual void AddLastField(wxWindow *link)
vector< CRef< objects::CUser_field > > m_Fields
CRef< objects::CUser_object > m_UserObj
void SetUser_object(CRef< objects::CUser_object > user)
void PopulateFields(objects::CUser_object &user_obj)
virtual bool TransferDataFromWindow()
wxWindow * x_AddRow(CRef< objects::CUser_field > field, wxScrolledWindow *scrolled_window, wxBoxSizer *sizer)
CUserFieldManager * m_FieldManager
virtual ~CUserFieldManager()
virtual CRef< objects::CUser_field > GetUserField(wxWindow *ctrl)=0
virtual bool IsEligible(const objects::CUser_field &field)=0
virtual CSingleUserFieldPanel * MakeEditor(wxWindow *parent, objects::CUser_field &field)=0
virtual bool IsEmpty(const objects::CUser_field &field)=0
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.
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table
CRef< objects::CSeq_table > SeqTableFromAssemblyFields(const objects::CUser_object &obj)
CRef< objects::CSeq_table > ReadTabDelimitedTable(const wxString &filename, bool read_header)
bool IsLastRow(wxWindow *wnd, wxSizerItemList &itemList)
bool SaveTableRowAsListFile(const string &save_file_name, CRef< objects::CSeq_table > values_table, int col)
void AddAssemblyUserFieldsFromSeqTable(CRef< objects::CUser_object > obj, CRef< objects::CSeq_table > table)
bool SaveTableFile(const string &save_file_name, CRef< objects::CSeq_table > values_table, bool include_header)