21#include "wx/notebook.h"
26#include "BT_MatML_Base_GUI.h"
27#include "BT_MatML_MatMLInfo_GUI.h"
29#include "BT_MatML_GUI.h"
30#include "BT_MatML_MatMLTreeItemData.h"
31#include "BT_MatML_TreeCtrlSorted.h"
42 static wxNotebook*
Create(wxWindow* parent);
45 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
46 wxNotebook* get() {
return m_GUI; };
49 const wxTreeItemId& ParentId,
51 const wxTreeItemId& PreviousId
53 void Update(
Class* element);
56 virtual void OnInsertName(wxCommandEvent& event) {
event.Skip(); }
57 virtual void OnInsertParentMaterial(wxCommandEvent& event){
event.Skip(); }
58 virtual void OnInsertParentSubClass(wxCommandEvent& event){
event.Skip(); }
60 virtual void OnDeleteName(wxCommandEvent& event) {
event.Skip(); }
61 virtual void OnDeleteParentMaterial(wxCommandEvent& event) {
event.Skip(); }
62 virtual void OnDeleteParentSubClass(wxCommandEvent& event) {
event.Skip(); }
64 virtual void OnPasteName(wxCommandEvent& event){
event.Skip(); }
65 virtual void OnPasteParentMaterial(wxCommandEvent& event){
event.Skip(); }
66 virtual void OnPasteParentSubClass(wxCommandEvent& event){
event.Skip(); }
68 virtual void OnBumpUp(wxCommandEvent& event){
event.Skip(); }
69 virtual void OnBumpDown(wxCommandEvent& event){
event.Skip(); }
78 ::boost::any m_MatMLItemToCopy;
87 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
90 void OnInsertName(wxCommandEvent& event);
91 void OnInsertParentMaterial(wxCommandEvent& event);
92 void OnInsertParentSubClass(wxCommandEvent& event);
94 void OnDeleteName(wxCommandEvent& event);
95 void OnDeleteParentMaterial(wxCommandEvent& event);
96 void OnDeleteParentSubClass(wxCommandEvent& event);
98 void OnPasteName(wxCommandEvent& event);
99 void OnPasteParentMaterial(wxCommandEvent& event);
100 void OnPasteParentSubClass(wxCommandEvent& event);
102 void OnBumpUp(wxCommandEvent& event);
103 void OnBumpDown(wxCommandEvent& event);
Definition: matml31.hxx:897
Definition: matml31.hxx:1705
Definition: BT_MatML_Class_GUI.h:36
static wxNotebook * Create(wxWindow *parent)
Create the GUI for the Class MatML Data and Info
Definition: BT_MatML_Class_GUI.cpp:32
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Class &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_Class_GUI.cpp:82
Definition: BT_MatML_Class_GUI.h:75
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Class_GUI.cpp:173
Class_GUI()
Constructor for the derived class
Definition: BT_MatML_Class_GUI.cpp:143
virtual ~Class_GUI()
Destructor for the derived class
Definition: BT_MatML_Class_GUI.cpp:164
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Class_GUI.cpp:183
Definition: BT_MatML_Base_GUI.h:163
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