()
| 84 | } |
| 85 | |
| 86 | public show(): void { |
| 87 | // Insert before is used so that the display is inserted before the |
| 88 | // resizer for the RangeView. |
| 89 | this.container.insertBefore(this.divNode, this.container.firstChild); |
| 90 | this.initializeSelect(); |
| 91 | const lastPhaseIndex = storageGetItem("lastSelectedPhase"); |
| 92 | const initialPhaseIndex = this.sourceResolver.repairPhaseId(lastPhaseIndex); |
| 93 | this.selectMenu.selectedIndex = initialPhaseIndex; |
| 94 | this.displayPhase(this.sourceResolver.getDynamicPhase(initialPhaseIndex)); |
| 95 | } |
| 96 | |
| 97 | public displayPhaseByName(phaseName: string, selection?: SelectionStorage): void { |
| 98 | const phaseId = this.sourceResolver.getPhaseIdByName(phaseName); |
nothing calls this directly
no test coverage detected