Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryIPerspectiveDescriptor.h>
Public Member Functions | |
berryObjectMacro (berry::IPerspectiveDescriptor) virtual ~IPerspectiveDescriptor() | |
virtual QString | GetDescription () const =0 |
virtual QString | GetId () const =0 |
virtual QIcon | GetImageDescriptor () const =0 |
virtual QString | GetLabel () const =0 |
virtual QStringList | GetCategoryPath () const =0 |
virtual QStringList | GetKeywordReferences () 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 |
A perspective descriptor describes a perspective in an IPerspectiveRegistry
.
A perspective is a template for view visibility, layout, and action visibility within a workbench page. There are two types of perspective: a predefined perspective and a custom perspective.
"org.blueberry.ui.perspectives"
). The extension defines a id, label, and IPerspectiveFactory
. A perspective factory is used to define the initial layout for a page. Within a page the user can open any of the perspectives known to the workbench's perspective registry, typically by selecting one from the workbench's Open Perspective
menu. When selected, the views and actions within the active page rearrange to reflect the perspective.
This interface is not intended to be implemented by clients.
Definition at line 61 of file berryIPerspectiveDescriptor.h.
berry::IPerspectiveDescriptor::berryObjectMacro | ( | berry::IPerspectiveDescriptor | ) |
|
pure virtual |
Returns true
if this perspective is predefined by an extension.
|
pure virtual |
Returns the description of this perspective. This is the value of its "description"
attribute.
|
pure virtual |
Returns this perspective's id. For perspectives declared via an extension, this is the value of its "id"
attribute.
|
pure virtual |
Returns the descriptor of the image to show for this perspective. If the extension for this perspective specifies an image, the descriptor for it is returned. Otherwise a default image is returned.
|
pure virtual |
Returns a list of ids belonging to keyword reference extensions.
The keywords listed in each referenced id can be used to filter this perspective.
|
pure virtual |
Returns this perspective's label. For perspectives declared via an extension, this is the value of its "label"
attribute.