Changeset 854
- Timestamp:
- 11/29/08 01:11:21 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/ManagerForm.cs
r602 r854 37 37 private Dictionary<PluginTag, PluginAction> actions = new Dictionary<PluginTag, PluginAction>(); 38 38 private List<PluginDescription> allAvailablePlugins = new List<PluginDescription>(); 39 private string pluginDir = Application.StartupPath + "/" + HeuristicLab.PluginInfrastructure. GUI.Properties.Settings.Default.PluginDir;39 private string pluginDir = Application.StartupPath + "/" + HeuristicLab.PluginInfrastructure.Properties.Settings.Default.PluginDir; 40 40 private string cacheDir = Application.StartupPath + "/" + HeuristicLab.PluginInfrastructure.GUI.Properties.Settings.Default.CacheDir; 41 41 private string backupDir = Application.StartupPath + "/" + HeuristicLab.PluginInfrastructure.GUI.Properties.Settings.Default.BackupDir; -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/PluginNameTransform.cs
r10 r854 33 33 class PluginNameTransform : INameTransform{ 34 34 35 private string pluginDir = Application.StartupPath + "\\" + HeuristicLab.PluginInfrastructure. GUI.Properties.Settings.Default.PluginDir + "\\";35 private string pluginDir = Application.StartupPath + "\\" + HeuristicLab.PluginInfrastructure.Properties.Settings.Default.PluginDir + "\\"; 36 36 #region INameTransform Members 37 37 -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/Properties/Settings.Designer.cs
r2 r854 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 //------------------------------------------------------------------------------ 1 //------------------------------------------------------------------------------ 23 2 // <auto-generated> 24 3 // This code was generated by a tool. 25 // Runtime Version:2.0.50727. 14334 // Runtime Version:2.0.50727.3053 26 5 // 27 6 // Changes to this file may cause incorrect behavior and will be lost if … … 59 38 } 60 39 61 [global::System.Configuration. UserScopedSettingAttribute()]40 [global::System.Configuration.ApplicationScopedSettingAttribute()] 62 41 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 63 42 [global::System.Configuration.DefaultSettingValueAttribute("plugins\\cache")] … … 66 45 return ((string)(this["CacheDir"])); 67 46 } 68 set {69 this["CacheDir"] = value;70 }71 47 } 72 48 73 [global::System.Configuration.UserScopedSettingAttribute()] 74 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 75 [global::System.Configuration.DefaultSettingValueAttribute("plugins")] 76 public string PluginDir { 77 get { 78 return ((string)(this["PluginDir"])); 79 } 80 set { 81 this["PluginDir"] = value; 82 } 83 } 84 85 [global::System.Configuration.UserScopedSettingAttribute()] 49 [global::System.Configuration.ApplicationScopedSettingAttribute()] 86 50 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 87 51 [global::System.Configuration.DefaultSettingValueAttribute("plugins\\backup")] … … 90 54 return ((string)(this["BackupDir"])); 91 55 } 92 set {93 this["BackupDir"] = value;94 }95 56 } 96 57 97 [global::System.Configuration. UserScopedSettingAttribute()]58 [global::System.Configuration.ApplicationScopedSettingAttribute()] 98 59 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 99 60 [global::System.Configuration.DefaultSettingValueAttribute("plugins\\temp")] … … 102 63 return ((string)(this["TempDir"])); 103 64 } 104 set {105 this["TempDir"] = value;106 }107 65 } 108 66 } -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/Properties/Settings.settings
r2 r854 9 9 </ArrayOfString></Value> 10 10 </Setting> 11 <Setting Name="CacheDir" Type="System.String" Scope=" User">11 <Setting Name="CacheDir" Type="System.String" Scope="Application"> 12 12 <Value Profile="(Default)">plugins\cache</Value> 13 13 </Setting> 14 <Setting Name="PluginDir" Type="System.String" Scope="User"> 15 <Value Profile="(Default)">plugins</Value> 16 </Setting> 17 <Setting Name="BackupDir" Type="System.String" Scope="User"> 14 <Setting Name="BackupDir" Type="System.String" Scope="Application"> 18 15 <Value Profile="(Default)">plugins\backup</Value> 19 16 </Setting> 20 <Setting Name="TempDir" Type="System.String" Scope=" User">17 <Setting Name="TempDir" Type="System.String" Scope="Application"> 21 18 <Value Profile="(Default)">plugins\temp</Value> 22 19 </Setting> -
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/app.config
r2 r854 4 4 <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 5 <section name="HeuristicLab.PluginInfrastructure.GUI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> 6 </sectionGroup> 7 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 8 <section name="HeuristicLab.PluginInfrastructure.GUI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 9 </sectionGroup> 7 10 </configSections> … … 16 19 </value> 17 20 </setting> 21 </HeuristicLab.PluginInfrastructure.GUI.Properties.Settings> 22 </userSettings> 23 <applicationSettings> 24 <HeuristicLab.PluginInfrastructure.GUI.Properties.Settings> 18 25 <setting name="CacheDir" serializeAs="String"> 19 26 <value>plugins\cache</value> 20 </setting>21 <setting name="PluginDir" serializeAs="String">22 <value>plugins</value>23 27 </setting> 24 28 <setting name="BackupDir" serializeAs="String"> … … 29 33 </setting> 30 34 </HeuristicLab.PluginInfrastructure.GUI.Properties.Settings> 31 </ userSettings>35 </applicationSettings> 32 36 </configuration> -
trunk/sources/HeuristicLab.PluginInfrastructure/HeuristicLab.PluginInfrastructure.csproj
r852 r854 3 3 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> 4 4 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> 5 <ProductVersion>9.0. 30729</ProductVersion>5 <ProductVersion>9.0.21022</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 7 <ProjectGuid>{94186A6A-5176-4402-AE83-886557B53CCA}</ProjectGuid> … … 98 98 <None Include="Properties\AssemblyInfo.frame" /> 99 99 <None Include="Properties\Settings.settings"> 100 <Generator> SettingsSingleFileGenerator</Generator>100 <Generator>PublicSettingsSingleFileGenerator</Generator> 101 101 <LastGenOutput>Settings.Designer.cs</LastGenOutput> 102 102 </None> -
trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Settings.Designer.cs
r2 r854 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 //------------------------------------------------------------------------------ 1 //------------------------------------------------------------------------------ 23 2 // <auto-generated> 24 3 // This code was generated by a tool. 25 // Runtime Version:2.0.50727. 14334 // Runtime Version:2.0.50727.3053 26 5 // 27 6 // Changes to this file may cause incorrect behavior and will be lost if … … 35 14 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 36 15 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] 37 internalsealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {16 public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { 38 17 39 18 private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); … … 45 24 } 46 25 47 [global::System.Configuration. UserScopedSettingAttribute()]26 [global::System.Configuration.ApplicationScopedSettingAttribute()] 48 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 49 28 [global::System.Configuration.DefaultSettingValueAttribute("plugins")] … … 52 31 return ((string)(this["PluginDir"])); 53 32 } 54 set {55 this["PluginDir"] = value;56 }57 33 } 58 34 } -
trunk/sources/HeuristicLab.PluginInfrastructure/Properties/Settings.settings
r2 r854 3 3 <Profiles /> 4 4 <Settings> 5 <Setting Name="PluginDir" Type="System.String" Scope=" User">5 <Setting Name="PluginDir" Type="System.String" Scope="Application"> 6 6 <Value Profile="(Default)">plugins</Value> 7 7 </Setting> -
trunk/sources/HeuristicLab.PluginInfrastructure/app.config
r2 r854 2 2 <configuration> 3 3 <configSections> 4 <sectionGroup name=" userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >5 <section name="HeuristicLab.PluginInfrastructure.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser"requirePermission="false" />4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.PluginInfrastructure.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 6 </sectionGroup> 7 7 </configSections> 8 < userSettings>8 <applicationSettings> 9 9 <HeuristicLab.PluginInfrastructure.Properties.Settings> 10 10 <setting name="PluginDir" serializeAs="String"> … … 12 12 </setting> 13 13 </HeuristicLab.PluginInfrastructure.Properties.Settings> 14 </ userSettings>14 </applicationSettings> 15 15 </configuration> -
trunk/sources/HeuristicLab/MergeConfigs.cmd
r852 r854 1 ConfigMerger "%SolutionDir%\HeuristicLab.PluginInfrastructure\%Outdir%\HeuristicLab.PluginInfrastructure.dll.config" "HeuristicLab.exe.config" 2 ConfigMerger "%SolutionDir%\HeuristicLab.PluginInfrastructure.GUI\%Outdir%\HeuristicLab.PluginInfrastructure.GUI.dll.config" "HeuristicLab.exe.config" 1 3 ConfigMerger "%SolutionDir%\HeuristicLab.Settings\%Outdir%\HeuristicLab.Settings-3.2.dll.config" "HeuristicLab.exe.config" -
trunk/sources/HeuristicLab/Properties/Settings.Designer.cs
r2 r854 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 //------------------------------------------------------------------------------ 1 //------------------------------------------------------------------------------ 23 2 // <auto-generated> 24 3 // This code was generated by a tool. 25 // Runtime Version:2.0.50727. 14334 // Runtime Version:2.0.50727.3053 26 5 // 27 6 // Changes to this file may cause incorrect behavior and will be lost if … … 45 24 } 46 25 47 [global::System.Configuration. UserScopedSettingAttribute()]26 [global::System.Configuration.ApplicationScopedSettingAttribute()] 48 27 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 49 [global::System.Configuration.DefaultSettingValueAttribute(" ")]28 [global::System.Configuration.DefaultSettingValueAttribute("unknown")] 50 29 public string User { 51 30 get { 52 31 return ((string)(this["User"])); 53 32 } 54 set {55 this["User"] = value;56 }57 33 } 58 34 59 [global::System.Configuration. UserScopedSettingAttribute()]35 [global::System.Configuration.ApplicationScopedSettingAttribute()] 60 36 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 61 [global::System.Configuration.DefaultSettingValueAttribute(" ")]37 [global::System.Configuration.DefaultSettingValueAttribute("unknown")] 62 38 public string Organization { 63 39 get { 64 40 return ((string)(this["Organization"])); 65 41 } 66 set {67 this["Organization"] = value;68 }69 42 } 70 43 } -
trunk/sources/HeuristicLab/Properties/Settings.settings
r2 r854 3 3 <Profiles /> 4 4 <Settings> 5 <Setting Name="User" Type="System.String" Scope=" User">6 <Value Profile="(Default)" />5 <Setting Name="User" Type="System.String" Scope="Application"> 6 <Value Profile="(Default)">unknown</Value> 7 7 </Setting> 8 <Setting Name="Organization" Type="System.String" Scope=" User">9 <Value Profile="(Default)" />8 <Setting Name="Organization" Type="System.String" Scope="Application"> 9 <Value Profile="(Default)">unknown</Value> 10 10 </Setting> 11 11 </Settings> -
trunk/sources/HeuristicLab/app.config
r498 r854 2 2 <configuration> 3 3 <configSections> 4 <sectionGroup name=" userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >5 <section name="HeuristicLab.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser"requirePermission="false" />4 <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > 5 <section name="HeuristicLab.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> 6 6 </sectionGroup> 7 7 </configSections> 8 <userSettings>9 <HeuristicLab.Properties.Settings>10 <setting name="User" serializeAs="String">11 <value />12 </setting>13 <setting name="Organization" serializeAs="String">14 <value />15 </setting>16 </HeuristicLab.Properties.Settings>17 </userSettings>18 8 <system.data> 19 9 <DbProviderFactories> … … 23 13 </DbProviderFactories> 24 14 </system.data> 15 <applicationSettings> 16 <HeuristicLab.Properties.Settings> 17 <setting name="User" serializeAs="String"> 18 <value>unknown</value> 19 </setting> 20 <setting name="Organization" serializeAs="String"> 21 <value>unknown</value> 22 </setting> 23 </HeuristicLab.Properties.Settings> 24 </applicationSettings> 25 25 </configuration>
Note: See TracChangeset
for help on using the changeset viewer.