Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berry::IExtensionChangeHandler Struct Referenceabstract

#include <berryIExtensionChangeHandler.h>

Public Member Functions

virtual ~IExtensionChangeHandler ()
 
virtual void AddExtension (IExtensionTracker *tracker, const SmartPointer< IExtension > &extension)=0
 
virtual void RemoveExtension (const SmartPointer< IExtension > &extension, const QList< SmartPointer< Object > > &objects)=0
 

Detailed Description

Extension change handlers are notified of changes for a given extension point in the context of an extension tracker.

This interface can be used without OSGi running.

This interface is intended to be implemented by clients.

Definition at line 36 of file berryIExtensionChangeHandler.h.

Constructor & Destructor Documentation

◆ ~IExtensionChangeHandler()

virtual berry::IExtensionChangeHandler::~IExtensionChangeHandler ( )
virtual

Member Function Documentation

◆ AddExtension()

virtual void berry::IExtensionChangeHandler::AddExtension ( IExtensionTracker tracker,
const SmartPointer< IExtension > &  extension 
)
pure virtual

This method is called whenever an extension conforming to the extension point filter is being added to the registry. This method does not automatically register objects to the tracker.

Parameters
trackera tracker to which the handler has been registered
extensionthe extension being added

◆ RemoveExtension()

virtual void berry::IExtensionChangeHandler::RemoveExtension ( const SmartPointer< IExtension > &  extension,
const QList< SmartPointer< Object > > &  objects 
)
pure virtual

This method is called after the removal of an extension.

Parameters
extensionthe extension being removed
objectsthe objects that were associated with the removed extension

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