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

Method updateActivityBarContextMenu

src/controller/menuBar.ts:329–335  ·  view source on GitHub ↗
(menuId: UniqueId)

Source from the content-addressed store, hash-verified

327 }
328
329 private updateActivityBarContextMenu(menuId: UniqueId) {
330 const { MENU_VIEW_MENUBAR, CONTEXT_MENU_MENU } =
331 this.builtinService.getConstants();
332 if (CONTEXT_MENU_MENU && menuId === MENU_VIEW_MENUBAR) {
333 this.activityBarService.toggleContextMenuChecked(CONTEXT_MENU_MENU);
334 }
335 }
336}

Callers 1

MenuBarControllerClass · 0.95

Calls 2

getConstantsMethod · 0.65

Tested by

no test coverage detected