23#include <wx/radiobut.h>
25#include "wx/notebook.h"
31#include "BT_MatML_Base_GUI.h"
32#include "BT_MatML_ID_GUI.h"
33#include "BT_MatML_MatMLInfo_GUI.h"
35#include "BT_MatML_GUI.h"
36#include "BT_MatML_MatMLTreeItemData.h"
37#include "BT_MatML_TreeCtrlSorted.h"
51 wxTextCtrl* m_MaterialLayersTextCtrl;
52 wxTextCtrl* m_MaterialLFORTextCtrl;
59 static wxNotebook*
Create(wxWindow* parent,
ID_GUI*& Material_ID_GUI, wxTextCtrl*& MaterialLayersTextCtrl, wxTextCtrl*& MaterialLFORTextCtrl);
61 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show);
return; };
62 wxNotebook* get() {
return m_GUI; };
65 const wxTreeItemId& ParentId,
67 const wxTreeItemId& PreviousId
74 virtual void OnMaterialLayersTextCtrl(wxCommandEvent& event) {
event.Skip(); }
75 virtual void OnMaterialLFORTextCtrl(wxCommandEvent& event) {
event.Skip(); }
77 virtual void OnInsertMaterial(wxCommandEvent& event) {
event.Skip(); }
78 virtual void OnInsertBulkDetails(wxCommandEvent& event){
event.Skip(); }
79 virtual void OnInsertComponentDetails(wxCommandEvent& event){
event.Skip(); }
80 virtual void OnInsertGraphs(wxCommandEvent& event){
event.Skip(); }
81 virtual void OnInsertGlossary(wxCommandEvent& event) {
event.Skip(); }
83 virtual void OnDeleteBulkDetails(wxCommandEvent& event) {
event.Skip(); }
84 virtual void OnDeleteComponentDetails(wxCommandEvent& event) {
event.Skip(); }
85 virtual void OnDeleteGraphs(wxCommandEvent& event) {
event.Skip(); }
86 virtual void OnDeleteGlossary(wxCommandEvent& event) {
event.Skip(); }
88 virtual void OnPasteBulkDetails(wxCommandEvent& event) {
event.Skip(); }
89 virtual void OnPasteComponentDetails(wxCommandEvent& event) {
event.Skip(); }
90 virtual void OnPasteGraphs(wxCommandEvent& event) {
event.Skip(); }
91 virtual void OnPasteGlossary(wxCommandEvent& event) {
event.Skip(); }
93 virtual void OnCopyMaterial(wxCommandEvent& event) {
event.Skip(); }
95 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
96 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
106 ::boost::shared_ptr<MatML_Doc> m_MatMLDoc;
107 ::boost::any m_MatMLItemToCopy;
116 void SetMatMLDoc(::boost::shared_ptr<MatML_Doc>& MatMLDoc);
117 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
120 void OnMaterialLayersTextCtrl(wxCommandEvent& event);
121 void OnMaterialLFORTextCtrl(wxCommandEvent& event);
123 void OnInsertMaterial(wxCommandEvent& event);
124 void OnInsertBulkDetails(wxCommandEvent& event);
125 void OnInsertComponentDetails(wxCommandEvent& event);
126 void OnInsertGraphs(wxCommandEvent& event);
127 void OnInsertGlossary(wxCommandEvent& event);
129 void OnDeleteBulkDetails(wxCommandEvent& event);
130 void OnDeleteComponentDetails(wxCommandEvent& event);
131 void OnDeleteGraphs(wxCommandEvent& event);
132 void OnDeleteGlossary(wxCommandEvent& event);
134 void OnPasteBulkDetails(wxCommandEvent& event);
135 void OnPasteComponentDetails(wxCommandEvent& event);
136 void OnPasteGraphs(wxCommandEvent& event);
137 void OnPasteGlossary(wxCommandEvent& event);
139 void OnCopyMaterial(wxCommandEvent& event);
141 void OnBumpDown(wxCommandEvent& event);
142 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:5577
Definition: matml31.hxx:2299
Definition: BT_MatML_ID_GUI.h:78
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_Material_GUI.h:47
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Material &Element, const wxTreeItemId &PreviousId)
This sets up the Parent MatML Data into a wxTreeCtrl element and then call on the Children to do the ...
Definition: BT_MatML_Material_GUI.cpp:137
static wxTreeItemId SetupBranch(TreeCtrlSorted *&MatMLTreeCtrl, wxWindow *&ParentId, MatML_Doc &Element, std::vector< Material * > &materials)
This set-up the Parent MatML Data into a wxTreeCtrl element and then call on the Children to do the s...
Definition: BT_MatML_Material_GUI.cpp:261
void SetConnect()
Set up the connect between the MatML_GUI and the functions
Definition: BT_MatML_Material_GUI.cpp:309
static wxNotebook * Create(wxWindow *parent, ID_GUI *&Material_ID_GUI, wxTextCtrl *&MaterialLayersTextCtrl, wxTextCtrl *&MaterialLFORTextCtrl)
Create GUI for the Material MatML Data and Info. Static function
Definition: BT_MatML_Material_GUI.cpp:47
void Update(Material *element)
Updates the MatML_GUI from the MatML element
Definition: BT_MatML_Material_GUI.cpp:104
void ReplaceIDwithUuid(MatML_Doc &doc)
This was used only to make the old data format compatible with the new arrangement
Definition: BT_MatML_Material_GUI.cpp:201
Material_GUI_Base()
Constructor for the base class
Definition: BT_MatML_Material_GUI.cpp:10
Definition: BT_MatML_Material_GUI.h:102
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Material_GUI.cpp:361
Material_GUI()
Constructor for the derived class
Definition: BT_MatML_Material_GUI.cpp:320
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_Material_GUI.cpp:348
virtual ~Material_GUI()
Destructor for the derived class
Definition: BT_MatML_Material_GUI.cpp:339
void SetMatMLDoc(::boost::shared_ptr< MatML_Doc > &MatMLDoc)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Material_GUI.cpp:371
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