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

Method GetWorkbench

Plugins/org.blueberry.ui.qt/src/berryPlatformUI.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45IWorkbench*
46PlatformUI::GetWorkbench()
47{
48 if (Workbench::GetInstance() == nullptr)
49 {
50 // app forgot to call createAndRunWorkbench beforehand
51 throw Poco::IllegalStateException("Workbench has not been created yet.");
52 }
53 return Workbench::GetInstance();
54}
55
56bool
57PlatformUI::IsWorkbenchRunning()

Callers 15

OnViewSeriesMethod · 0.45
SwitchPerspectiveMethod · 0.45
OpenFileMethod · 0.45
RunMethod · 0.45
RunMethod · 0.45
RunMethod · 0.45
CreateHelpMenuMethod · 0.45
PerspectiveOpenedMethod · 0.45
PerspectiveClosedMethod · 0.45
PostWindowCreateMethod · 0.45
PostWindowOpenMethod · 0.45
RunMethod · 0.45

Calls

no outgoing calls

Tested by 1

SwitchPerspectiveMethod · 0.36