23#include "wx/notebook.h"
28#include "BT_MatML_Base_GUI.h"
29#include "BT_MatML_ID_GUI.h"
30#include "BT_MatML_MatMLInfo_GUI.h"
32#include "BT_MatML_GUI.h"
33#include "BT_MatML_MatMLTreeItemData.h"
34#include "BT_MatML_TreeCtrlSorted.h"
46 ID_GUI* m_AuthorityDetails_ID_GUI;
52 static wxNotebook*
Create(wxWindow* parent,
53 ID_GUI*& AuthorityDetails_ID_GUI
55 void Show(
bool show =
true) {
if (m_GUI !=
nullptr) m_GUI->Show(show); };
56 wxNotebook* get() {
return m_GUI; };
60 static ::std::string Label(::std::string name, ::std::string
id);
63 const wxTreeItemId& ParentId,
65 const wxTreeItemId& PreviousId
70 virtual void OnInsertName(wxCommandEvent& event) {
event.Skip(); }
71 virtual void OnInsertNotes(wxCommandEvent& event) {
event.Skip(); }
73 virtual void OnDeleteName(wxCommandEvent& event) {
event.Skip(); }
74 virtual void OnDeleteNotes(wxCommandEvent& event) {
event.Skip(); }
76 virtual void OnPasteName(wxCommandEvent& event){
event.Skip(); }
77 virtual void OnPasteNotes(wxCommandEvent& event){
event.Skip(); }
79 virtual void OnBumpDown(wxCommandEvent& event) {
event.Skip(); }
80 virtual void OnBumpUp(wxCommandEvent& event) {
event.Skip(); }
91 ::boost::any m_MatMLItemToCopy;
100 void SetMatMLItemToCopy(const ::boost::any& MatMLItemToCopy);
103 void OnInsertName(wxCommandEvent& event);
104 void OnInsertNotes(wxCommandEvent& event);
106 void OnDeleteName(wxCommandEvent& event);
107 void OnDeleteNotes(wxCommandEvent& event);
109 void OnPasteName(wxCommandEvent& event);
110 void OnPasteNotes(wxCommandEvent& event);
112 void OnBumpDown(wxCommandEvent& event);
113 void OnBumpUp(wxCommandEvent& event);
115 typedef Metadata::AuthorityDetails_sequence& (
Metadata::* Cont_Func)();
122 #include "BT_MatML_AuthorityDetails_GUI.inl"
Definition: matml31.hxx:4202
Definition: matml31.hxx:1705
Definition: BT_MatML_AuthorityDetails_GUI.h:43
void SetConnect()
Set up the connect between the MatML_GUI and the functions
Definition: BT_MatML_AuthorityDetails_GUI.cpp:127
static wxNotebook * Create(wxWindow *parent, ID_GUI *&AuthorityDetails_ID_GUI)
Create the GUI for the AuthorityDetails MatML Data and Info
Definition: BT_MatML_AuthorityDetails_GUI.cpp:34
static wxTreeItemId SetupMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl, const wxTreeItemId &ParentId, AuthorityDetails &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_AuthorityDetails_GUI.cpp:90
Definition: BT_MatML_AuthorityDetails_GUI.h:87
void SetMatMLTreeCtrl(TreeCtrlSorted *&MatMLTreeCtrl)
Set the Event Handler associated with the MatML wxTreeCtrl Required before using the derived class's ...
Definition: BT_MatML_AuthorityDetails_GUI.cpp:161
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_AuthorityDetails_GUI.cpp:150
Definition: BT_MatML_ID_GUI.h:78
Definition: BT_MatML_Base_GUI.h:163
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