本文整理汇总了C++中berry::ipagelayout::Pointer::SetEditorAreaVisible方法的典型用法代码示例。如果您正苦于以下问题:C++ Pointer::SetEditorAreaVisible方法的具体用法?C++ Pointer::SetEditorAreaVisible怎么用?C++ Pointer::SetEditorAreaVisible使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类berry::ipagelayout::Pointer
的用法示例。
在下文中一共展示了Pointer::SetEditorAreaVisible方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: 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());
}
示例2: 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);
}
示例3: 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);
}
示例4: 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");
}
示例5: CreateInitialLayout
void MinimalPerspective::CreateInitialLayout(berry::IPageLayout::Pointer layout)
{
// Hides the editor area.
layout->SetEditorAreaVisible(false);
}