21#include "wx/notebook.h"
24#include "StringStream.h"
25#include <boost/shared_ptr.hpp>
28#include "BT_MatML_Base_GUI.h"
29#include "BT_MatML_MatMLInfo_GUI.h"
30#include "BT_MatML_ID_GUI.h"
32#include "BT_MatML_GUI.h"
33#include "BT_MatML_MatMLTreeItemData.h"
34#include "BT_MatML_TreeCtrlSorted.h"
46 wxChoice* m_ParameterValueParameterChoice;
47 wxChoice* m_ParameterValueFormatChoice;
52 static wxNotebook*
Create(wxWindow* parent, wxChoice*& ParameterValueParameterChoice, wxChoice*& ParameterValueFormatChoice,
ParameterDetails_Display_GUI*& ParameterValueParameterDetails_Display_GUI);
55 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
56 wxNotebook* get() {
return m_GUI; };
58 void Update(
ParameterValue* element,
const boost::shared_ptr<MatML_Doc> doc);
60 static ::std::string Label(::std::string name, ::std::string
id);
61 static ::std::string LabelToId(::std::string label);
64 const wxTreeItemId& ParentId,
66 const wxTreeItemId& PreviousId
70 virtual void OnParameterValueParameterChoice(wxCommandEvent& event) {
event.Skip(); }
71 virtual void OnParameterValueFormatChoice(wxCommandEvent& event) {
event.Skip(); }
73 virtual void OnInsertData(wxCommandEvent& event) {
event.Skip(); }
74 virtual void OnInsertUncertainty(wxCommandEvent& event) {
event.Skip(); }
75 virtual void OnInsertQualifier(wxCommandEvent& event) {
event.Skip(); }
76 virtual void OnInsertNotes(wxCommandEvent& event) {
event.Skip(); }
78 virtual void OnDeleteQualifier(wxCommandEvent& event) {
event.Skip(); }
79 virtual void OnDeleteNotes(wxCommandEvent& event) {
event.Skip(); }
80 virtual void OnDeleteUncertainty(wxCommandEvent& event) {
event.Skip(); }
82 virtual void OnPasteData(wxCommandEvent& event) {
event.Skip(); }
83 virtual void OnPasteUncertainty(wxCommandEvent& event) {
event.Skip(); }
84 virtual void OnPasteQualifier(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(); }
98 ::boost::any m_MatMLItemToCopy;
107 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
110 void OnParameterValueParameterChoice(wxCommandEvent& event);
111 void OnParameterValueFormatChoice(wxCommandEvent& event);
113 void OnInsertData(wxCommandEvent& event);
114 void OnInsertUncertainty(wxCommandEvent& event);
115 void OnInsertQualifier(wxCommandEvent& event);
116 void OnInsertNotes(wxCommandEvent& event);
118 void OnDeleteQualifier(wxCommandEvent& event);
119 void OnDeleteNotes(wxCommandEvent& event);
120 void OnDeleteUncertainty(wxCommandEvent& event);
122 void OnPasteData(wxCommandEvent& event);
123 void OnPasteUncertainty(wxCommandEvent& event);
124 void OnPasteQualifier(wxCommandEvent& event);
125 void OnPasteNotes(wxCommandEvent& event);
127 void OnBumpDown(wxCommandEvent& event);
128 void OnBumpUp(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:2759
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_ParameterDetails_Display_GUI.h:43
Definition: BT_MatML_ParameterValue_GUI.h:43
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, ParameterValue &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_ParameterValue_GUI.cpp:168
static wxNotebook * Create(wxWindow *parent, wxChoice *&ParameterValueParameterChoice, wxChoice *&ParameterValueFormatChoice, ParameterDetails_Display_GUI *&ParameterValueParameterDetails_Display_GUI)
Create the GUI for the ParameterValue MatML Data and Info
Definition: BT_MatML_ParameterValue_GUI.cpp:36
Definition: BT_MatML_ParameterValue_GUI.h:94
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_ParameterValue_GUI.cpp:270
virtual ~ParameterValue_GUI()
Destructor for the derived class
Definition: BT_MatML_ParameterValue_GUI.cpp:249
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_ParameterValue_GUI.cpp:260
ParameterValue_GUI()
Constructor for the derived class
Definition: BT_MatML_ParameterValue_GUI.cpp:232
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