当前位置: 首页>>代码示例>>C++>>正文


C++ Pointer::GetEditorArea方法代码示例

本文整理汇总了C++中berry::ipagelayout::Pointer::GetEditorArea方法的典型用法代码示例。如果您正苦于以下问题:C++ Pointer::GetEditorArea方法的具体用法?C++ Pointer::GetEditorArea怎么用?C++ Pointer::GetEditorArea使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在berry::ipagelayout::Pointer的用法示例。


在下文中一共展示了Pointer::GetEditorArea方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: CreateInitialLayout

void QmitkGibbsTractographyPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
    /////////////////////////////////////////////////////
    // all di-app perspectives should have the following:
    /////////////////////////////////////////////////////

    QString editorArea = layout->GetEditorArea();

    layout->AddStandaloneViewPlaceholder("org.mitk.views.viewnavigatorview", berry::IPageLayout::LEFT, 0.3f, editorArea, false);

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

    layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview",
                              false, berry::IPageLayout::BOTTOM, .15f, "org.mitk.views.datamanager");

    berry::IFolderLayout::Pointer left =
            layout->CreateFolder("org.mbi.diffusionimaginginternal.leftcontrols",
                                 berry::IPageLayout::BOTTOM, 0.1f, "org.mitk.views.controlvisualizationpropertiesview");

    layout->AddStandaloneViewPlaceholder("org.mitk.views.imagenavigator",
                                         berry::IPageLayout::BOTTOM, .7f, "org.mbi.diffusionimaginginternal.leftcontrols", false);

    /////////////////////////////////////////////
    // here goes the perspective specific stuff
    /////////////////////////////////////////////

    left->AddView("org.mitk.views.tensorreconstruction");
    left->AddView("org.mitk.views.qballreconstruction");
    left->AddView("org.mitk.views.gibbstracking");
}
开发者ID:151706061,项目名称:MITK,代码行数:31,代码来源:QmitkGibbsTractographyPerspective.cpp

示例2: CreateInitialLayout

// //! [AddView1]
void ViewerPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  QString editorArea = layout->GetEditorArea();
  layout->SetEditorAreaVisible(false);
  layout->AddStandaloneView("org.mitk.views.datamanager", false, berry::IPageLayout::LEFT, 0.3f, layout->GetEditorArea());
  layout->AddStandaloneView("org.mitk.customviewer.views.simplerenderwindowview", false, berry::IPageLayout::RIGHT, 0.7f, layout->GetEditorArea());
}
开发者ID:0r,项目名称:MITK,代码行数:8,代码来源:ViewerPerspective.cpp

示例3: CreateInitialLayout

void QmitkVisualizationPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  /////////////////////////////////////////////////////
  // all di-app perspectives should have the following:
  /////////////////////////////////////////////////////

  QString editorArea = layout->GetEditorArea();

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

  berry::IFolderLayout::Pointer left =
    layout->CreateFolder("org.mitk.extapplication.leftcontrols",
    berry::IPageLayout::BOTTOM, 0.1f, "org.mitk.views.datamanager");

  layout->AddStandaloneViewPlaceholder("org.mitk.views.imagenavigator",
    berry::IPageLayout::BOTTOM, .4f, "org.mitk.extapplication.leftcontrols", true);

  /////////////////////////////////////////////
  // here goes the perspective specific stuff
  /////////////////////////////////////////////

  // Adding the entry for the image navigator to the Windows->"Show View" menu
  layout->AddShowViewShortcut("org.mitk.views.imagenavigator");

  layout->AddPerspectiveShortcut("org.mitk.extapp.defaultperspective");
  layout->AddPerspectiveShortcut("org.mitk.mitkworkbench.perspectives.editor");
}
开发者ID:151706061,项目名称:MITK,代码行数:28,代码来源:QmitkVisualizationPerspective.cpp

示例4: CreateInitialLayout

void QmitkDIAppIVIMPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
    /////////////////////////////////////////////////////
    // all di-app perspectives should have the following:
    /////////////////////////////////////////////////////

    QString editorArea = layout->GetEditorArea();

    layout->AddStandaloneViewPlaceholder("org.mitk.views.viewnavigatorview", berry::IPageLayout::LEFT, 0.3f, editorArea, false);

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

    layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview", false, berry::IPageLayout::BOTTOM, .15f, "org.mitk.views.datamanager");

    berry::IFolderLayout::Pointer left =
            layout->CreateFolder("org.mbi.diffusionimaginginternal.leftcontrols", berry::IPageLayout::BOTTOM, 0.1f, "org.mitk.views.controlvisualizationpropertiesview");

    layout->AddStandaloneViewPlaceholder("org.mitk.views.imagenavigator", berry::IPageLayout::BOTTOM, .7f, "org.mbi.diffusionimaginginternal.leftcontrols", false);

    /////////////////////////////////////////////
    // here goes the perspective specific stuff
    /////////////////////////////////////////////

    left->AddView("org.mitk.views.ivim");
    berry::IViewLayout::Pointer lo = layout->GetViewLayout("org.mitk.views.ivim");


    left->AddView("org.mitk.views.segmentation");
    lo = layout->GetViewLayout("org.mitk.views.segmentation");
    left->AddView("org.mitk.views.diffusionquantification");
    left->AddView("org.mitk.views.diffusionpreprocessing");
}
开发者ID:junaidnaseer,项目名称:MITK,代码行数:32,代码来源:QmitkDIAppIVIMPerspective.cpp

示例5: CreateInitialLayout

// //! [DicomPerspCreateLayout]
void DicomPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  QString editorArea = layout->GetEditorArea();
  layout->SetEditorAreaVisible(false);
  layout->AddStandaloneView("org.mitk.customviewer.views.dicomview", false, berry::IPageLayout::LEFT, 1.0f, layout->GetEditorArea());
  layout->GetViewLayout("org.mitk.customviewer.views.dicomview")->SetCloseable(false);
  layout->GetViewLayout("org.mitk.customviewer.views.dicomview")->SetMoveable(false);
}
开发者ID:0r,项目名称:MITK,代码行数:9,代码来源:DicomPerspective.cpp

示例6: CreateInitialLayout

void MinimalPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  // Editors are placed for free.
  std::string editorAreaId = layout->GetEditorArea();
  // Hides the editor area.
  layout->SetEditorAreaVisible(false);

  layout->AddView("org.mitk.views.minimalview", berry::IPageLayout::LEFT,0.5f, editorAreaId);
}
开发者ID:AGrafmint,项目名称:MITK,代码行数:9,代码来源:MinimalPerspective.cpp

示例7: CreateInitialLayout

void ExtendedPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  // Editors are placed for free.
  std::string editorAreaId = layout->GetEditorArea();
  // Hides the editor area.
  layout->SetEditorAreaVisible(false);

  // add the selection view (for providing selection events for the listener view) to the perspective
  layout->AddView("org.mitk.views.selectionviewmitk", berry::IPageLayout::LEFT,1.0f, editorAreaId);
  // add the listener view (listening for selection events of the selection view) to the perspective
  layout->AddView("org.mitk.views.listenerviewmitk", berry::IPageLayout::RIGHT,0.5f, "org.mitk.views.selectionviewmitk");
}
开发者ID:AGrafmint,项目名称:MITK,代码行数:12,代码来源:ExtendedPerspective.cpp

示例8: CreateInitialLayout

void QmitkDIAppPreprocessingReconstructionPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  std::string editorArea = layout->GetEditorArea();

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

  layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview",
    false, berry::IPageLayout::BOTTOM, .15f, "org.mitk.views.datamanager");

  berry::IFolderLayout::Pointer left =
    layout->CreateFolder("org.mitk.views.leftcontrols2",
    berry::IPageLayout::BOTTOM, 0.1f, "org.mitk.views.controlvisualizationpropertiesview");

  berry::IFolderLayout::Pointer bottomleft =
    layout->CreateFolder("org.mitk.views.leftcontrols",
    berry::IPageLayout::BOTTOM, 0.5f, "org.mitk.views.leftcontrols2");

  layout->AddStandaloneViewPlaceholder("org.mitk.views.imagenavigator",
    berry::IPageLayout::BOTTOM, .6f, "org.mitk.views.leftcontrols", false);

  /////////////////////////////////////////////
  // add the views
  /////////////////////////////////////////////

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

  left->AddView("org.mitk.views.diffusionregistrationview");
  lo = layout->GetViewLayout("org.mitk.views.diffusionregistrationview");
  lo->SetCloseable(false);

  left->AddView("org.mitk.views.tensorreconstruction");
  lo = layout->GetViewLayout("org.mitk.views.tensorreconstruction");
  lo->SetCloseable(false);

  left->AddView("org.mitk.views.qballreconstruction");
  lo = layout->GetViewLayout("org.mitk.views.qballreconstruction");
  lo->SetCloseable(false);

  bottomleft->AddView("org.mitk.views.diffusionquantification");
  berry::IViewLayout::Pointer lo2 = layout->GetViewLayout("org.mitk.views.diffusionquantification");
  lo2->SetCloseable(false);

  bottomleft->AddView("org.mitk.views.odfmaximaextraction");
  lo2 = layout->GetViewLayout("org.mitk.views.odfmaximaextraction");
  lo2->SetCloseable(false);

  bottomleft->AddView("org.mitk.views.odfdetails");
  lo2 = layout->GetViewLayout("org.mitk.views.odfdetails");
  lo2->SetCloseable(false);
}
开发者ID:Maggunator,项目名称:MITK,代码行数:53,代码来源:QmitkDIAppPreprocessingReconstructionPerspective.cpp

示例9: CreateInitialLayout

void QmitkExtDefaultPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  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");
}
开发者ID:david-guerrero,项目名称:MITK,代码行数:17,代码来源:QmitkExtDefaultPerspective.cpp

示例10: CreateInitialLayout

void QmitkExtDefaultPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  QString 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::IPlaceholderFolderLayout::Pointer bottomFolder = layout->CreatePlaceholderFolder("bottom", berry::IPageLayout::BOTTOM, 0.7f, editorArea);
  bottomFolder->AddPlaceholder("org.blueberry.views.logview");
  bottomFolder->AddPlaceholder("org.mitk.views.modules");

  layout->AddPerspectiveShortcut("org.mitk.mitkworkbench.perspectives.editor");
  layout->AddPerspectiveShortcut("org.mitk.mitkworkbench.perspectives.visualization");
}
开发者ID:151706061,项目名称:MITK,代码行数:19,代码来源:QmitkExtDefaultPerspective.cpp

示例11: CreateInitialLayout

void QmitkDIAppQuantificationPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  /////////////////////////////////////////////////////
  // all di-app perspectives should have the following:
  /////////////////////////////////////////////////////

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

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

  layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview",
    false, berry::IPageLayout::BOTTOM, .15f, "org.mitk.views.datamanager");

  berry::IFolderLayout::Pointer left =
    layout->CreateFolder("org.mbi.diffusionimaginginternal.leftcontrols",
    berry::IPageLayout::BOTTOM, 0.1f, "org.mitk.views.controlvisualizationpropertiesview");

  layout->AddStandaloneViewPlaceholder("org.mitk.views.imagenavigator",
    berry::IPageLayout::BOTTOM, .4f, "org.mbi.diffusionimaginginternal.leftcontrols", false);

  /////////////////////////////////////////////
  // here goes the perspective specific stuff
  /////////////////////////////////////////////

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

  left->AddView("org.mitk.views.tractbasedspatialstatistics");
  lo = layout->GetViewLayout("org.mitk.views.tractbasedspatialstatistics");
  lo->SetCloseable(false);

  left->AddView("org.mitk.views.imagestatistics");
  lo = layout->GetViewLayout("org.mitk.views.imagestatistics");
  lo->SetCloseable(false);

  left->AddView("org.mitk.views.measurement");
  lo = layout->GetViewLayout("org.mitk.views.measurement");
  lo->SetCloseable(false);
}
开发者ID:GHfangxin,项目名称:MITK,代码行数:41,代码来源:QmitkDIAppQuantificationPerspective.cpp

示例12: CreateInitialLayout

void QmitkPythonPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  std::string editorArea = layout->GetEditorArea();

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

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

  berry::IFolderLayout::Pointer leftbottomFolder = layout->CreateFolder("leftbottom", berry::IPageLayout::BOTTOM, 0.7f, "org.mitk.views.datamanager");
  leftbottomFolder->AddView("org.mitk.views.pythonvariablestack");
  leftbottomFolder->AddView("org.mitk.views.imagenavigator");

  berry::IFolderLayout::Pointer bottomFolder = layout->CreateFolder("bottom", berry::IPageLayout::BOTTOM, 0.7f, editorArea);
  bottomFolder->AddView("org.mitk.views.pythonconsole");
  bottomFolder->AddView("org.mitk.views.propertylistview");
  bottomFolder->AddView("org.blueberry.views.logview");
}
开发者ID:david-guerrero,项目名称:MITK,代码行数:21,代码来源:QmitkPythonPerspective.cpp

示例13: CreateInitialLayout

void QmitkDTIAtlasAppPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
  std::string editorArea = layout->GetEditorArea();

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

  layout->AddStandaloneView("org.mitk.views.controlvisualizationpropertiesview",
    false, berry::IPageLayout::BOTTOM, .5f, "org.mitk.views.datamanager");

  layout->AddStandaloneView("org.mitk.views.imagenavigator",
    false, berry::IPageLayout::BOTTOM, .8f, "org.mitk.views.controlvisualizationpropertiesview");


//  berry::IFolderLayout::Pointer left =
//    layout->CreateFolder("org.mbi.diffusionimaginginternal.leftcontrols",
//    berry::IPageLayout::BOTTOM, 0.2f, "org.mitk.views.controlvisualizationpropertiesview");

//  layout->AddStandaloneView("org.mitk.views.perspectiveswitcher",
//    false, berry::IPageLayout::BOTTOM, 0.99f, "org.mbi.diffusionimaginginternal.leftcontrols");

  ////////////////////////////////////////
  // public views go here
  ////////////////////////////////////////
//  left->AddView("org.mitk.views.fiberbundleoperations");
//  berry::IViewLayout::Pointer lo = layout->GetViewLayout("org.mitk.views.fiberbundleoperations");
//  lo->SetCloseable(false);

//  left->AddView("org.mitk.views.diffusionpreprocessing");
//  berry::IViewLayout::Pointer lo = layout->GetViewLayout("org.mitk.views.diffusionpreprocessing");
//  lo->SetCloseable(true);

//  left->AddView("org.mitk.views.tensorreconstruction");
//  lo = layout->GetViewLayout("org.mitk.views.tensorreconstruction");
//  lo->SetCloseable(true);

//  left->AddView("org.mitk.views.qballreconstruction");
//  lo = layout->GetViewLayout("org.mitk.views.qballreconstruction");
//  lo->SetCloseable(true);

//  left->AddView("org.mitk.views.diffusionquantification");
//  lo = layout->GetViewLayout("org.mitk.views.diffusionquantification");
//  lo->SetCloseable(true);

//  left->AddView("org.mitk.views.diffusiondicomimport");
//  lo = layout->GetViewLayout("org.mitk.views.diffusiondicomimport");
//  lo->SetCloseable(true);

  ////////////////////////////////////////
  // end public views
  ////////////////////////////////////////


//  berry::IFolderLayout::Pointer right =
//    layout->CreateFolder("org.mbi.diffusionimaginginternal.rightcontrols", berry::IPageLayout::RIGHT, 0.5f, editorArea);

  ////////////////////////////////////////
  // internal views go here
  ////////////////////////////////////////
//  right->AddView("org.mitk.views.globalfibertracking");
//  right->AddView("org.mitk.views.partialvolumeanalysis");
//  right->AddView("org.mitk.views.ivim");
//  right->AddView("org.mitk.views.tractbasedspatialstatistics");
//  right->AddView("org.mitk.views.fibertracking");

  ////////////////////////////////////////
  // end internal views
  ////////////////////////////////////////

}
开发者ID:test-fd301,项目名称:MITK,代码行数:70,代码来源:QmitkDTIAtlasAppPerspective.cpp


注:本文中的berry::ipagelayout::Pointer::GetEditorArea方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。