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"
44 static wxNotebook*
Create(wxWindow* parent);
47 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
48 wxNotebook* get() {
return m_GUI; };
51 const wxTreeItemId& ParentId,
53 const wxTreeItemId& PreviousId
55 void Update( Subclass1* element);
58 virtual void OnInsertName(wxCommandEvent& event) {
event.Skip(); }
59 virtual void OnInsertParentMaterial(wxCommandEvent& event){
event.Skip(); }
60 virtual void OnInsertParentSubClass(wxCommandEvent& event){
event.Skip(); }
62 virtual void OnDeleteName(wxCommandEvent& event) {
event.Skip(); }
63 virtual void OnDeleteParentMaterial(wxCommandEvent& event) {
event.Skip(); }
64 virtual void OnDeleteParentSubClass(wxCommandEvent& event) {
event.Skip(); }
66 virtual void OnPasteName(wxCommandEvent& event){
event.Skip(); }
67 virtual void OnPasteParentMaterial(wxCommandEvent& event){
event.Skip(); }
68 virtual void OnPasteParentSubClass(wxCommandEvent& event){
event.Skip(); }
70 virtual void OnBumpUp(wxCommandEvent& event){
event.Skip(); }
71 virtual void OnBumpDown(wxCommandEvent& event){
event.Skip(); }
81 ::boost::any m_MatMLItemToCopy;
90 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
93 void OnInsertName(wxCommandEvent& event);
94 void OnInsertParentMaterial(wxCommandEvent& event);
95 void OnInsertParentSubClass(wxCommandEvent& event);
97 void OnDeleteName(wxCommandEvent& event);
98 void OnDeleteParentMaterial(wxCommandEvent& event);
99 void OnDeleteParentSubClass(wxCommandEvent& event);
101 void OnPasteName(wxCommandEvent& event);
102 void OnPasteParentMaterial(wxCommandEvent& event);
103 void OnPasteParentSubClass(wxCommandEvent& event);
105 void OnBumpUp(wxCommandEvent& event);
106 void OnBumpDown(wxCommandEvent& event);
Definition: matml31.hxx:897
Definition: matml31.hxx:1705
Definition: BT_MatML_Base_GUI.h:163
In Subclass1 is used MatML's ComponentDetails class.
Definition: BT_MatML_Subclass1_GUI.h:38
static wxNotebook * Create(wxWindow *parent)
Create the GUI for the Subclass1 MatML Data and Info
Definition: BT_MatML_Subclass1_GUI.cpp:32
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, ComponentDetails::Subclass_type &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_Subclass1_GUI.cpp:82
Definition: BT_MatML_Subclass1_GUI.h:78
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived Subclass...
Definition: BT_MatML_Subclass1_GUI.cpp:185
virtual ~Subclass1_GUI()
Destructor for the derived Subclass1
Definition: BT_MatML_Subclass1_GUI.cpp:166
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Subclass1_GUI.cpp:175
Subclass1_GUI()
Constructor for the derived Subclass1
Definition: BT_MatML_Subclass1_GUI.cpp:145
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