Medical Imaging Interaction Toolkit  2023.12.99-3b10b122
Medical Imaging Interaction Toolkit
berry::IViewReference Struct Referenceabstract

#include <berryIViewReference.h>

Inheritance diagram for berry::IViewReference:
Collaboration diagram for berry::IViewReference:

Public Member Functions

 berryObjectMacro (berry::IViewReference)
 
 ~IViewReference () override
 
virtual QString GetSecondaryId ()=0
 
virtual IViewPart::Pointer GetView (bool restore)=0
 
- Public Member Functions inherited from berry::IWorkbenchPartReference
 berryObjectMacro (berry::IWorkbenchPartReference)
 
 ~IWorkbenchPartReference () override
 
virtual SmartPointer< IWorkbenchPartGetPart (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< IWorkbenchPageGetPage () 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::TypeInfoGetSuperclasses () 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< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- 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
 

Detailed Description

Defines a reference to an IViewPart.

This interface is not intended to be implemented by clients.

Definition at line 29 of file berryIViewReference.h.

Constructor & Destructor Documentation

◆ ~IViewReference()

berry::IViewReference::~IViewReference ( )
override

Member Function Documentation

◆ berryObjectMacro()

berry::IViewReference::berryObjectMacro ( berry::IViewReference  )

◆ GetSecondaryId()

virtual QString berry::IViewReference::GetSecondaryId ( )
pure virtual

Returns the secondary ID for the view.

Returns
the secondary ID, or null if there is no secondary id
See also
IWorkbenchPage::showView(String, String, int)
Since
3.0

◆ GetView()

virtual IViewPart::Pointer berry::IViewReference::GetView ( bool  restore)
pure virtual

Returns the IViewPart referenced by this object. Returns null if the view was not instantiated or it failed to be restored. Tries to restore the view if restore is true.


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