7 #ifndef CAFU_DIALOG_INSP_PRIMITIVE_PROPS_HPP_INCLUDED
8 #define CAFU_DIALOG_INSP_PRIMITIVE_PROPS_HPP_INCLUDED
14 class wxPropertyGridManager;
15 class wxPropertyGridEvent;
38 wxSizer* InspectorPrimitivePropsInit(wxWindow* parent,
bool call_fit=
true,
bool set_sizer=
true);
42 void OnPropertyGridChanged(wxPropertyGridEvent& Event);
45 wxPropertyGridManager* m_PropMan;
46 wxStaticText* m_SelectionText;
47 bool m_IsRecursiveSelfNotify;
void NotifySubjectChanged_Selection(SubjectT *Subject, const ArrayT< MapElementT * > &OldSelection, const ArrayT< MapElementT * > &NewSelection)
Notifies the observer that the selection in the current subject has been changed. ...
Definition: DialogInsp-PrimitiveProps.cpp:127
MapElemModDetailE
Definition: ObserverPattern.hpp:37
This class represents a CaWE "map" document.
Definition: MapDocument.hpp:45
void NotifySubjectChanged_Modified(SubjectT *Subject, const ArrayT< MapElementT * > &MapElements, MapElemModDetailE Detail)
Definition: DialogInsp-PrimitiveProps.cpp:142
Definition: ObserverPattern.hpp:64
Definition: DialogInsp-PrimitiveProps.hpp:21
Definition: ObserverPattern.hpp:158
void NotifySubjectDies(SubjectT *dyingSubject)
This method is called whenever a subject is about the be destroyed (and become unavailable).
Definition: DialogInsp-PrimitiveProps.cpp:176
This file provides the classes for the Observer pattern as described in the book by the GoF...
void NotifySubjectChanged_Deleted(SubjectT *Subject, const ArrayT< MapPrimitiveT * > &Primitives)
Notifies the observer that one or more map primitives have been deleted.
Definition: DialogInsp-PrimitiveProps.cpp:135
This is the base class for all elements ("objects") that can exist in a map.
Definition: MapElement.hpp:57