52 #include <wx/treebook.h>
53 #include <wx/toplevel.h>
70 "CEditObjectSubmit_block::CreateWindow - Window already created!");
72 wxTopLevelWindow* gui_widget =
dynamic_cast<wxTopLevelWindow*
>(parent);
82 wxBoxSizer* main_sizer =
new wxBoxSizer(wxHORIZONTAL);
86 main_sizer->Add(
m_Treebook, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5);
106 gui_widget->SetTitle(
_(
"Submit block"));
148 dynamic_cast<const CSeqdesc&
>(m_EditedDescriptor.GetObject())));
User-defined methods of the data storage class.
@Auth_list.hpp User-defined methods of the data storage class.
virtual bool TransferDataToWindow()
virtual bool TransferDataFromWindow()
CRef< objects::CAffil > GetAffil()
void PopulateAuthors(objects::CAuth_list &auth_list)
virtual bool TransferDataToWindow()
virtual bool TransferDataFromWindow()
CContactPanel * m_ContactPanel
void x_TransferDataToWindow()
CSubmitRemarksPanel * m_Remarks
CConstRef< CObject > m_Object
CRef< CSerialObject > m_EditedSubmitBlock
CAuthorAffiliationPanel * m_AffilPanel
CSubmitBlockPanel * m_SubmitBlockPanel
virtual wxWindow * CreateWindow(wxWindow *parent)
creates a child (not top level) windows that can contain whatever controls/subwindows etc.
CIRef< IEditCommand > m_EditAction
CAuthorNamesPanel * m_AuthorsPanel
virtual IEditCommand * GetEditCommand()
After placing the window in the Edit Object Dialog ShowModal() method of the dialog is called.
Base class for all serializable objects.
virtual bool TransferDataFromWindow()
virtual bool TransferDataToWindow()
Interface (functor) for object editing.
CChangeUnindexedObjectCommand< objects::CSubmit_block > CChangeSubmitBlockCommand
#define LOG_POST(message)
This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...
void Error(CExceptionArgs_Base &args)
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
const string & GetMsg(void) const
Get message string.
virtual void Assign(const CSerialObject &source, ESerialRecursionMode how=eRecursive)
Set object to copy of another one.
TObjectType * GetPointer(void) const THROWS_NONE
Get pointer,.
CRef< C > Ref(C *object)
Helper functions to get CRef<> and CConstRef<> objects.
TObjectType * GetPointer(void) THROWS_NONE
Get pointer,.
void Reset(void)
Reset reference object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void SetAffil(TAffil &value)
Assign a value to Affil data member.
void ResetAffil(void)
Reset Affil data member.
void SetCit(TCit &value)
Assign a value to Cit data member.
void SetContact(TContact &value)
Assign a value to Contact data member.