![]() | InDesign SDK 20.5 |

Public Member Functions | |
| CusCondTxtTreeViewObserver (IPMUnknown *boss) | |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
| virtual void | AutoAttach () |
| virtual void | AutoDetach () |
Public Member Functions inherited from CObserver | |
| CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER) | |
| IChangeManager * | GetChangeManager () const |
| virtual void | SetAttachIID (PMIID iid) |
| virtual PMIID | GetAttachIID () const |
| virtual void | SetEnabled (bool16 state) |
| virtual bool16 | IsEnabled () const |
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 |
| virtual |
If the observer knows which subject(s) to attach itself to, it'll do so with this call
Reimplemented from CObserver.
| virtual |
If the observer knows which subject(s) to detach itself from, it'll do so with this call
Reimplemented from CObserver.
| virtual |
Lazy notification of a change in an observed subject; this method is called after the transaction in which the change was performed completes and after undo or redo.
| theSubject | is the subject that changed |
| protocol | is the interface of the subject's boss that changed |
| data | lazy notification data or nil. Observers must be able to handle a call that has nil data. In certain low memory conditions the lazy notification data passed to ISubject::ModelChange may not be passed on to observers. The observer must be able to work without data in which case the observer would usually refresh its entire state by re-examining all objects of interest. See LazyNotificationData for documentation. |
Reimplemented from CObserver.
| virtual |
Regular notification of a change in an observed subject; this method is called immediately after the
change is made, it is not called on undo or redo.
| theChange | represents the change to an object, often this is the ClassID of the command that made the change |
| theSubject | is the subject that changed |
| protocol | is the interface of the subject's boss that changed |
| changedBy | is used to pass additional data about the change, often this is a pointer to the command that caused the change |
Implements IObserver.