Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <berryIProduct.h>
Public Member Functions | |
berryObjectMacro (IProduct) | |
~IProduct () override | |
virtual QString | GetApplication () const =0 |
virtual QString | GetName () const =0 |
virtual QString | GetDescription () const =0 |
virtual QString | GetId () const =0 |
virtual QString | GetProperty (const QString &key) const =0 |
virtual QSharedPointer< ctkPlugin > | GetDefiningPlugin () const =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 |
Products are the BlueBerry unit of branding. From the runtime point of view they have a name, id and description and identify the BlueBerry application to run.
Since the bulk of the branding related information is specific to the UI, products also carry an arbitrary set of properties. The valid set of key-value pairs and their interpretation defined by the UI of the target environment. For example, in the standard BlueBerry UI, IProductConstants
the properties of interest to the UI. Other clients may specify additional properties.
Products can be defined directly using extensions to the org.blueberry.core.runtime.products
extension point or by using facilities provided by IProductProvider implementations.
Definition at line 42 of file berryIProduct.h.
|
override |
berry::IProduct::berryObjectMacro | ( | IProduct | ) |
|
pure virtual |
Returns the application associated with this product. This information is used to guide the runtime as to what application extension to create and execute.
null
if none
|
pure virtual |
Returns the plug-in which is responsible for the definition of this product. Typically this is used as a base for searching for images and other files that are needed in presenting the product.
null
if none
|
pure virtual |
Returns the text description of this product
null
if none
|
pure virtual |
Returns the unique product id of this product.
|
pure virtual |
Returns the name of this product. The name is typically used in the title bar of UI windows.
null
if none
|
pure virtual |
Returns the property of this product with the given key. null
is returned if there is no such key/value pair.
key | the name of the property to return |
null
if none