MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / removeEditorWindow

Method removeEditorWindow

packages/workspace/src/workspace.ts:232–235  ·  view source on GitHub ↗
(resourceName: string, id: string)

Source from the content-addressed store, hash-verified

230 }
231
232 removeEditorWindow(resourceName: string, id: string) {
233 const index = this.windows.findIndex(d => (d.resource?.name === resourceName && (d.title === id || d.resource.id === id)));
234 this.remove(index);
235 }
236
237 removeEditorWindowByResource(resource: IResource) {
238 const index = this.windows.findIndex(d => (d.resource?.id === resource.id));

Callers

nothing calls this directly

Calls 1

removeMethod · 0.95

Tested by

no test coverage detected