Exemple #1
0
 public BuildServer(RepoDistSettings container)
     : base(container, "BuildServer")
 {
     Type = new StringSetting("Type", this, null);
     EnableIntegration      = new BoolNullableSetting("EnableIntegration", this, false);
     ShowBuildSummaryInGrid = new BoolNullableSetting("ShowBuildSummaryInGrid", this, true);
 }
Exemple #2
0
 public DetailedGroup(RepoDistSettings container)
     : base(container, "Detailed")
 {
     ShowConEmuTab  = new BoolNullableSetting("ShowConEmuTab", this, true);
     ConEmuStyle    = new StringSetting("ConEmuStyle", this, "<Solarized Light>");
     ConEmuTerminal = new StringSetting("ConEmuTerminal", this, "bash");
     ConEmuFontSize = new StringSetting("ConEmuFontSize", this, "12");
     GetRemoteBranchesDirectlyFromRemote = new BoolNullableSetting("GetRemoteBranchesDirectlyFromRemote", this, false);
 }
Exemple #3
0
 public StringComboBoxAdapter(GitCommands.Settings.StringSetting setting, ComboBox comboBox)
     : base(setting.FullPath, comboBox.Items.Cast <string>().ToList(), setting.DefaultValue)
 {
     CustomControl = comboBox;
 }
Exemple #4
0
        protected void AddSettingBinding(GitCommands.Settings.StringSetting setting, ComboBox comboBox)
        {
            var adapter = new StringComboBoxAdapter(setting, comboBox);

            AddControlBinding(adapter.CreateControlBinding());
        }
Exemple #5
0
 public IssueTracker(RepoDistSettings container)
     : base(container, "IssueTracker")
 {
     Type = new StringSetting("Type", this, null);
     EnableIntegration = new BoolNullableSetting("EnableIntegration", this, false);
 }
 public StringISettingAdapter(string aCaption, GitCommands.Settings.StringSetting setting)
     : base(setting.FullPath, aCaption, setting.DefaultValue)
 {
 }
 public static void AddStringSetting(this SettingsLayout aLayout, string aCaption, GitCommands.Settings.StringSetting aSetting)
 {
     aLayout.AddSetting(new StringISettingAdapter(aCaption, aSetting));
 }
Exemple #8
0
 public static void AddStringSetting(this ISettingsLayout layout, string caption, GitCommands.Settings.StringSetting setting)
 {
     layout.AddSetting(new StringISettingAdapter(caption, setting));
 }