InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CdlChtUISelectionObserver Class Reference
Inheritance diagram for CdlChtUISelectionObserver:
ActiveSelectionObserverCObserverIObserverIPMUnknown

Public Member Functions

 CdlChtUISelectionObserver (IPMUnknown *boss)
 
virtual ~CdlChtUISelectionObserver ()
 
- Public Member Functions inherited from ActiveSelectionObserver
 ActiveSelectionObserver (IPMUnknown *boss, PMIID observerIID=IID_IOBSERVER)
 
virtual void AutoAttach ()
 
virtual void AutoDetach ()
 
virtual void Update (const ClassID &c, ISubject *, const PMIID &p, void *v)
 
- Public Member Functions inherited from CObserver
 CObserver (IPMUnknown *boss, PMIID interfaceID=IID_IOBSERVER)
 
IChangeManagerGetChangeManager () 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 void HandleSelectionChanged (const ISelectionMessage *selectionMessage)
 
- Protected Member Functions inherited from ActiveSelectionObserver
virtual void HandleFrequentSelectionChanged ()
 
virtual void HandleSelectionAttributeChanged (const ISelectionMessage *)
 
virtual void AttachToSelectionSubject (ISubject *selectionSubject)
 
virtual void DetachFromSelectionSubject (ISubject *selectionSubject)
 
virtual void HandleActiveSelectionChanged ()
 
virtual void HandleSelectionUpdate (const ClassID &c, ISubject *s, const PMIID &p, void *v)
 
virtual IPMUnknownQueryAbstractSelection (const PMIID &p)
 
virtual void AttachToActiveSelection ()
 
virtual void DetachFromActiveSelection ()
 

Additional Inherited Members

- Public Types inherited from IObserver
enum  { kDefaultIID = IID_IOBSERVER }
 
- Protected Attributes inherited from ActiveSelectionObserver
PMIID fObserverIID
 
ISelectionManagerfCurrentSelection
 

Detailed Description

Observes changes in the active context.

Constructor & Destructor Documentation

CdlChtUISelectionObserver::CdlChtUISelectionObserver (IPMUnknownboss)

Constructor.

CdlChtUISelectionObserver::~CdlChtUISelectionObserver ()
virtual

Destructor.

Member Function Documentation

void CdlChtUISelectionObserver::HandleSelectionChanged (const ISelectionMessageselectionMessage)
protectedvirtual

Everything relating to the selection should update. Either (a) there is a new active selection, or (b) the items in the selection has changed.

If the table selected changes in some way then the UI will get updated accordingly.

Reimplemented from ActiveSelectionObserver.