MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / start

Method start

src/plugins/container/container.cpp:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40bool Container::start()
41{
42 qInfo() << __FUNCTION__;
43
44 auto &ctx = dpfInstance.serviceContext();
45 WindowService *windowService = ctx.service<WindowService>(WindowService::name());
46 if (windowService) {
47 windowService->addContextWidget("Virtual", new AbstractWidget(ContainerKeeper::instance()->tabWidget()));
48 }
49
50 return true;
51}
52
53dpf::Plugin::ShutdownFlag Container::stop()
54{

Callers

nothing calls this directly

Calls 3

addContextWidgetMethod · 0.80
nameFunction · 0.50
tabWidgetMethod · 0.45

Tested by

no test coverage detected