Index: Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs
===================================================================
diff -u -r7343a55e81349863d0e5d7bec5c7f0b3577adf65 -rd0553e74a8d5ff6534acf03faf4a8801c28bf7c0
--- Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs (.../CalculationTreeNodeInfoFactory.cs) (revision 7343a55e81349863d0e5d7bec5c7f0b3577adf65)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/TreeNodeInfos/CalculationTreeNodeInfoFactory.cs (.../CalculationTreeNodeInfoFactory.cs) (revision d0553e74a8d5ff6534acf03faf4a8801c28bf7c0)
@@ -85,15 +85,17 @@
/// A object.
public static TreeNodeInfo CreateCalculationContextTreeNodeInfo(
Bitmap icon,
- Func childeNodeObjects)
+ Func childeNodeObjects,
+ Func contextMenuStrip)
where TCalculationContext : ICalculationContext
{
return new TreeNodeInfo
{
Text = context => context.WrappedData.Name,
Image = context => icon,
EnsureVisibleOnCreate = (context, parent) => true,
- ChildNodeObjects = childeNodeObjects
+ ChildNodeObjects = childeNodeObjects,
+ ContextMenuStrip = contextMenuStrip
};
}