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

Method IsStackType

Plugins/org.blueberry.ui.qt/src/internal/berryViewSashContainer.cpp:178–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178bool ViewSashContainer::IsStackType(ILayoutContainer::Pointer toTest)
179{
180 if (toTest.Cast<PartStack> () == 0)
181 return false;
182
183 return (toTest.Cast<PartStack> ()->GetAppearance()
184 != PresentationFactoryUtil::ROLE_EDITOR);
185}
186
187bool ViewSashContainer::IsPaneType(LayoutPart::Pointer toTest)
188{

Callers 4

GetDockingRatioMethod · 0.95
DropObjectMethod · 0.45
DragMethod · 0.45
DerefPartMethod · 0.45

Calls 1

GetAppearanceMethod · 0.80

Tested by

no test coverage detected