MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getEditingView

Method getEditingView

src/Gui/ViewProviderDocumentObject.cpp:472–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

470}
471
472Gui::MDIView* ViewProviderDocumentObject::getEditingView() const
473{
474 if (!pcObject) {
475 throw Base::RuntimeError("View provider detached");
476 }
477 App::Document* pAppDoc = pcObject->getDocument();
478 Gui::Document* pGuiDoc = Gui::Application::Instance->getDocument(pAppDoc);
479 return pGuiDoc->getEditingViewOfViewProvider(const_cast<ViewProviderDocumentObject*>(this));
480}
481
482Gui::MDIView* ViewProviderDocumentObject::getInventorView() const
483{

Callers

nothing calls this directly

Calls 2

getDocumentMethod · 0.45

Tested by

no test coverage detected