()
| 125 | } |
| 126 | |
| 127 | checkWindowQueue() { |
| 128 | if (!this.windowQueue || !this.windowQueue.length) { |
| 129 | return; |
| 130 | } |
| 131 | |
| 132 | const windowInfo = this.windowQueue.shift(); |
| 133 | if (windowInfo instanceof Resource) { |
| 134 | this.openEditorWindowByResource(windowInfo); |
| 135 | } else if (windowInfo) { |
| 136 | this.openEditorWindow(windowInfo.name, windowInfo.title, windowInfo.options, windowInfo.viewName); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | async initWindow() { |
| 141 | if (!this.defaultResourceType || this.enableAutoOpenFirstWindow === false) { |
no test coverage detected