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

Public Member Functions | |
| CSelectableDialogObserver (IPMUnknown *boss) | |
| virtual void | Update (const ClassID &theChange, ISubject *theSubject, const PMIID &protocol, void *changedBy) |
| virtual void | AutoAttach () |
| virtual void | AutoDetach () |
Public Member Functions inherited from CDialogObserver | |
| CDialogObserver (IPMUnknown *boss) | |
Public Member Functions inherited from AbstractDialogObserver | |
| AbstractDialogObserver (IPMUnknown *boss) | |
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) |
Protected Member Functions | |
| virtual int32 | GetSelectedPanelIndex () |
Protected Member Functions inherited from CDialogObserver | |
| virtual void | CloseDialog (bool16 windowAlreadyClosed=kFalse) |
| virtual void | FireOffEndDialogCmd (bool16 hitOK) |
| void | SetDialogValidationStatusFailed (bool16 bStatus=kTrue) |
| void | SetCloseOnCancel (bool16 shouldCloseOnCancel=kTrue) |
Protected Member Functions inherited from AbstractDialogObserver | |
| 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 |
Implementation (base) class for selectable dialog observers. Subclasses should derive from CSelectableDialogObserver, and call the inherited behavior.
| virtual |
Override to attach to the appropriate subject(s). This implementation calls the inherited dialog behavior and attaches the selectable dialog's selection list widget.
Reimplemented from CDialogObserver.
Reimplemented in BscSlDlgTabDialogObserver, and BscSlDlgDialogObserver.
| virtual |
Override to detach from the appropriate subject(s). This implementation calls the inherited dialog behavior and detaches the selectable dialog's selection list widget.
Reimplemented from CDialogObserver.
Reimplemented in BscSlDlgTabDialogObserver, and BscSlDlgDialogObserver.
| protectedvirtual |
Utility method for getting the index of the selected panel in the dialog.
Reimplemented in BscSlDlgDialogObserver.
| virtual |
Override to respond to a change in an observed subject. This implementation calls the inherited dialog behavior and handles the selectable dialog's list box
Reimplemented from CDialogObserver.
Reimplemented in BscSlDlgDialogObserver, and BscSlDlgTabDialogObserver.