12#include <boost/shared_ptr.hpp>
23#include "wx/notebook.h"
28#include "BT_MatML_Base_GUI.h"
29#include "BT_MatML_MatMLInfo_GUI.h"
31#include "BT_MatML_GUI.h"
32#include "BT_MatML_MatMLTreeItemData.h"
33#include "BT_MatML_TreeCtrlSorted.h"
43 wxTextCtrl* m_NameTextCtrl;
44 wxChoice* m_AuthorityChoice;
52 static wxNotebook*
Create(wxWindow* parent,
53 wxTextCtrl*& NameTextCtrl,
54 wxChoice*& AuthorityChoice,
58 static ::std::string Label(::std::string name, ::std::string
id);
59 static ::std::string LabelToId(::std::string label);
61 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
62 wxNotebook* get() {
return m_GUI; };
64 void Update(
Name* element, ::boost::shared_ptr<MatML_Doc> doc);
66 const wxTreeItemId& ParentId,
68 const wxTreeItemId& PreviousId
72 virtual void OnNameTextCtrl(wxCommandEvent& event) {
event.Skip(); }
73 virtual void OnNameAuthorityChoice(wxCommandEvent& event) {
event.Skip(); }
93 void OnNameTextCtrl(wxCommandEvent& event);
94 void OnNameAuthorityChoice(wxCommandEvent& event);
Definition: matml31.hxx:1705
Definition: matml31.hxx:2658
Definition: BT_MatML_AuthorityDetails_Display_GUI.h:39
Definition: BT_MatML_Base_GUI.h:163
Definition: BT_MatML_Name_GUI.h:40
static wxNotebook * Create(wxWindow *parent, wxTextCtrl *&NameTextCtrl, wxChoice *&AuthorityChoice, AuthorityDetails_Display_GUI *&NameAuthorityDetails_Display_GUI)
Create the GUI for the Name MatML Data and Info
Definition: BT_MatML_Name_GUI.cpp:38
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, Name &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_Name_GUI.cpp:148
Definition: BT_MatML_Name_GUI.h:79
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_Name_GUI.cpp:223
Name_GUI()
Constructor for the derived class
Definition: BT_MatML_Name_GUI.cpp:184
virtual ~Name_GUI()
Destructor for the derived class
Definition: BT_MatML_Name_GUI.cpp:203
void SetEvtHandlerVar(TreeCtrlSorted *&MatMLTreeCtrl)
Function used to set up this objects member variables which is used in the EventHandler's functions....
Definition: BT_MatML_Name_GUI.cpp:213
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