Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs =================================================================== diff -u -rf4c28926da2401b1fddbbe7f907fd663f0f5f4dc -re46bec50706f5ea1a7754bbaebfc892745d8604a --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision f4c28926da2401b1fddbbe7f907fd663f0f5f4dc) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Plugin/HeightStructuresPlugin.cs (.../HeightStructuresPlugin.cs) (revision e46bec50706f5ea1a7754bbaebfc892745d8604a) @@ -30,6 +30,7 @@ using Core.Common.Gui.Forms.ProgressDialog; using Core.Common.Gui.Plugin; using Core.Common.Utils; +using Ringtoets.Common.Data; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; @@ -369,7 +370,7 @@ { new FailureMechanismSectionsContext(failureMechanism, assessmentSection), new ForeshoreProfilesContext(failureMechanism.ForeshoreProfiles, failureMechanism, assessmentSection), - new HeightStructuresContext(failureMechanism.HeightStructures, failureMechanism, assessmentSection), + new HeightStructuresContext(failureMechanism.HeightStructuresCollection, failureMechanism, assessmentSection), failureMechanism.InputComments }; } @@ -546,7 +547,7 @@ private StrictContextMenuItem CreateGenerateHeightStructuresCalculationsItem(HeightStructuresCalculationGroupContext nodeData) { - ObservableList heightStructures = nodeData.FailureMechanism.HeightStructures; + StructureCollection heightStructures = nodeData.FailureMechanism.HeightStructuresCollection; bool structuresAvailable = heightStructures.Any(); string heightStructuresCalculationGroupContextToolTip = structuresAvailable @@ -564,7 +565,7 @@ private void ShowHeightStructuresSelectionDialog(HeightStructuresCalculationGroupContext nodeData) { - using (var dialog = new StructureSelectionDialog(Gui.MainWindow, nodeData.FailureMechanism.HeightStructures)) + using (var dialog = new StructureSelectionDialog(Gui.MainWindow, nodeData.FailureMechanism.HeightStructuresCollection)) { dialog.ShowDialog();