NCBI C++ ToolKit
bulk_molinfo_edit_dlg.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 /* $Id: bulk_molinfo_edit_dlg.hpp 27162 2013-01-03 14:10:05Z bollin $
2  * ===========================================================================
3  *
4  * PUBLIC DOMAIN NOTICE
5  * National Center for Biotechnology Information
6  *
7  * This software/database is a "United States Government Work" under the
8  * terms of the United States Copyright Act. It was written as part of
9  * the author's official duties as a United States Government employee and
10  * thus cannot be copyrighted. This software/database is freely available
11  * to the public for use. The National Library of Medicine and the U.S.
12  * Government have not placed any restriction on its use or reproduction.
13  *
14  * Although all reasonable efforts have been taken to ensure the accuracy
15  * and reliability of the software and data, the NLM and the U.S.
16  * Government do not and cannot warrant the performance or results that
17  * may be obtained by using this software or data. The NLM and the U.S.
18  * Government disclaim all warranties, express or implied, including
19  * warranties of performance, merchantability or fitness for any particular
20  * purpose.
21  *
22  * Please cite the author in any work or product based on this material.
23  *
24  * ===========================================================================
25  *
26  * Authors: Colleen Bollin
27  */
28 #ifndef _BULK_MOLINFO_EDIT_DLG_H_
29 #define _BULK_MOLINFO_EDIT_DLG_H_
30 
31 #include <corelib/ncbistd.hpp>
34 
35 /*!
36  * Includes
37  */
38 
39 ////@begin includes
40 #include "wx/grid.h"
41 ////@end includes
42 #include "wx/sizer.h"
43 
44 /*!
45  * Forward declarations
46  */
47 
48 ////@begin forward declarations
49 ////@end forward declarations
50 
52 
53 /*!
54  * Control identifiers
55  */
56 
57 ////@begin control identifiers
58 #define ID_CBULKMOLINFOEDITDLG 10077
59 #define ID_GRID 10012
60 #define SYMBOL_CBULKMOLINFOEDITDLG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL
61 #define SYMBOL_CBULKMOLINFOEDITDLG_TITLE _("Molecule Information")
62 #define SYMBOL_CBULKMOLINFOEDITDLG_IDNAME ID_CBULKMOLINFOEDITDLG
63 #define SYMBOL_CBULKMOLINFOEDITDLG_SIZE wxSize(400, 300)
64 #define SYMBOL_CBULKMOLINFOEDITDLG_POSITION wxDefaultPosition
65 ////@end control identifiers
66 
67 
68 /*!
69  * CBulkMolinfoEditDlg class declaration
70  */
71 
73 {
74  DECLARE_DYNAMIC_CLASS( CBulkMolinfoEditDlg )
75  DECLARE_EVENT_TABLE()
76 
77 public:
78  /// Constructors
80  CBulkMolinfoEditDlg( wxWindow* parent, objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type, wxWindowID id = SYMBOL_CBULKMOLINFOEDITDLG_IDNAME, const wxString& caption = SYMBOL_CBULKMOLINFOEDITDLG_TITLE, const wxPoint& pos = SYMBOL_CBULKMOLINFOEDITDLG_POSITION, const wxSize& size = SYMBOL_CBULKMOLINFOEDITDLG_SIZE, long style = SYMBOL_CBULKMOLINFOEDITDLG_STYLE );
81 
82  /// Creation
83  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CBULKMOLINFOEDITDLG_IDNAME, const wxString& caption = SYMBOL_CBULKMOLINFOEDITDLG_TITLE, const wxPoint& pos = SYMBOL_CBULKMOLINFOEDITDLG_POSITION, const wxSize& size = SYMBOL_CBULKMOLINFOEDITDLG_SIZE, long style = SYMBOL_CBULKMOLINFOEDITDLG_STYLE );
84 
85  /// Destructor
87 
88  /// Initialises member variables
89  void Init();
90 
91  /// Creates the controls and sizers
92  void CreateControls();
93 
94 ////@begin CBulkMolinfoEditDlg event handler declarations
95 
96 ////@end CBulkMolinfoEditDlg event handler declarations
97 
98 ////@begin CBulkMolinfoEditDlg member function declarations
99 
100  /// Retrieves bitmap resources
101  wxBitmap GetBitmapResource( const wxString& name );
102 
103  /// Retrieves icon resources
104  wxIcon GetIconResource( const wxString& name );
105 ////@end CBulkMolinfoEditDlg member function declarations
106 
107  /// Should we show tooltips?
108  static bool ShowToolTips();
109 
110 ////@begin CBulkMolinfoEditDlg member variables
111 ////@end CBulkMolinfoEditDlg member variables
113  virtual string GetErrorMessage();
114 private:
115  objects::CSeq_entry_Handle m_TopSeqEntry;
116  wxGrid* m_Grid;
118 };
119 
121 
122 #endif
123  // _BULK_MOLINFO_EDIT_DLG_H_
#define SYMBOL_CBULKMOLINFOEDITDLG_SIZE
#define SYMBOL_CBULKMOLINFOEDITDLG_TITLE
#define SYMBOL_CBULKMOLINFOEDITDLG_STYLE
#define SYMBOL_CBULKMOLINFOEDITDLG_IDNAME
#define SYMBOL_CBULKMOLINFOEDITDLG_POSITION
virtual string GetErrorMessage()
CBulkMolinfoEditDlg()
Constructors.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
static bool ShowToolTips()
Should we show tooltips?
bool Create(wxWindow *parent, wxWindowID id=10077, const wxString &caption=_("Molecule Information"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
Creation.
void Init()
Initialises member variables.
void CreateControls()
Creates the controls and sizers.
objects::CSeq_entry_Handle m_TopSeqEntry
CBulkMolinfoEditDlg(wxWindow *parent, objects::CSeq_entry_Handle seh, CSourceRequirements::EWizardType wizard_type, wxWindowID id=10077, const wxString &caption=_("Molecule Information"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX|wxTAB_TRAVERSAL)
CSourceRequirements::EWizardType m_WizardType
virtual CRef< CCmdComposite > GetCommand()
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
const struct ncbi::grid::netcache::search::fields::SIZE size
Modified on Tue Jul 23 17:51:44 2024 by modify_doxy.py rev. 669887