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( Subclass* 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(); }
80 ::boost::any m_MatMLItemToCopy;
89 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
92 void OnInsertName(wxCommandEvent& event);
93 void OnInsertParentMaterial(wxCommandEvent& event);
94 void OnInsertParentSubClass(wxCommandEvent& event);
96 void OnDeleteName(wxCommandEvent& event);
97 void OnDeleteParentMaterial(wxCommandEvent& event);
98 void OnDeleteParentSubClass(wxCommandEvent& event);
100 void OnPasteName(wxCommandEvent& event);
101 void OnPasteParentMaterial(wxCommandEvent& event);
102 void OnPasteParentSubClass(wxCommandEvent& event);
104 void OnBumpUp(wxCommandEvent& event);
105 void OnBumpDown(wxCommandEvent& event);
Definition: matml31.hxx:897
Definition: matml31.hxx:1705
Definition: BT_MatML_Base_GUI.h:163
In Subclass is used MatML's BulkDetails class.
Definition: BT_MatML_Subclass_GUI.h:38
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, BulkDetails::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_Subclass_GUI.cpp:82
static wxNotebook * Create(wxWindow *parent)
Create the GUI for the Subclass MatML Data and Info
Definition: BT_MatML_Subclass_GUI.cpp:32
Definition: BT_MatML_Subclass_GUI.h:77
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Subclass_GUI.cpp:175
Subclass_GUI()
Constructor for the derived Subclass
Definition: BT_MatML_Subclass_GUI.cpp:145
virtual ~Subclass_GUI()
Destructor for the derived Subclass
Definition: BT_MatML_Subclass_GUI.cpp:166
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived Subclass...
Definition: BT_MatML_Subclass_GUI.cpp:185
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