Index: src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs (.../SharpMapGisApplicationPlugin.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/DeltaShell/DeltaShell.Plugins.SharpMapGis/SharpMapGisApplicationPlugin.cs (.../SharpMapGisApplicationPlugin.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -10,7 +10,7 @@ namespace DeltaShell.Plugins.SharpMapGis { [Extension(typeof(IPlugin))] - public class SharpMapGisApplicationPlugin: ApplicationPlugin + public class SharpMapGisApplicationPlugin : ApplicationPlugin { public SharpMapGisApplicationPlugin() { @@ -19,40 +19,58 @@ public override string Name { - get { return "GIS"; } + get + { + return "GIS"; + } } public override string DisplayName { - get { return "SharpMap GIS Plugin"; } + get + { + return "SharpMap GIS Plugin"; + } } public override string Description { - get { return Properties.Resources.SharpMapGisApplicationPlugin_Description; } + get + { + return Properties.Resources.SharpMapGisApplicationPlugin_Description; + } } public override string Version { - get { return GetType().Assembly.GetName().Version.ToString(); } + get + { + return GetType().Assembly.GetName().Version.ToString(); + } } + public override Image Image + { + get + { + return new Bitmap(32, 32); + } + } + public override IEnumerable GetDataItemInfos() { yield return new DataItemInfo + { + Name = "Map", + Category = "General", + Image = Properties.Resources.Map, + CreateData = owner => new Map { - Name = "Map", - Category = "General", - Image = Properties.Resources.Map, - CreateData = owner => new Map { Name = "Map" } - }; + Name = "Map" + } + }; } - public override Image Image - { - get { return new Bitmap(32, 32); } - } - public override IEnumerable GetPersistentAssemblies() { yield return typeof(Feature).Assembly;