Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berry::IPostSelectionProvider Struct Referenceabstract

#include <berryIPostSelectionProvider.h>

Inheritance diagram for berry::IPostSelectionProvider:
Collaboration diagram for berry::IPostSelectionProvider:

Public Member Functions

 berryObjectMacro (berry::IPostSelectionProvider)
 
 ~IPostSelectionProvider () override
 
virtual void AddPostSelectionChangedListener (ISelectionChangedListener *listener)=0
 
virtual void RemovePostSelectionChangedListener (ISelectionChangedListener *listener)=0
 
- Public Member Functions inherited from berry::ISelectionProvider
 berryObjectMacro (berry::ISelectionProvider)
 
 ~ISelectionProvider () override
 
virtual void AddSelectionChangedListener (ISelectionChangedListener *listener)=0
 
virtual ISelection::ConstPointer GetSelection () const =0
 
virtual void RemoveSelectionChangedListener (ISelectionChangedListener *listener)=0
 
virtual void SetSelection (const ISelection::ConstPointer &selection)=0
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Selection provider extension interface to allow providers to notify about post selection changed events. A post selection changed event is equivalent to selection changed event if the selection change was triggered by the mouse, but it has a delay if the selection change is triggered by keyboard navigation.

See also
ISelectionProvider

Definition at line 32 of file berryIPostSelectionProvider.h.

Constructor & Destructor Documentation

◆ ~IPostSelectionProvider()

berry::IPostSelectionProvider::~IPostSelectionProvider ( )
override

Member Function Documentation

◆ AddPostSelectionChangedListener()

virtual void berry::IPostSelectionProvider::AddPostSelectionChangedListener ( ISelectionChangedListener listener)
pure virtual

Adds a listener for post selection changes in this selection provider. Has no effect if an identical listener is already registered.

Parameters
listenera selection changed listener

◆ berryObjectMacro()

berry::IPostSelectionProvider::berryObjectMacro ( berry::IPostSelectionProvider  )

◆ RemovePostSelectionChangedListener()

virtual void berry::IPostSelectionProvider::RemovePostSelectionChangedListener ( ISelectionChangedListener listener)
pure virtual

Removes the given listener for post selection changes from this selection provider. Has no affect if an identical listener is not registered.

Parameters
listenera selection changed listener

The documentation for this struct was generated from the following file: