(filename: string)
| 326 | } |
| 327 | |
| 328 | private removeFileByFilename(filename: string) { |
| 329 | const file = this.multifileService.removeFileByFilename(filename); |
| 330 | if (file) { |
| 331 | if (file.isOpen) { |
| 332 | const editor = this.hub.getEditorById(file.editorId); |
| 333 | if (editor) { |
| 334 | editor.container.close(); |
| 335 | } |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | this.refresh(); |
| 340 | } |
| 341 | |
| 342 | private addRowToTreelist(file: MultifileFile) { |
| 343 | const item = $(this.rowTemplate.children()[0].cloneNode(true)); |
no test coverage detected