MCPcopy Create free account
hub / github.com/DTStack/molecule / initView

Method initView

src/controller/activityBar.ts:56–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 public initView() {
57 const { activityBarData, contextMenuData } =
58 this.builtinService.getModules();
59 if (activityBarData) {
60 this.activityBarService.add(activityBarData);
61 }
62 if (contextMenuData) {
63 this.activityBarService.addContextMenu(contextMenuData);
64 }
65 }
66
67 public readonly onClick = (
68 selectedKey: UniqueId,

Callers

nothing calls this directly

Calls 3

getModulesMethod · 0.65
addMethod · 0.65
addContextMenuMethod · 0.65

Tested by

no test coverage detected