mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
feat(outline-pane): suport registry in workspace level
This commit is contained in:
parent
ad044f49ed
commit
029fd1ce67
@ -40,8 +40,6 @@ export class TreeMaster {
|
||||
const { workspace } = this.pluginContext;
|
||||
this.initEvent();
|
||||
if (pluginContext.registerLevel === IPublicEnumPluginRegisterLevel.Workspace) {
|
||||
this.setPluginContext(workspace.window?.currentEditorView);
|
||||
workspace.onWindowRendererReady(() => {
|
||||
this.setPluginContext(workspace.window?.currentEditorView);
|
||||
let dispose: IPublicTypeDisposable | undefined;
|
||||
const windowViewTypeChangeEvent = () => {
|
||||
@ -57,7 +55,6 @@ export class TreeMaster {
|
||||
this.setPluginContext(workspace.window?.currentEditorView);
|
||||
dispose && dispose();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user