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

Go to the SVN repository for this file.

1 /* $Id: igspanel.hpp 26514 2012-10-01 12:16:28Z 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 _IGSPANEL_H_
29 #define _IGSPANEL_H_
30 
31 #include <corelib/ncbistd.hpp>
35 
36 /*!
37  * Includes
38  */
39 
40 ////@begin includes
41 ////@end includes
42 
43 /*!
44  * Forward declarations
45  */
46 
47 ////@begin forward declarations
48 ////@end forward declarations
49 
51 
52 /*!
53  * Control identifiers
54  */
55 
56 ////@begin control identifiers
57 #define ID_CIGSPANEL 10043
58 #define SYMBOL_CIGSPANEL_STYLE wxTAB_TRAVERSAL
59 #define SYMBOL_CIGSPANEL_TITLE _("IGSPanel")
60 #define SYMBOL_CIGSPANEL_IDNAME ID_CIGSPANEL
61 #define SYMBOL_CIGSPANEL_SIZE wxSize(400, 300)
62 #define SYMBOL_CIGSPANEL_POSITION wxDefaultPosition
63 ////@end control identifiers
64 
65 
66 /*!
67  * CIGSPanel class declaration
68  */
69 
70 class CIGSPanel: public CBulkCmdPanel
71 {
72  DECLARE_DYNAMIC_CLASS( CIGSPanel )
73  DECLARE_EVENT_TABLE()
74 
75 public:
76  /// Constructors
77  CIGSPanel();
78  CIGSPanel( wxWindow* parent, objects::CSeq_entry_Handle seh,
81  wxWindowID id = SYMBOL_CIGSPANEL_IDNAME, const wxPoint& pos = SYMBOL_CIGSPANEL_POSITION, const wxSize& size = SYMBOL_CIGSPANEL_SIZE, long style = SYMBOL_CIGSPANEL_STYLE );
82 
83  /// Creation
84  bool Create( wxWindow* parent, wxWindowID id = SYMBOL_CIGSPANEL_IDNAME, const wxPoint& pos = SYMBOL_CIGSPANEL_POSITION, const wxSize& size = SYMBOL_CIGSPANEL_SIZE, long style = SYMBOL_CIGSPANEL_STYLE );
85 
86  /// Destructor
87  ~CIGSPanel();
88 
89  /// Initialises member variables
90  void Init();
91 
92  /// Creates the controls and sizers
93  void CreateControls();
94 
95 ////@begin CIGSPanel event handler declarations
96 
97 ////@end CIGSPanel event handler declarations
98 
99 ////@begin CIGSPanel member function declarations
100 
101  /// Retrieves bitmap resources
102  wxBitmap GetBitmapResource( const wxString& name );
103 
104  /// Retrieves icon resources
105  wxIcon GetIconResource( const wxString& name );
106 ////@end CIGSPanel member function declarations
107 
108  /// Should we show tooltips?
109  static bool ShowToolTips();
110 
111 ////@begin CIGSPanel member variables
112 ////@end CIGSPanel member variables
113 
115  virtual string GetErrorMessage();
116 
117 private:
118  objects::CSeq_entry_Handle m_TopSeqEntry;
121 
124 };
125 
127 
128 #endif
129  // _IGSPANEL_H_
virtual CRef< CCmdComposite > GetCommand()
Definition: igspanel.cpp:192
CIGSFlankPanel * m_Flank5
Definition: igspanel.hpp:122
void Init()
Initialises member variables.
Definition: igspanel.cpp:124
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
Definition: igspanel.cpp:169
virtual string GetErrorMessage()
Definition: igspanel.cpp:256
void CreateControls()
Creates the controls and sizers.
Definition: igspanel.cpp:135
CSourceRequirements::EWizardSrcType m_SrcType
Definition: igspanel.hpp:120
CIGSPanel()
Constructors.
Definition: igspanel.cpp:71
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
Definition: igspanel.cpp:182
objects::CSeq_entry_Handle m_TopSeqEntry
Definition: igspanel.hpp:118
CIGSFlankPanel * m_Flank3
Definition: igspanel.hpp:123
bool Create(wxWindow *parent, wxWindowID id=10043, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)
Creation.
Definition: igspanel.cpp:93
CSourceRequirements::EWizardType m_WizardType
Definition: igspanel.hpp:119
static bool ShowToolTips()
Should we show tooltips?
Definition: igspanel.cpp:160
~CIGSPanel()
Destructor.
Definition: igspanel.cpp:113
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
#define SYMBOL_CIGSPANEL_SIZE
Definition: igspanel.hpp:61
#define SYMBOL_CIGSPANEL_STYLE
Definition: igspanel.hpp:58
#define SYMBOL_CIGSPANEL_IDNAME
Definition: igspanel.hpp:60
#define SYMBOL_CIGSPANEL_POSITION
Definition: igspanel.hpp:62
const struct ncbi::grid::netcache::search::fields::SIZE size
Modified on Mon Feb 26 04:00:48 2024 by modify_doxy.py rev. 669887