()
| 131 | } |
| 132 | |
| 133 | async init() { |
| 134 | await this.initViewTypes(); |
| 135 | await this.execViewTypesInit(); |
| 136 | Promise.all(Array.from(this.editorViews.values()).map((d) => d.onSimulatorRendererReady())) |
| 137 | .then(() => { |
| 138 | this.workspace.emitWindowRendererReady(); |
| 139 | }); |
| 140 | this.url = await this.resource.url(); |
| 141 | this.setDefaultViewName(); |
| 142 | this.initReady = true; |
| 143 | this.workspace.checkWindowQueue(); |
| 144 | this.sleep = false; |
| 145 | this.updateState(WINDOW_STATE.active); |
| 146 | } |
| 147 | |
| 148 | initViewTypes = async () => { |
| 149 | const editorViews = this.resource.editorViews; |
nothing calls this directly
no test coverage detected