using System.Drawing; using System.Reflection; using Core.Common.Base; namespace Core.Plugins.CommonTools { /// /// Common tool plugins /// public class CommonToolsApplicationPlugin : ApplicationPlugin { /// /// Gets the name of the plugin /// Derived from ApplicationPlugin.Name /// public override string Name { get { return "CommonToolsPlugin"; } } /// /// Gets the display name from the resource /// Derived from ApplicationPlugin.DisplayName /// public override string DisplayName { get { return Properties.Resources.CommonToolsApplicationPlugin_DisplayName_Delta_Shell_Common_Tools_Plugin; } } /// /// Gets the description from the resource /// Derived from ApplicationPlugin.Description /// public override string Description { get { return Properties.Resources.CommonToolsApplicationPlugin_Description; } } /// /// Gets the version from the assembly. /// Derived from ApplicationPlugin.Version /// public override string Version { get { return Assembly.GetExecutingAssembly().GetName().Version.ToString(); } } /// /// Image for displaying in gui. Default format 32x32 bitmap. /// Derived from ApplicationPlugin.Image /// public override Image Image { get { return new Bitmap(32, 32); } } } }