(phase: DynamicPhase, selection?: SelectionStorage)
| 106 | } |
| 107 | |
| 108 | private displayPhase(phase: DynamicPhase, selection?: SelectionStorage): void { |
| 109 | this.sourceResolver.positions = phase.positions; |
| 110 | this.sourceResolver.instructionsPhase = phase.instructionsPhase; |
| 111 | if (phase.type == PhaseType.Graph) { |
| 112 | this.displayPhaseView(this.graph, phase, selection); |
| 113 | } else if (phase.type == PhaseType.TurboshaftGraph) { |
| 114 | this.displayPhaseView(this.turboshaftGraph, phase, selection); |
| 115 | } else if (phase.type == PhaseType.Schedule) { |
| 116 | this.displayPhaseView(this.schedule, phase, selection); |
| 117 | } else if (phase.type == PhaseType.Sequence) { |
| 118 | this.displayPhaseView(this.sequence, phase, selection); |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | private displayPhaseView(view: PhaseView, data: DynamicPhase, selection?: SelectionStorage): |
| 123 | void { |
no test coverage detected