Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs =================================================================== diff -u -r33ce6fa967e380d4c68bd5f53acc189ab7f1e726 -rc51ba92268d9a8272778e758fd0f9a71a0d61849 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision 33ce6fa967e380d4c68bd5f53acc189ab7f1e726) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision c51ba92268d9a8272778e758fd0f9a71a0d61849) @@ -155,7 +155,7 @@ { yield return new ViewInfo { - GetViewName = (view, mechanism) => mechanism.WrappedData.Name, + GetViewName = (view, context) => context.WrappedData.Name, Image = RingtoetsCommonFormsResources.CalculationIcon, CloseForData = CloseHeightStructuresFailureMechanismViewForData, AdditionalDataCheck = context => context.WrappedData.IsRelevant @@ -167,7 +167,7 @@ HeightStructuresScenariosView> { GetViewData = context => context.WrappedData, - GetViewName = (view, calculationGroup) => RingtoetsCommonFormsResources.Scenarios_DisplayName, + GetViewName = (view, context) => RingtoetsCommonFormsResources.Scenarios_DisplayName, AfterCreate = (view, context) => view.FailureMechanism = context.ParentFailureMechanism, CloseForData = CloseScenariosViewForData, Image = RingtoetsCommonFormsResources.ScenariosIcon @@ -178,7 +178,7 @@ IEnumerable, HeightStructuresFailureMechanismResultView> { - GetViewName = (view, results) => RingtoetsCommonFormsResources.FailureMechanism_AssessmentResult_DisplayName, + GetViewName = (view, context) => RingtoetsCommonFormsResources.FailureMechanism_AssessmentResult_DisplayName, Image = RingtoetsCommonFormsResources.FailureMechanismSectionResultIcon, CloseForData = CloseFailureMechanismResultViewForData, GetViewData = context => context.WrappedData,