5 #include <Gui/PickedPoint.h> 6 #include <Gui/Selection.h> 13 class DocumentObserver;
16 public App::Document::ObserverType,
17 public Gui::Selection::ObserverType,
18 public Gui::PickedPoint::ObserverType
27 void onChange(Gui::Selection::SubjectType* rCaller, Gui::Selection::MessageType Reason);
28 void onChange(App::Document::SubjectType* rCaller, App::Document::MessageType Reason);
29 void onChange(Gui::PickedPoint::SubjectType* rCaller, Gui::PickedPoint::MessageType Reason);
35 Gui::Selection* _theSelection =
nullptr;
36 Gui::PickedPoint* _thePickedPoint =
nullptr;
37 std::shared_ptr<DocumentObserver> _parent;
Definition: CoreApplication.h:94
Observer< Core::AppChanges > ObserverType
Definition: Observer.h:112
Definition: CoreApplication.h:38
Definition: CoreDocument.h:197
Document holding all persistent DocObjects.
Definition: Document.h:62
Definition: ActiveScript.h:9
void onChange(Core::CoreApplication::SubjectType *rCaller, Core::CoreApplication::MessageType Reason)
Definition: DocumentObserverImpl.h:15
DocumentObserver observes the Document. This class has to be overridden to get messages from the obse...
Definition: DocumentObserver.h:41