Cafu Engine
GuiEditor::WindowInspectorT Class Reference
Inheritance diagram for GuiEditor::WindowInspectorT:

Public Member Functions

 WindowInspectorT (ChildFrameT *Parent, const wxSize &Size)
 
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. More...
 
void NotifySubjectChanged_Deleted (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows)
 Notifies the observer that one or more windows have been deleted. More...
 
void NotifySubjectChanged_Modified (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows, WindowModDetailE Detail)
 
void Notify_Changed (SubjectT *Subject, const cf::TypeSys::VarBaseT &Var)
 Notifies the observer that a variable has changed. More...
 
void NotifySubjectDies (SubjectT *dyingSubject)
 This method is called whenever a subject is about the be destroyed (and become unavailable). More...
 
void RefreshPropGrid ()
 
- Public Member Functions inherited from GuiEditor::ObserverT
virtual void NotifySubjectChanged_Created (SubjectT *Subject, const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &Windows)
 Notifies the observer that one or more windows have been created. More...
 
virtual void NotifySubjectChanged_GuiPropertyModified (SubjectT *Subject)
 Notifies the observer that a general GUI property has been modified. More...
 
virtual ~ObserverT ()
 The virtual destructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from GuiEditor::ObserverT
 ObserverT ()
 The constructor. It is protected so that only derived classes can create instances of this class. More...
 

Member Function Documentation

void WindowInspectorT::Notify_Changed ( SubjectT Subject,
const cf::TypeSys::VarBaseT Var 
)
virtual

Notifies the observer that a variable has changed.

Parameters
SubjectThe GUI document in which a variable has changed.
VarThe variable whose value has changed.

Reimplemented from GuiEditor::ObserverT.

void WindowInspectorT::NotifySubjectChanged_Deleted ( SubjectT Subject,
const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &  Windows 
)
virtual

Notifies the observer that one or more windows have been deleted.

Parameters
SubjectThe GUI document in which the windows have been deleted.
WindowsList of deleted windows.

Reimplemented from GuiEditor::ObserverT.

void WindowInspectorT::NotifySubjectChanged_Modified ( SubjectT Subject,
const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &  Windows,
WindowModDetailE  Detail 
)
virtual
Parameters
SubjectThe GUI document in which the elements have been modified.
WindowsList of modified windows.
DetailInformation about what has been modified: Can be WMD_GENERIC or WMD_HIERARCHY.

Reimplemented from GuiEditor::ObserverT.

void WindowInspectorT::NotifySubjectChanged_Selection ( SubjectT Subject,
const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &  OldSelection,
const ArrayT< IntrusivePtrT< cf::GuiSys::WindowT > > &  NewSelection 
)
virtual

This method is called whenever the window selection of a GUI subject changed.

Parameters
SubjectThe GUI document in which the selection has been changed.
OldSelectionArray of the previously selected windows.
NewSelectionArray of the new selected windows.

Reimplemented from GuiEditor::ObserverT.

void WindowInspectorT::NotifySubjectDies ( SubjectT dyingSubject)
virtual

This method is called whenever a subject is about the be destroyed (and become unavailable).

Parameters
dyingSubjectThe subject that is being destroyed.

Implements GuiEditor::ObserverT.


The documentation for this class was generated from the following files: