MCPcopy
hub / github.com/alibaba/lowcode-engine / constructor

Method constructor

packages/workspace/src/workspace.ts:118–125  ·  view source on GitHub ↗
(
    readonly registryInnerPlugin: (designer: IDesigner, editor: IEditor, plugins: IPublicApiPlugins) => Promise<IPublicTypeDisposable>,
    readonly shellModelFactory: any,
  )

Source from the content-addressed store, hash-verified

116 } | IResource)[] = [];
117
118 constructor(
119 readonly registryInnerPlugin: (designer: IDesigner, editor: IEditor, plugins: IPublicApiPlugins) => Promise<IPublicTypeDisposable>,
120 readonly shellModelFactory: any,
121 ) {
122 this.context = new BasicContext(this, '', IPublicEnumPluginRegisterLevel.Workspace);
123 this.context.innerHotkey.activate(true);
124 makeObservable(this);
125 }
126
127 checkWindowQueue() {
128 if (!this.windowQueue || !this.windowQueue.length) {

Callers

nothing calls this directly

Calls 1

activateMethod · 0.65

Tested by

no test coverage detected