Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <berryISelectionProvider.h>
Public Member Functions | |
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::TypeInfo > | GetSuperclasses () 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< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
Interface common to all objects that provide a selection.
Definition at line 33 of file berryISelectionProvider.h.
|
override |
|
pure virtual |
Adds a listener for selection changes in this selection provider. Has no effect if an identical listener is already registered.
listener | a selection changed listener |
Implemented in berry::QtSelectionProvider.
berry::ISelectionProvider::berryObjectMacro | ( | berry::ISelectionProvider | ) |
|
pure virtual |
Returns the current selection for this provider.
Implemented in QmitkDataNodeSelectionProvider, and berry::QtSelectionProvider.
|
pure virtual |
Removes the given selection change listener from this selection provider. Has no affect if an identical listener is not registered.
listener | a selection changed listener |
Implemented in berry::QtSelectionProvider.
|
pure virtual |
Sets the current selection for this selection provider.
selection | the new selection |
Implemented in berry::QtSelectionProvider.