Index: Core/Common/src/Core.Common.Gui/ContextMenuItemFactory.cs =================================================================== diff -u -ra85e384df91356b2c2716591531a863e01da876b -r240247ea38eadd8ff7897c5a7d25fd68b82dfd8c --- Core/Common/src/Core.Common.Gui/ContextMenuItemFactory.cs (.../ContextMenuItemFactory.cs) (revision a85e384df91356b2c2716591531a863e01da876b) +++ Core/Common/src/Core.Common.Gui/ContextMenuItemFactory.cs (.../ContextMenuItemFactory.cs) (revision 240247ea38eadd8ff7897c5a7d25fd68b82dfd8c) @@ -1,5 +1,6 @@ using System.Linq; using System.Windows.Forms; +using Core.Common.Base; using Core.Common.Gui.Properties; namespace Core.Common.Gui @@ -15,7 +16,7 @@ public ToolStripItem CreateExportItem(object item) { - var exporters = gui.ApplicationCore.FileExporters.Where(fe => fe.CanExportFor(item)); + var exporters = gui.ApplicationCore.GetSupportedExportersForItem(item); var newItem = new ToolStripMenuItem(Resources.Export) { ToolTipText = Resources.Export_ToolTip, @@ -29,7 +30,7 @@ public ToolStripItem CreateImportItem(object item) { - var importers = gui.ApplicationCore.FileImporters.Where(fe => fe.CanImportOn(item)); + var importers = gui.ApplicationCore.GetImporters(item); var newItem = new ToolStripMenuItem(Resources.Import) { ToolTipText = Resources.Import_ToolTip,