MCPcopy Create free account
hub / github.com/MITK/MITK / DerefPart

Method DerefPart

Plugins/org.blueberry.ui.qt/src/internal/berryPartStack.cpp:277–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void PartStack::DerefPart(LayoutPart::Pointer toDeref)
278{
279 if (appearance == PresentationFactoryUtil::ROLE_EDITOR)
280 EditorAreaHelper::DerefPart(toDeref);
281 else
282 this->GetPage()->GetActivePerspective()->GetPresentation()->DerefPart(
283 toDeref);
284}
285
286bool PartStack::AllowsDrop(PartPane::Pointer part)
287{

Callers 1

DropMethod · 0.45

Calls 3

GetPageMethod · 0.95
GetActivePerspectiveMethod · 0.80
GetPresentationMethod · 0.45

Tested by

no test coverage detected