Index: Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs =================================================================== diff -u -r842679c47f28f5f6349a2a34a96fc93adb094e51 -r713bf4768e34bcd1ef9281cc5ec0d9b19321fff8 --- Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs (.../MapLegendView.cs) (revision 842679c47f28f5f6349a2a34a96fc93adb094e51) +++ Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs (.../MapLegendView.cs) (revision 713bf4768e34bcd1ef9281cc5ec0d9b19321fff8) @@ -24,7 +24,6 @@ using System.Drawing; using System.Linq; using System.Windows.Forms; -using Core.Common.Base; using Core.Common.Controls.TreeView; using Core.Common.Controls.Views; using Core.Common.Gui.ContextMenu; @@ -133,7 +132,7 @@ OnDrop = FeatureBasedMapDataContextOnDrop, CanRemove = (context, parent) => CanRemoveMapData((FeatureBasedMapData) context.WrappedData, parent), OnNodeRemoved = (context, parent) => RemoveFromParent((FeatureBasedMapData) context.WrappedData, parent), - ContextMenuStrip = MapDataContextContextMenuStrip + ContextMenuStrip = FeatureBasedMapDataContextContextMenuStrip }); treeViewControl.RegisterTreeNodeInfo(new TreeNodeInfo @@ -302,7 +301,7 @@ } } - private ContextMenuStrip MapDataContextContextMenuStrip(FeatureBasedMapDataContext mapDataContext, object parentData, TreeViewControl treeView) + private ContextMenuStrip FeatureBasedMapDataContextContextMenuStrip(FeatureBasedMapDataContext mapDataContext, object parentData, TreeViewControl treeView) { return contextMenuBuilderProvider.Get(mapDataContext.WrappedData, treeView) .AddCustomItem(CreateZoomToExtentsItem(mapDataContext))