Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <berryEmptyPerspective.h>
Public Member Functions | |
EmptyPerspective (const EmptyPerspective &other) | |
EmptyPerspective () | |
void | CreateInitialLayout (IPageLayout::Pointer layout) |
Public Member Functions inherited from berry::IPerspectiveFactory | |
berryObjectMacro (berry::IPerspectiveFactory)~IPerspectiveFactory() | |
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 |
Static Public Member Functions | |
static QString | GetLastPerspective () |
static void | SetLastPerspective (const QString &perspId) |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Static Public Attributes | |
static const QString | PERSP_ID |
static const QString | PERSP_ID2 |
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 |
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 |
This perspective is used for testing api. It defines an initial layout with no parts, just an editor area.
Definition at line 31 of file berryEmptyPerspective.h.
berry::EmptyPerspective::EmptyPerspective | ( | const EmptyPerspective & | other | ) |
Definition at line 33 of file berryEmptyPerspective.cpp.
berry::EmptyPerspective::EmptyPerspective | ( | ) |
Constructs a new Default layout engine.
Definition at line 28 of file berryEmptyPerspective.cpp.
|
virtual |
Defines the initial layout for a perspective.
Implementors of this method may add additional views to a perspective. The perspective already contains an editor folder with ID = ILayoutFactory::ID_EDITORS
. Add additional views to the perspective in reference to the editor folder.
This method is only called when a new perspective is created. If an old perspective is restored from a persistence file then this method is not called.
factory | the factory used to add views to the perspective |
Implements berry::IPerspectiveFactory.
Definition at line 49 of file berryEmptyPerspective.cpp.
References SetLastPerspective().
|
static |
Returns the descriptor for the perspective last opened using this factory.
null
Definition at line 39 of file berryEmptyPerspective.cpp.
|
static |
Sets the descriptor for the perspective last opened using this factory.
persp | the descriptor for the perspective last opened using this factory, or null |
Definition at line 44 of file berryEmptyPerspective.cpp.
Referenced by CreateInitialLayout().
|
static |
The perspective id for the empty perspective.
Definition at line 47 of file berryEmptyPerspective.h.
Referenced by berry::UITestCase::OpenTestWindow().
|
static |
The perspective id for the second empty perspective.
Definition at line 52 of file berryEmptyPerspective.h.