(state: WINDOW_STATE)
| 80 | } |
| 81 | |
| 82 | updateState(state: WINDOW_STATE): void { |
| 83 | switch (state) { |
| 84 | case WINDOW_STATE.active: |
| 85 | this._editorView?.setActivate(true); |
| 86 | break; |
| 87 | case WINDOW_STATE.inactive: |
| 88 | this._editorView?.setActivate(false); |
| 89 | break; |
| 90 | case WINDOW_STATE.destroyed: |
| 91 | break; |
| 92 | } |
| 93 | } |
| 94 | |
| 95 | async importSchema(schema: any) { |
| 96 | const newSchema = await this.resource.import(schema); |
no outgoing calls
no test coverage detected