using System; using System.IO; using System.Text; using System.Windows.Forms; using System.Drawing.Design; using System.ComponentModel; using System.Windows.Forms.Design; using System.Collections.Generic; using PluginCore.Localization; using FlexPMDPlugin.Properties; namespace FlexPMDPlugin { [Serializable] class Settings { private Keys cmdshortcut = Keys.Control | Keys.Alt | Keys.A; private String cmdlinePath = String.Empty; //private Keys antshortcut = Keys.Control | Keys.Alt | Keys.B; //private String antlinePath = String.Empty; [DisplayName("ShortCut")] [Category("Command Line Setting")] [Description("FlexPMD command line shortcut setting."), DefaultValue(Keys.Control | Keys.Alt | Keys.A)] public Keys CmdShortcut { get { return this.cmdshortcut; } set { this.cmdshortcut = value; } } [DisplayName("Path")] [Category("Command Line Setting")] [Description("FlexPMD command line location."), DefaultValue("")] [Editor(typeof(FolderNameEditor), typeof(UITypeEditor))] public String CommandLine { get { return cmdlinePath; } set { cmdlinePath = value; } } /* [DisplayName("ShortCut")] [LocalizedCategory("FlexPMDPlugin.Category.Ant")] [Description("FlexPMD Ant shortcut setting."), DefaultValue(Keys.Control | Keys.Alt | Keys.B)] public Keys AntShortcut { get { return antshortcut; } set { antshortcut = value; } } [DisplayName("FlexPMD Path")] [LocalizedCategory("FlexPMDPlugin.Category.Ant")] [Description("FlexPMD Ant location"), DefaultValue("")] //[Editor(typeof(FolderNameEditor), typeof(UITypeEditor))] public string AntLine { get { return antlinePath; } set { antlinePath = value; } } */ } }