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

#include <berryIRegistryEventListener.h>

Inheritance diagram for berry::IRegistryEventListener:

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 40 of file berryIRegistryEventListener.h.

Constructor & Destructor Documentation

berry::IRegistryEventListener::~IRegistryEventListener ( )
virtual

Definition at line 41 of file berryIRegistryEventListener.cpp.

Member Function Documentation

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

Referenced by berry::IRegistryEventListener::Events::AddListener(), and berry::IRegistryEventListener::Events::RemoveListener().

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
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

Referenced by berry::IRegistryEventListener::Events::AddListener(), and berry::IRegistryEventListener::Events::RemoveListener().

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 files: