Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "QmitkDiffusionImagingPublicPerspective.h"
00019 #include "berryIViewLayout.h"
00020
00021 void QmitkDiffusionImagingPublicPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
00022 {
00023 std::string editorArea = layout->GetEditorArea();
00024
00025 layout->AddStandaloneView("org.mitk.views.datamanager",
00026 false, berry::IPageLayout::LEFT, 0.3f, editorArea);
00027
00028 layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview",
00029 false, berry::IPageLayout::BOTTOM, .2f, "org.mitk.views.datamanager");
00030
00031 berry::IFolderLayout::Pointer left =
00032 layout->CreateFolder("org.mitk.leftcontrols",
00033 berry::IPageLayout::BOTTOM, 0.125f, "org.mitk.views.controlvisualizationpropertiesview");
00034
00035 layout->AddStandaloneView("org.mitk.views.imagenavigator",
00036 false, berry::IPageLayout::BOTTOM, 0.8f, "org.mitk.leftcontrols");
00037
00038 layout->AddStandaloneView("org.mitk.views.perspectiveswitcher",
00039 false, berry::IPageLayout::BOTTOM, 0.99f, "org.mitk.views.imagenavigator");
00040
00041
00042
00043
00044 left->AddView("org.mitk.views.diffusionpreprocessing");
00045 left->AddView("org.mitk.views.tensorreconstruction");
00046 left->AddView("org.mitk.views.qballreconstruction");
00047 left->AddView("org.mitk.views.diffusionquantification");
00048 left->AddView("org.mitk.views.diffusiondicomimport");
00049
00050 berry::IViewLayout::Pointer lo = layout->GetViewLayout("org.mitk.views.diffusionpreprocessing");
00051 lo->SetCloseable(false);
00052
00053 lo = layout->GetViewLayout("org.mitk.views.qballreconstruction");
00054 lo->SetCloseable(false);
00055
00056 lo = layout->GetViewLayout("org.mitk.views.tensorreconstruction");
00057 lo->SetCloseable(false);
00058
00059 lo = layout->GetViewLayout("org.mitk.views.diffusionquantification");
00060 lo->SetCloseable(false);
00061
00062 lo = layout->GetViewLayout("org.mitk.views.diffusiondicomimport");
00063 lo->SetCloseable(false);
00064
00065
00066
00067
00068 }