22#include "wx/notebook.h"
27#include "BT_MatML_Base_GUI.h"
28#include "BT_MatML_MatMLInfo_GUI.h"
29#include "BT_MatML_ID_GUI.h"
31#include "BT_MatML_GUI.h"
32#include "BT_MatML_MatMLTreeItemData.h"
33#include "BT_MatML_TreeCtrlSorted.h"
45 ID_GUI* m_ParameterDetails_ID_GUI;
52 static wxNotebook*
Create(wxWindow* parent,
53 ID_GUI*& ParameterDetails_ID_GUI
58 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
59 wxNotebook* get() {
return m_GUI; };
63 static ::std::string Label(::std::string name, ::std::string
id);
66 const wxTreeItemId& ParentId,
68 const wxTreeItemId& PreviousId
72 virtual void OnInsertName(wxCommandEvent& event) {
event.Skip(); }
73 virtual void OnInsertUnits(wxCommandEvent& event) {
event.Skip(); }
74 virtual void OnInsertUnitless(wxCommandEvent& event) {
event.Skip(); }
75 virtual void OnInsertNotes(wxCommandEvent& event) {
event.Skip(); }
77 virtual void OnDeleteName(wxCommandEvent& event) {
event.Skip(); }
78 virtual void OnDeleteUnitless(wxCommandEvent& event) {
event.Skip(); }
79 virtual void OnDeleteUnits(wxCommandEvent& event) {
event.Skip(); }
80 virtual void OnDeleteNotes(wxCommandEvent& event) {
event.Skip(); }
82 virtual void OnPasteName(wxCommandEvent& event){
event.Skip(); }
83 virtual void OnPasteUnits(wxCommandEvent& event){
event.Skip(); }
84 virtual void OnPasteUnitless(wxCommandEvent& event){
event.Skip(); }
85 virtual void OnPasteNotes(wxCommandEvent& event){
event.Skip(); }
87 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
88 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
99 ::boost::any m_MatMLItemToCopy;
108 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
111 void OnInsertName(wxCommandEvent& event);
112 void OnInsertUnits(wxCommandEvent& event);
113 void OnInsertUnitless(wxCommandEvent& event);
114 void OnInsertNotes(wxCommandEvent& event);
116 void OnDeleteName(wxCommandEvent& event);
117 void OnDeleteUnitless(wxCommandEvent& event);
118 void OnDeleteUnits(wxCommandEvent& event);
119 void OnDeleteNotes(wxCommandEvent& event);
121 void OnPasteName(wxCommandEvent& event);
122 void OnPasteUnits(wxCommandEvent& event);
123 void OnPasteUnitless(wxCommandEvent& event);
124 void OnPasteNotes(wxCommandEvent& event);
126 void OnBumpDown(wxCommandEvent& event);
127 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:4515
Definition: BT_MatML_ID_GUI.h:78
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_ParameterDetails_GUI.h:42
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, ParameterDetails &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_ParameterDetails_GUI.cpp:87
static wxNotebook * Create(wxWindow *parent, ID_GUI *&ParameterDetails_ID_GUI)
Create the GUI for the ParameterDetails MatML Data and Info
Definition: BT_MatML_ParameterDetails_GUI.cpp:33
Definition: BT_MatML_ParameterDetails_GUI.h:95
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_ParameterDetails_GUI.cpp:171
ParameterDetails_GUI()
Constructor for the derived class
Definition: BT_MatML_ParameterDetails_GUI.cpp:143
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_ParameterDetails_GUI.cpp:182
virtual ~ParameterDetails_GUI()
Destructor for the derived class
Definition: BT_MatML_ParameterDetails_GUI.cpp:162
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