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

Public Member Functions

 TblAttSelectionObserver (IPMUnknown *boss)
 
virtual ~TblAttSelectionObserver ()
 
- 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 *)
 
virtual void HandleSelectionAttributeChanged (const ISelectionMessage *selectionMessage)
 
- Protected Member Functions inherited from ActiveSelectionObserver
virtual void HandleFrequentSelectionChanged ()
 
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

Class to observe changes in the active context, and change UI when attributes change.

Constructor & Destructor Documentation

TblAttSelectionObserver::TblAttSelectionObserver (IPMUnknownboss)

Constructor.

TblAttSelectionObserver::~TblAttSelectionObserver ()
virtual

Destructor.

Member Function Documentation

void TblAttSelectionObserver::HandleSelectionAttributeChanged (const ISelectionMessageselectionMessage)
protectedvirtual

Some aspect of one or more items in the selection has changed. Only those clients whose observed suiteIID was affected by the selection message should update. The suite may have also sent some suite specific broadcast data.

If there is a change in one of the table strokes, the UI will get updated correspondingly.

Reimplemented from ActiveSelectionObserver.

void TblAttSelectionObserver::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.