![]() | InDesign SDK 20.5 |
#include <AbstractDialogObserver.h>

Public Member Functions | |
| AbstractDialogObserver (IPMUnknown *boss) | |
Public Member Functions inherited from CObserver | |
| CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER) | |
| IChangeManager * | GetChangeManager () const |
| virtual void | AutoAttach () |
| virtual void | AutoDetach () |
| virtual void | SetAttachIID (PMIID iid) |
| virtual PMIID | GetAttachIID () const |
| virtual void | SetEnabled (bool16 state) |
| virtual bool16 | IsEnabled () const |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
Public Member Functions inherited from IObserver | |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Protected Member Functions | |
| void | AttachToWidget (const WidgetID &widgetId, const PMIID &iidOfDataToObserve, IPanelControlData *panel) |
| void | DetachFromWidget (const WidgetID &widgetId, const PMIID &iidOfDataToUnobserve, IPanelControlData *panel) |
Additional Inherited Members | |
Public Types inherited from IObserver | |
| enum | { kDefaultIID = IID_IOBSERVER } |
Protected Attributes inherited from CObserver | |
| bool16 | fDetachSubjectsOnDelete |
| PMIID | fAttachIID |
| const UIDRef | fThisRef |
| bool16 | fEnabled |
InDesign selectable dialogs(e.g. the prefs dialog) are made up of multiple independent 'dialogs', each with their own dialog observer. However, CDialogObserver provides some functionality that we don't want in the case of a selectable dialog, so each individual selectable dialog panel should inherit their observer from AbstractDialogObserver rather than CDialogObserver.
| protected |
Helper method to make it easy to attach to widget in the dialog.
| protected |
Helper method to make it easy to detach from widget in the dialog.