Index: Core/Common/src/Core.Common.Gui/ContextMenu/IContextMenuBuilder.cs =================================================================== diff -u -re5278cea919b2a8f364c834e93a39b94ceb092a0 -r4df60008f3437cc003dab4ccf105f1266c057275 --- Core/Common/src/Core.Common.Gui/ContextMenu/IContextMenuBuilder.cs (.../IContextMenuBuilder.cs) (revision e5278cea919b2a8f364c834e93a39b94ceb092a0) +++ Core/Common/src/Core.Common.Gui/ContextMenu/IContextMenuBuilder.cs (.../IContextMenuBuilder.cs) (revision 4df60008f3437cc003dab4ccf105f1266c057275) @@ -19,8 +19,10 @@ // 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.Plugin; namespace Core.Common.Gui.ContextMenu { @@ -75,17 +77,25 @@ /// /// Adds an item to the , which imports to the data of the . /// + /// An enumeration of instances, representing one or more + /// suitable import actions. /// The itself. - IContextMenuBuilder AddImportItem(); + /// When no parameter is provided, the suitable + /// instances - as registered by the plugins - will be resolved dynamically. + IContextMenuBuilder AddImportItem(IEnumerable importInfos = null); /// /// Adds an item to the , which imports to the data of 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 itself. - IContextMenuBuilder AddImportItem(string text, string toolTip, Image image); + /// When no parameter is provided, the suitable + /// instances - as registered by the plugins - will be resolved dynamically. + IContextMenuBuilder AddImportItem(string text, string toolTip, Image image, IEnumerable importInfos = null); /// /// Adds an item to the , which updates the data of the .