Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <berryIWorkbenchPartReference.h>
Public Member Functions | |
berryObjectMacro (berry::IWorkbenchPartReference) | |
~IWorkbenchPartReference () override | |
virtual SmartPointer< IWorkbenchPart > | GetPart (bool restore)=0 |
virtual QIcon | GetTitleImage () const =0 |
virtual QString | GetTitleToolTip () const =0 |
virtual QString | GetId () const =0 |
virtual void | AddPropertyListener (IPropertyChangeListener *listener)=0 |
virtual void | RemovePropertyListener (IPropertyChangeListener *listener)=0 |
virtual SmartPointer< IWorkbenchPage > | GetPage () const =0 |
virtual QString | GetPartName () const =0 |
virtual QString | GetContentDescription () const =0 |
virtual bool | IsPinned () const =0 |
virtual bool | IsDirty () const =0 |
virtual QString | GetPartProperty (const QString &key) 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 |
Implements a reference to a IWorkbenchPart. The IWorkbenchPart will not be instantiated until the part becomes visible or the API getPart is sent with true;
This interface is not intended to be implemented by clients.
Definition at line 36 of file berryIWorkbenchPartReference.h.
|
override |
|
pure virtual |
berry::IWorkbenchPartReference::berryObjectMacro | ( | berry::IWorkbenchPartReference | ) |
|
pure virtual |
Returns the content description for the part (or the empty string if none)
|
pure virtual |
|
pure virtual |
Returns the workbench page that contains this part
|
pure virtual |
Returns the IWorkbenchPart referenced by this object. Returns null
if the editors was not instantiated or it failed to be restored. Tries to restore the editor if restore
is true.
|
pure virtual |
Returns the name of the part, as it should be shown in tabs.
|
pure virtual |
Return an arbitrary property from the reference. If the part has been instantiated, it just delegates to the part. If not, then it looks in its own cache of properties. If the property is not available or the part has never been instantiated, it can return null
.
key | The property to return. Must not be null . |
null
.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Returns whether the part is dirty (i.e. has unsaved changes).
true
if the part is dirty, false
otherwise
|
pure virtual |
Returns true if the part is pinned otherwise returns false.
|
pure virtual |