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

#include <berryIWorkbenchPartSite.h>

Inheritance diagram for berry::IWorkbenchPartSite:
Collaboration diagram for berry::IWorkbenchPartSite:

Public Member Functions

 berryObjectMacro (berry::IWorkbenchPartSite, IWorkbenchSite)
 
 ~IWorkbenchPartSite () override
 
virtual QString GetId () const =0
 
virtual SmartPointer< IWorkbenchPartGetPart ()=0
 
virtual QString GetPluginId () const =0
 
virtual QString GetRegisteredName () const =0
 
- Public Member Functions inherited from berry::IWorkbenchSite
 berryObjectMacro (berry::IWorkbenchSite, IServiceLocator)
 
 ~IWorkbenchSite () override
 
virtual SmartPointer< IWorkbenchPageGetPage ()=0
 
virtual SmartPointer< ISelectionProviderGetSelectionProvider ()=0
 
virtual SmartPointer< ShellGetShell ()=0
 
virtual SmartPointer< IWorkbenchWindowGetWorkbenchWindow ()=0
 
virtual void SetSelectionProvider (SmartPointer< ISelectionProvider > provider)=0
 
- Public Member Functions inherited from berry::IServiceLocator
 berryObjectMacro (berry::IServiceLocator, Object)
 
 ~IServiceLocator () override
 
template<class S >
S * GetService ()
 
template<class S >
bool HasService () const
 
virtual ObjectGetService (const QString &api)=0
 
virtual bool HasService (const QString &api) 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

The primary interface between a workbench part and the workbench.

This interface is not intended to be implemented or extended by clients.

Definition at line 31 of file berryIWorkbenchPartSite.h.

Constructor & Destructor Documentation

◆ ~IWorkbenchPartSite()

berry::IWorkbenchPartSite::~IWorkbenchPartSite ( )
override

Member Function Documentation

◆ berryObjectMacro()

berry::IWorkbenchPartSite::berryObjectMacro ( berry::IWorkbenchPartSite  ,
IWorkbenchSite   
)

◆ GetId()

virtual QString berry::IWorkbenchPartSite::GetId ( ) const
pure virtual

Returns the part registry extension id for this workbench site's part.

The name comes from the id attribute in the configuration element.

Returns
the registry extension id

◆ GetPart()

virtual SmartPointer<IWorkbenchPart> berry::IWorkbenchPartSite::GetPart ( )
pure virtual

Returns the part associated with this site

Returns
the part associated with this site

◆ GetPluginId()

virtual QString berry::IWorkbenchPartSite::GetPluginId ( ) const
pure virtual

Returns the unique identifier of the plug-in that defines this workbench site's part.

Returns
the unique identifier of the declaring plug-in

◆ GetRegisteredName()

virtual QString berry::IWorkbenchPartSite::GetRegisteredName ( ) const
pure virtual

Returns the registered name for this workbench site's part.

The name comes from the name attribute in the configuration element.

Returns
the part name

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