23#include "wx/notebook.h"
27#include "BT_MatML_MatMLInfo_GUI.h"
29#include "BT_MatML_Base_GUI.h"
30#include "BT_MatML_GUI.h"
31#include "BT_MatML_MatMLTreeItemData.h"
32#include "BT_MatML_TreeCtrlSorted.h"
45 static wxNotebook*
Create(wxWindow* parent);
48 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
49 wxNotebook* get() {
return m_GUI; };
52 const wxTreeItemId& ParentId,
54 const wxTreeItemId& PreviousId
59 virtual void OnInsertCompound(wxCommandEvent& event) {
event.Skip(); }
60 virtual void OnInsertElement(wxCommandEvent& event) {
event.Skip(); }
62 virtual void OnDeleteCompound(wxCommandEvent& event) {
event.Skip(); }
63 virtual void OnDeleteElement(wxCommandEvent& event) {
event.Skip(); }
65 virtual void OnPasteCompound(wxCommandEvent& event){
event.Skip(); }
66 virtual void OnPasteElement(wxCommandEvent& event){
event.Skip(); }
75 ::boost::any m_MatMLItemToCopy;
84 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
87 void OnInsertCompound(wxCommandEvent& event);
88 void OnInsertElement(wxCommandEvent& event);
90 void OnDeleteCompound(wxCommandEvent& event);
91 void OnDeleteElement(wxCommandEvent& event);
93 void OnPasteCompound(wxCommandEvent& event);
94 void OnPasteElement(wxCommandEvent& event);
Definition: matml31.hxx:826
Definition: matml31.hxx:1705
Definition: BT_MatML_ChemicalComposition_GUI.h:39
static wxNotebook * Create(wxWindow *parent)
Create the GUI for the ChemicalComposition MatML Data and Info
Definition: BT_MatML_ChemicalComposition_GUI.cpp:32
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, ChemicalComposition &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_ChemicalComposition_GUI.cpp:76
Definition: BT_MatML_ChemicalComposition_GUI.h:72
virtual ~ChemicalComposition_GUI()
Destructor for the derived class
Definition: BT_MatML_ChemicalComposition_GUI.cpp:142
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_ChemicalComposition_GUI.cpp:151
ChemicalComposition_GUI()
Constructor for the derived class
Definition: BT_MatML_ChemicalComposition_GUI.cpp:120
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_ChemicalComposition_GUI.cpp:161
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