Index: Core/Common/test/Core.Common.Gui.TestUtil/ContextMenu/CustomItemsOnlyContextMenuBuilder.cs
===================================================================
diff -u -re5278cea919b2a8f364c834e93a39b94ceb092a0 -r2cbe93793ffd0d99f0217fc724a9696f28bbcc1d
--- Core/Common/test/Core.Common.Gui.TestUtil/ContextMenu/CustomItemsOnlyContextMenuBuilder.cs (.../CustomItemsOnlyContextMenuBuilder.cs) (revision e5278cea919b2a8f364c834e93a39b94ceb092a0)
+++ Core/Common/test/Core.Common.Gui.TestUtil/ContextMenu/CustomItemsOnlyContextMenuBuilder.cs (.../CustomItemsOnlyContextMenuBuilder.cs) (revision 2cbe93793ffd0d99f0217fc724a9696f28bbcc1d)
@@ -19,9 +19,11 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using Core.Common.Gui.ContextMenu;
+using Core.Common.Gui.Plugin;
namespace Core.Common.Gui.TestUtil.ContextMenu
{
@@ -101,17 +103,24 @@
///
/// Adds a dummy to the .
///
+ /// An enumeration of instances, representing one or more
+ /// suitable import actions.
/// The .
- public IContextMenuBuilder AddImportItem()
+ public IContextMenuBuilder AddImportItem(IEnumerable importInfos)
{
return AddStubItem();
}
///
/// Adds a dummy to the .
///
+ /// The text of the import item.
+ /// The tooltip of the import item.
+ /// The image of the import item.
+ /// An enumeration of instances, representing one or more
+ /// suitable import actions.
/// The .
- public IContextMenuBuilder AddImportItem(string text, string toolTip, Image image)
+ public IContextMenuBuilder AddImportItem(string text, string toolTip, Image image, IEnumerable importInfos)
{
return AddStubItem();
}
@@ -166,7 +175,7 @@
private IContextMenuBuilder AddStubItem()
{
- ToolStripItem toolStripItem = new StrictContextMenuItem(string.Empty, string.Empty, null, (sender, args) => { });
+ ToolStripItem toolStripItem = new StrictContextMenuItem(string.Empty, string.Empty, null, (sender, args) => {});
contextMenu.Items.Add(toolStripItem);