22#include "wx/notebook.h"
23#include <wx/statline.h>
25#include <boost/shared_ptr.hpp>
27#include "StringStream.h"
30#include "BT_MatML_Base_GUI.h"
31#include "BT_MatML_MatMLInfo_GUI.h"
32#include "BT_MatML_ID_GUI.h"
34#include "BT_MatML_GUI.h"
35#include "BT_MatML_MatMLTreeItemData.h"
36#include "BT_MatML_TreeCtrlSorted.h"
48 ID_GUI* m_SpecimenDetails_ID_GUI;
49 wxTextCtrl* m_SpecimenDetailsTypeTextCtrl;
56 static wxNotebook*
Create(wxWindow* parent,
57 ID_GUI*& SpecimenDetails_ID_GUI,
58 wxTextCtrl*& SpecimenDetailsTypeTextCtrl
61 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
62 bool IsShown() {
return m_GUI->IsShown(); };
63 wxNotebook* get() {
return m_GUI; };
67 static ::std::string Label(::std::string name, ::std::string
id);
70 const wxTreeItemId& ParentId,
72 const wxTreeItemId& PreviousId
76 virtual void OnSpecimenDetailsTypeTextCtrl(wxCommandEvent& event) {
event.Skip(); }
78 virtual void OnInsertName(wxCommandEvent& event){
event.Skip(); }
79 virtual void OnInsertNotes(wxCommandEvent& event){
event.Skip(); }
80 virtual void OnInsertGeometry(wxCommandEvent& event){
event.Skip(); }
82 virtual void OnDeleteName(wxCommandEvent& event) {
event.Skip(); }
83 virtual void OnDeleteGeometry(wxCommandEvent& event) {
event.Skip(); }
84 virtual void OnDeleteNotes(wxCommandEvent& event){
event.Skip(); }
86 virtual void OnPasteName(wxCommandEvent& event){
event.Skip(); }
87 virtual void OnPasteNotes(wxCommandEvent& event){
event.Skip(); }
88 virtual void OnPasteGeometry(wxCommandEvent& event){
event.Skip(); }
90 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
91 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
101 ::boost::any m_MatMLItemToCopy;
109 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
112 void OnSpecimenDetailsTypeTextCtrl(wxCommandEvent& event);
114 void OnInsertName(wxCommandEvent& event);
115 void OnInsertNotes(wxCommandEvent& event);
116 void OnInsertGeometry(wxCommandEvent& event);
118 void OnDeleteName(wxCommandEvent& event);
119 void OnDeleteGeometry(wxCommandEvent& event);
120 void OnDeleteNotes(wxCommandEvent& event);
122 void OnPasteName(wxCommandEvent& event);
123 void OnPasteNotes(wxCommandEvent& event);
124 void OnPasteGeometry(wxCommandEvent& event);
126 void OnBumpDown(wxCommandEvent& event);
127 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:4938
Definition: BT_MatML_ID_GUI.h:78
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_SpecimenDetails_GUI.h:45
static wxNotebook * Create(wxWindow *parent, ID_GUI *&SpecimenDetails_ID_GUI, wxTextCtrl *&SpecimenDetailsTypeTextCtrl)
Create the GUI for the SpecimenDetails MatML Data and Info
Definition: BT_MatML_SpecimenDetails_GUI.cpp:31
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, SpecimenDetails &Element, const wxTreeItemId &PreviousId)
This set-up the Parent MatML Data into a wxTreeCtrl element and then call on the Children to do the s...
Definition: BT_MatML_SpecimenDetails_GUI.cpp:107
Definition: BT_MatML_SpecimenDetails_GUI.h:97
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_SpecimenDetails_GUI.cpp:203
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl, ::boost::shared_ptr< MatML_Doc > &MatMLDoc)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_SpecimenDetails_GUI.cpp:191
SpecimenDetails_GUI()
Constructor for the derived class
Definition: BT_MatML_SpecimenDetails_GUI.cpp:163
virtual ~SpecimenDetails_GUI()
Destructor for the derived class
Definition: BT_MatML_SpecimenDetails_GUI.cpp:182
Definition: BT_MatML_TreeCtrlSorted.h:19
Contains the GUI and GUI associated classes. OnInit() calls the creation of the MaterialFrame GUI
Definition: BT_MatML_App.h:39