7 #ifndef CAFU_GUIEDITOR_WINDOW_HIERARCHY_HPP_INCLUDED
8 #define CAFU_GUIEDITOR_WINDOW_HIERARCHY_HPP_INCLUDED
12 #include "wx/treectrl.h"
15 namespace cf {
namespace GuiSys {
class GuiImplT; } }
16 namespace cf {
namespace GuiSys {
class WindowT; } }
45 void AddChildren(
const wxTreeItemId& Item,
bool Recursive);
57 bool m_IsRecursiveSelfNotify;
60 void OnKeyDown (wxKeyEvent& KE);
61 void OnTreeLeftClick (wxMouseEvent& ME);
62 void OnSelectionChanged (wxTreeEvent& TE);
63 void OnEndLabelEdit (wxTreeEvent& TE);
64 void OnTreeItemRightClick(wxTreeEvent& TE);
65 void OnBeginDrag (wxTreeEvent& TE);
66 void OnEndDrag (wxTreeEvent& TE);
void NotifySubjectChanged_Created(SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows)
Notifies the observer that one or more windows have been created.
Definition: WindowHierarchy.cpp:172
void NotifySubjectChanged_Modified(SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows, WindowModDetailE Detail)
Definition: WindowHierarchy.cpp:188
Definition: ObserverPattern.hpp:38
This class represents a child frame.
Definition: ChildFrame.hpp:55
void NotifySubjectChanged_Selection(SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &OldSelection, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &NewSelection)
This method is called whenever the window selection of a GUI subject changed.
Definition: WindowHierarchy.cpp:145
Definition: ChildFrame.hpp:35
Definition: GuiDocument.hpp:39
This is the common base class for the VarT classes.
Definition: Variables.hpp:113
Definition: WindowHierarchy.hpp:24
void NotifySubjectDies(SubjectT *dyingSubject)
This method is called whenever a subject is about the be destroyed (and become unavailable).
Definition: WindowHierarchy.cpp:302
Definition: ObserverPattern.hpp:95
void Notify_Changed(SubjectT *Subject, const cf::TypeSys::VarBaseT &Var)
Notifies the observer that a variable has changed.
Definition: WindowHierarchy.cpp:200
This file provides the classes for the Observer pattern as described in the book by the GoF...
Definition: Renderer.hpp:16
void RefreshTree()
Redraws the whole tree.
Definition: WindowHierarchy.cpp:227
void NotifySubjectChanged_Deleted(SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows)
Notifies the observer that one or more windows have been deleted.
Definition: WindowHierarchy.cpp:180