Public Member Functions

QmitkExtDefaultPerspective Struct Reference

#include <QmitkExtDefaultPerspective.h>

Inheritance diagram for QmitkExtDefaultPerspective:
Inheritance graph
[legend]
Collaboration diagram for QmitkExtDefaultPerspective:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void CreateInitialLayout (berry::IPageLayout::Pointer layout)

Detailed Description

Definition at line 24 of file QmitkExtDefaultPerspective.h.


Member Function Documentation

void QmitkExtDefaultPerspective::CreateInitialLayout ( berry::IPageLayout::Pointer  layout ) [virtual]

Implements berry::IPerspectiveFactory.

Definition at line 22 of file QmitkExtDefaultPerspective.cpp.

References berry::IPageLayout::BOTTOM, and berry::IPageLayout::LEFT.

{
  std::string editorArea = layout->GetEditorArea();

  layout->AddView("org.mitk.views.datamanager", 
    berry::IPageLayout::LEFT, 0.3f, editorArea);

  berry::IViewLayout::Pointer lo = layout->GetViewLayout("org.mitk.views.datamanager");
  lo->SetCloseable(false);

  layout->AddView("org.mitk.views.imagenavigator", 
    berry::IPageLayout::BOTTOM, 0.5f, "org.mitk.views.datamanager");

  berry::IFolderLayout::Pointer bottomFolder = layout->CreateFolder("bottom", berry::IPageLayout::BOTTOM, 0.7f, editorArea);
  bottomFolder->AddView("org.mitk.views.propertylistview");
  bottomFolder->AddView("org.blueberry.views.logview");
}

The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines