Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs =================================================================== diff -u -r2ebbb31d6c849c49e02f04ac49374594703dc5ec -r67af89e6b7c9dcdb24e711f92bd3b8d5c1f32c77 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs (.../DuneErosionPlugin.cs) (revision 2ebbb31d6c849c49e02f04ac49374594703dc5ec) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Plugin/DuneErosionPlugin.cs (.../DuneErosionPlugin.cs) (revision 67af89e6b7c9dcdb24e711f92bd3b8d5c1f32c77) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Drawing; using System.Linq; using System.Windows.Forms; using Core.Common.Base; @@ -63,6 +62,7 @@ CreateInstance = context => new DuneErosionFailureMechanismProperties(context.WrappedData, new DuneErosionFailureMechanismPropertyChangeHandler()) }; + yield return new PropertyInfo { CreateInstance = context => new DuneLocationCalculationsProperties(context.WrappedData) @@ -103,7 +103,7 @@ { Text = context => context.CategoryBoundaryName, Image = context => RingtoetsCommonFormsResources.GenericInputOutputIcon, - ContextMenuStrip = DuneLocationsContextMenuStrip + ContextMenuStrip = DuneLocationCalculationsContextMenuStrip }; } @@ -304,7 +304,7 @@ #endregion - #region DuneLocationsContext TreeNodeInfo + #region DuneLocationCalculationsContext TreeNodeInfo private static string ValidateAllDataAvailableAndGetErrorMessage(IAssessmentSection assessmentSection, double failureMechanismContribution) @@ -317,11 +317,11 @@ return HydraulicBoundaryDatabaseConnectionValidator.Validate(assessmentSection.HydraulicBoundaryDatabase); } - private ContextMenuStrip DuneLocationsContextMenuStrip(DuneLocationCalculationsContext context, object parent, TreeViewControl treeViewControl) + private ContextMenuStrip DuneLocationCalculationsContextMenuStrip(DuneLocationCalculationsContext context, object parent, TreeViewControl treeViewControl) { var calculateAllItem = new StrictContextMenuItem( RingtoetsCommonFormsResources.Calculate_all, - Resources.DuneErosionPlugin_DuneLocationsContextMenuStrip_Calculate_all_ToolTip, + Resources.DuneErosionPlugin_DuneLocationCalculationsContextMenuStrip_Calculate_all_ToolTip, RingtoetsCommonFormsResources.CalculateAllIcon, (sender, args) => {