7 #ifndef CAFU_MODELEDITOR_JOINTS_HIERARCHY_HPP_INCLUDED
8 #define CAFU_MODELEDITOR_JOINTS_HIERARCHY_HPP_INCLUDED
11 #include "Templates/Array.hpp"
12 #include "wx/treectrl.h"
44 const wxTreeItemId FindTreeItem(
const wxTreeItemId& StartingItem,
unsigned int JointNr)
const;
49 void OnFocus (wxFocusEvent& FE);
50 void OnKeyDown (wxKeyEvent& KE);
52 void OnItemActivated (wxTreeEvent& TE);
53 void OnSelectionChanged (wxTreeEvent& TE);
54 void OnLabelChanged (wxTreeEvent& TE);
55 void OnTreeItemRightClick(wxTreeEvent& TE);
61 bool m_IsRecursiveSelfNotify;
Definition: ChildFrame.hpp:35
void Notify_JointChanged(SubjectT *Subject, unsigned int JointNr)
Notifies the observer that a joint has changed.
Definition: JointsHierarchy.cpp:172
void Notify_Deleted(SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices)
This method is called when new elements were deleted from the model.
Definition: JointsHierarchy.cpp:163
This class represents a child frame.
Definition: ChildFrame.hpp:55
void Notify_SubjectDies(SubjectT *dyingSubject)
This method is called whenever a subject is about the be destroyed (and become unavailable).
Definition: JointsHierarchy.cpp:189
void Notify_SelectionChanged(SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &OldSel, const ArrayT< unsigned int > &NewSel)
This method is called whenever the selection of a model changed.
Definition: JointsHierarchy.cpp:126
Definition: JointsHierarchy.hpp:21
Definition: ObserverPattern.hpp:104
This file provides the classes for the Observer pattern as described in the book by the GoF...
void Notify_Created(SubjectT *Subject, ModelElementTypeT Type, const ArrayT< unsigned int > &Indices)
This method is called when new elements have been created and were added to the model.
Definition: JointsHierarchy.cpp:154
Definition: ObserverPattern.hpp:28
Definition: ModelDocument.hpp:30