| 1 |
using System; |
|---|
| 2 |
using System.IO; |
|---|
| 3 |
using System.Text; |
|---|
| 4 |
using System.Windows.Forms; |
|---|
| 5 |
using System.Drawing.Design; |
|---|
| 6 |
using System.ComponentModel; |
|---|
| 7 |
using System.Windows.Forms.Design; |
|---|
| 8 |
using System.Collections.Generic; |
|---|
| 9 |
using PluginCore.Localization; |
|---|
| 10 |
using FlexPMDPlugin.Properties; |
|---|
| 11 |
|
|---|
| 12 |
namespace FlexPMDPlugin |
|---|
| 13 |
{ |
|---|
| 14 |
[Serializable] |
|---|
| 15 |
class Settings |
|---|
| 16 |
{ |
|---|
| 17 |
|
|---|
| 18 |
private Keys cmdshortcut = Keys.Control | Keys.Alt | Keys.A; |
|---|
| 19 |
private String cmdlinePath = String.Empty; |
|---|
| 20 |
//private Keys antshortcut = Keys.Control | Keys.Alt | Keys.B; |
|---|
| 21 |
//private String antlinePath = String.Empty; |
|---|
| 22 |
|
|---|
| 23 |
[DisplayName("ShortCut")] |
|---|
| 24 |
[Category("Command Line Setting")] |
|---|
| 25 |
[Description("FlexPMD command line shortcut setting."), DefaultValue(Keys.Control | Keys.Alt | Keys.A)] |
|---|
| 26 |
public Keys CmdShortcut |
|---|
| 27 |
{ |
|---|
| 28 |
get { return this.cmdshortcut; } |
|---|
| 29 |
set { this.cmdshortcut = value; } |
|---|
| 30 |
} |
|---|
| 31 |
[DisplayName("Path")] |
|---|
| 32 |
[Category("Command Line Setting")] |
|---|
| 33 |
[Description("FlexPMD command line location."), DefaultValue("")] |
|---|
| 34 |
[Editor(typeof(FolderNameEditor), typeof(UITypeEditor))] |
|---|
| 35 |
public String CommandLine |
|---|
| 36 |
{ |
|---|
| 37 |
get { return cmdlinePath; } |
|---|
| 38 |
set { cmdlinePath = value; } |
|---|
| 39 |
} |
|---|
| 40 |
/* |
|---|
| 41 |
[DisplayName("ShortCut")] |
|---|
| 42 |
[LocalizedCategory("FlexPMDPlugin.Category.Ant")] |
|---|
| 43 |
[Description("FlexPMD Ant shortcut setting."), DefaultValue(Keys.Control | Keys.Alt | Keys.B)] |
|---|
| 44 |
public Keys AntShortcut |
|---|
| 45 |
{ |
|---|
| 46 |
get { return antshortcut; } |
|---|
| 47 |
set { antshortcut = value; } |
|---|
| 48 |
} |
|---|
| 49 |
[DisplayName("FlexPMD Path")] |
|---|
| 50 |
[LocalizedCategory("FlexPMDPlugin.Category.Ant")] |
|---|
| 51 |
[Description("FlexPMD Ant location"), DefaultValue("")] |
|---|
| 52 |
//[Editor(typeof(FolderNameEditor), typeof(UITypeEditor))] |
|---|
| 53 |
public string AntLine |
|---|
| 54 |
{ |
|---|
| 55 |
get { return antlinePath; } |
|---|
| 56 |
set { antlinePath = value; } |
|---|
| 57 |
} |
|---|
| 58 |
*/ |
|---|
| 59 |
} |
|---|
| 60 |
} |
|---|