mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-05 01:37:17 +00:00
14 lines
343 B
TypeScript
14 lines
343 B
TypeScript
import { EditorWindow } from '@alilc/lowcode-workspace';
|
|
import { BasicContext } from '@alilc/lowcode-editor-view';
|
|
|
|
export class Context extends BasicContext {
|
|
constructor(public editorWindow: EditorWindow) {
|
|
super();
|
|
this.init();
|
|
}
|
|
|
|
async init() {
|
|
await this.editorWindow.resource.init(this);
|
|
this.plugins.init();
|
|
}
|
|
} |