()
| 198 | } |
| 199 | |
| 200 | private initCallbacks() { |
| 201 | this.container.on('resize', this.resize, this); |
| 202 | this.container.on('shown', this.resize, this); |
| 203 | this.container.on('open', () => { |
| 204 | this.eventHub.emit('treeOpen', this.id); |
| 205 | }); |
| 206 | this.container.on('destroy', this.close, this); |
| 207 | |
| 208 | this.eventHub.on('renamePane', this.paneRenamedExternally, this); |
| 209 | |
| 210 | this.eventHub.on('editorOpen', this.onEditorOpen, this); |
| 211 | this.eventHub.on('editorClose', this.onEditorClose, this); |
| 212 | this.eventHub.on('compilerOpen', this.onCompilerOpen, this); |
| 213 | this.eventHub.on('compilerClose', this.onCompilerClose, this); |
| 214 | |
| 215 | this.eventHub.on('compileResult', this.onCompileResponse, this); |
| 216 | |
| 217 | this.toggleCMakeButton.on('change', this.onToggleCMakeChange.bind(this)); |
| 218 | |
| 219 | this.cmakeArgsInput.on('change', this.updateCMakeArgs.bind(this)); |
| 220 | this.customOutputFilenameInput.on('change', this.updateCustomOutputFilename.bind(this)); |
| 221 | } |
| 222 | |
| 223 | private updateCMakeArgs() { |
| 224 | this.updateState(); |
no test coverage detected