addWhenPart() {
    this.currentPart = new ScenarioPart('WHEN');
    this.currentCase.parts.push(this.currentPart);
  }