()
| 21 | |
| 22 | export default class App extends React.Component { |
| 23 | constructor() { |
| 24 | |
| 25 | super(); |
| 26 | this.state = { |
| 27 | openTabs: {}, |
| 28 | previousPaths: [], |
| 29 | openedProjectPath: '', |
| 30 | openMenuId: null, |
| 31 | createMenuInfo: { |
| 32 | id: null, |
| 33 | type: null |
| 34 | }, |
| 35 | fileTree: null, |
| 36 | watch: null, |
| 37 | rootDirPath: '', |
| 38 | selectedItem: { |
| 39 | id: null, |
| 40 | path: '', |
| 41 | type: null, |
| 42 | focused: false |
| 43 | }, |
| 44 | renameFlag: false, |
| 45 | fileChangeType: null, |
| 46 | deletePromptOpen: false, |
| 47 | newName: '', |
| 48 | componentTreeObj: null, |
| 49 | simulator: false, |
| 50 | url: '', |
| 51 | cra: false, |
| 52 | craOut: '', |
| 53 | outputOrTerminal: 'output', |
| 54 | liveServerPID: null, |
| 55 | closed: false, |
| 56 | toggleTerminal: false, |
| 57 | }; |
| 58 | |
| 59 | this.fileTreeInit(); |
| 60 | this.clickHandler = this.clickHandler.bind(this); |
| 61 | this.setFileTree = this.setFileTree.bind(this); |
| 62 | this.dblClickHandler = this.dblClickHandler.bind(this); |
| 63 | this.setActiveTab = this.setActiveTab.bind(this); |
| 64 | //this.isFileOpened = this.isFileOpened.bind(this); |
| 65 | this.saveTab = this.saveTab.bind(this); |
| 66 | this.closeTab = this.closeTab.bind(this); |
| 67 | this.openCreateMenu = this.openCreateMenu.bind(this); |
| 68 | this.closeOpenDialogs = this.closeOpenDialogs.bind(this); |
| 69 | this.createMenuHandler = this.createMenuHandler.bind(this); |
| 70 | this.createItem = this.createItem.bind(this); |
| 71 | this.findParentDir = this.findParentDir.bind(this); |
| 72 | this.deletePromptHandler = this.deletePromptHandler.bind(this); |
| 73 | this.renameHandler = this.renameHandler.bind(this); |
| 74 | this.constructComponentTreeObj = this.constructComponentTreeObj.bind(this); |
| 75 | this.handleEditorValueChange = this.handleEditorValueChange.bind(this); |
| 76 | this.openSim = this.openSim.bind(this); |
| 77 | this.closeSim = this.closeSim.bind(this); |
| 78 | this.openSimulatorInMain = this.openSimulatorInMain.bind(this); |
| 79 | this.close = this.close.bind(this) |
| 80 | this.toggleTerminal = this.toggleTerminal.bind(this); |
nothing calls this directly
no test coverage detected