Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::IRegistryEventListener Struct Referenceabstract

#include <berryIRegistryEventListener.h>

Classes

struct  Events
 

Public Member Functions

virtual ~IRegistryEventListener ()
 
virtual void Added (const QList< SmartPointer< IExtension > > &extensions)=0
 
virtual void Removed (const QList< SmartPointer< IExtension > > &extensions)=0
 
virtual void Added (const QList< SmartPointer< IExtensionPoint > > &extensionPoints)=0
 
virtual void Removed (const QList< SmartPointer< IExtensionPoint > > &extensionPoints)=0
 

Detailed Description

A registry event listener is notified of changes to extension points. Changes include modifications of extension points and their extensions. Listeners will only receive a notification if the extension point they are registered for is modified. (Which includes modifications of extensions under the extension point.)

See also
IExtensionRegistry::AddListener(IRegistryEventListener, QString)

Definition at line 36 of file berryIRegistryEventListener.h.

Constructor & Destructor Documentation

◆ ~IRegistryEventListener()

virtual berry::IRegistryEventListener::~IRegistryEventListener ( )
virtual

Member Function Documentation

◆ Added() [1/2]

virtual void berry::IRegistryEventListener::Added ( const QList< SmartPointer< IExtension > > &  extensions)
pure virtual

Notifies this listener that extensions were added to the registry.

The extensions supplied as the argument are valid only for the duration of the invocation of this method.

Parameters
extensionsextensions added to the registry

◆ Added() [2/2]

virtual void berry::IRegistryEventListener::Added ( const QList< SmartPointer< IExtensionPoint > > &  extensionPoints)
pure virtual

Notifies this listener that extension points were added to the registry.

The extension points supplied as the argument are valid only for the duration of the invocation of this method.

Parameters
extensionPointsextension points added to the registry

◆ Removed() [1/2]

virtual void berry::IRegistryEventListener::Removed ( const QList< SmartPointer< IExtension > > &  extensions)
pure virtual

Notifies this listener that extensions were removed from the registry.

The extensions supplied as the argument are valid only for the duration of the invocation of this method.

Parameters
extensionsextensions removed from the registry

◆ Removed() [2/2]

virtual void berry::IRegistryEventListener::Removed ( const QList< SmartPointer< IExtensionPoint > > &  extensionPoints)
pure virtual

Notifies this listener that extension points were removed from the registry.

The extension points supplied as the argument are valid only for the duration of the invocation of this method.

Parameters
extensionPointsextension points removed from the registry

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