MCPcopy Index your code
hub / github.com/material-shell/material-shell / MaterialShellExtension

Class MaterialShellExtension

src/extension.ts:38–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36const oldOverview = Main.overview;
37
38export default class MaterialShellExtension
39 extends Extension
40 implements WithSignals
41{
42 static get instance() {
43 return Extension.lookupByUUID(
44 'material-shell@papyelgringo'
45 ) as MaterialShellExtension;
46 }
47
48 static get stateManager() {
49 return this.instance.stateManager!;
50 }
51
52 static get layoutManager() {
53 return this.instance.layoutManager!;
54 }
55 static get tooltipManager() {
56 return this.instance.tooltipManager!;
57 }
58 static get msWindowManager() {
59 return this.instance.msWindowManager!;
60 }
61 static get msWorkspaceManager() {
62 return this.instance.msWorkspaceManager!;
63 }
64 static get msNotificationManager() {
65 return this.instance.msNotificationManager!;
66 }
67 static get msThemeManager() {
68 return this.instance.msThemeManager!;
69 }
70 static get layout() {
71 return this.instance.layout!;
72 }
73 static get hotKeysModule() {
74 return this.instance.hotKeysModule!;
75 }
76
77 disableInProgress: boolean | undefined;
78 emit(name: string, ...params: any[]): void {
79 throw new Error('Method not implemented.');
80 }
81 connect(name: string, callback: (...params: any[]) => void): number {
82 throw new Error('Method not implemented.');
83 }
84 disconnect(id: number): void {
85 throw new Error('Method not implemented.');
86 }
87
88 closing = false;
89 locked = false;
90 splashscreenCalled = false;
91 layoutManager?: LayoutManager;
92 tooltipManager?: TooltipManager;
93 msWindowManager?: MsWindowManager;
94 msWorkspaceManager?: MsWorkspaceManager;
95 msNotificationManager?: MsNotificationManager;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected