MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / constructor

Method constructor

src/main/menu-manager.ts:42–48  ·  view source on GitHub ↗
(controller: CommonController)

Source from the content-addressed store, hash-verified

40 tray: Tray | undefined;
41
42 constructor(controller: CommonController) {
43 this.act = controller.action;
44 this.config = controller.config;
45 bus.gon("openMenu", (name: MenuActionType) => {
46 this.openMenu(name);
47 });
48 }
49
50 getCallback(...args: any[]): CallBack {
51 return (

Callers

nothing calls this directly

Calls 1

openMenuMethod · 0.95

Tested by

no test coverage detected