Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIWorkbenchSite.h>
Public Member Functions | |
berryObjectMacro (berry::IWorkbenchSite, IServiceLocator) virtual ~IWorkbenchSite() | |
virtual SmartPointer< IWorkbenchPage > | GetPage ()=0 |
virtual SmartPointer< ISelectionProvider > | GetSelectionProvider ()=0 |
virtual SmartPointer< Shell > | GetShell ()=0 |
virtual SmartPointer< IWorkbenchWindow > | GetWorkbenchWindow ()=0 |
virtual void | SetSelectionProvider (SmartPointer< ISelectionProvider > provider)=0 |
![]() | |
berryObjectMacro (berry::IServiceLocator, Object)~IServiceLocator() | |
template<class S > | |
S * | GetService () |
template<class S > | |
bool | HasService () const |
virtual Object * | GetService (const QString &api)=0 |
virtual bool | HasService (const QString &api) const =0 |
![]() | |
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 | |
![]() | |
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 const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
![]() | |
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 |
![]() | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
The common interface between the workbench and its parts, including pages within parts.
The workbench site supports a few services by default. If these services are used to allocate resources, it is important to remember to clean up those resources after you are done with them. Otherwise, the resources will exist until the workbench site is disposed. The supported services are:
This interface is not intended to be implemented or extended by clients.
Definition at line 61 of file berryIWorkbenchSite.h.
berry::IWorkbenchSite::berryObjectMacro | ( | berry::IWorkbenchSite | , |
IServiceLocator | |||
) |
|
pure virtual |
Returns the page containing this workbench site.
|
pure virtual |
Returns the selection provider for this workbench site.
null
if none
|
pure virtual |
Returns the shell for this workbench site. Not intended to be called from outside the UI thread. Clients should call IWorkbench.getDisplay() to gain access to the display rather than calling getShell().getDisplay().
|
pure virtual |
Returns the workbench window containing this workbench site.
|
pure virtual |
Sets the selection provider for this workbench site.
provider | the selection provider, or null to clear it |