![]() | InDesign SDK 20.5 |

Public Member Functions | |
| SnipRunPanelWidgetObserver (IPMUnknown *boss) | |
| virtual | ~SnipRunPanelWidgetObserver () |
| void | AutoAttach () |
| void | AutoDetach () |
| void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
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 |
| virtual void | LazyUpdate (ISubject *theSubject, const PMIID &protocol, const LazyNotificationData *data) |
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 |
Displays the names of registered snippets in widgets on the panel and syncs up other widgets to display related data when the user changes the snippet they want to work with, also provides widgets to support the SnippetRunner framework log.
| SnipRunPanelWidgetObserver::SnipRunPanelWidgetObserver | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
Destructor
| virtual |
Initialises widgets and attaches widget observers.
Reimplemented from CObserver.
| virtual |
Detaches widget observers.
Reimplemented from CObserver.
| virtual |
Update is called for all registered observers, and is the method through which changes are broadcast.
| theChange | this is specified by the agent of change; it can be the class ID of the agent, or it may be some specialised message ID. |
| theSubject | this provides a reference to the object which has changed; in this case, the widget boss objects that are being observed. |
| protocol | the protocol along which the change occurred. |
| changedBy | this can be used to provide additional information about the change or a reference to the boss object that caused the change. |
Implements IObserver.