- Timestamp:
- 08/06/09 12:32:27 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.MainForm.Test/3.2/HeuristicLab.MainForm.Test-3.2.csproj
r2243 r2247 49 49 <ErrorReport>prompt</ErrorReport> 50 50 </PropertyGroup> 51 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 52 <DebugSymbols>true</DebugSymbols> 53 <OutputPath>bin\x64\Debug\</OutputPath> 54 <DefineConstants>DEBUG;TRACE</DefineConstants> 55 <DebugType>full</DebugType> 56 <PlatformTarget>x64</PlatformTarget> 57 <ErrorReport>prompt</ErrorReport> 58 </PropertyGroup> 59 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 60 <OutputPath>bin\x64\Release\</OutputPath> 61 <DefineConstants>TRACE</DefineConstants> 62 <Optimize>true</Optimize> 63 <DebugType>pdbonly</DebugType> 64 <PlatformTarget>x64</PlatformTarget> 65 <ErrorReport>prompt</ErrorReport> 66 </PropertyGroup> 51 67 <ItemGroup> 52 68 <Reference Include="System" /> … … 67 83 <ItemGroup> 68 84 <Compile Include="OpenMenuItem.cs" /> 69 <Compile Include="Resource1.Designer.cs">70 <AutoGen>True</AutoGen>71 <DesignTime>True</DesignTime>72 <DependentUpon>Resource1.resx</DependentUpon>73 </Compile>74 85 <Compile Include="SaveMenuItem.cs" /> 75 86 <Compile Include="HeuristicLabMainFormTestApplication.cs" /> … … 85 96 </ItemGroup> 86 97 <ItemGroup> 98 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.2\HeuristicLab.Common.Resources.csproj"> 99 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project> 100 <Name>HeuristicLab.Common.Resources</Name> 101 </ProjectReference> 87 102 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.2\HeuristicLab.MainForm.csproj"> 88 103 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project> … … 95 110 </ItemGroup> 96 111 <ItemGroup> 97 <EmbeddedResource Include="Resource1.resx">98 <Generator>ResXFileCodeGenerator</Generator>99 <LastGenOutput>Resource1.Designer.cs</LastGenOutput>100 </EmbeddedResource>101 </ItemGroup>102 <ItemGroup>103 <None Include="Resources\saveHS.png" />104 </ItemGroup>105 <ItemGroup>106 112 <None Include="Properties\AssemblyInfo.frame" /> 107 <None Include="Resources\openHS.png" />108 113 </ItemGroup> 109 114 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
trunk/sources/HeuristicLab.MainForm.Test/3.2/HeuristicLabMainFormTestPlugin.cs
r2243 r2247 29 29 [PluginFile(Filename = "HeuristicLab.MainForm.Test-3.2.dll", Filetype = PluginFileType.Assembly)] 30 30 [Dependency(Dependency = "HeuristicLab.MainForm-3.2")] 31 [Dependency(Dependency = "HeuristicLab.Common.Resources-3.2")] 31 32 public class HeuristicLabMainFormTestPlugin : PluginBase { 32 33 } -
trunk/sources/HeuristicLab.MainForm.Test/3.2/OpenMenuItem.cs
r2243 r2247 3 3 using System.Linq; 4 4 using System.Text; 5 5 using System.Windows.Forms; 6 6 using HeuristicLab.MainForm; 7 using System.Windows.Forms;7 using HeuristicLab.Common.Resources; 8 8 9 9 namespace HeuristicLab.MainForm.Test { 10 public class OpenMenuItem : ToolStripMenuItemBase, IToolStripButtonItem, ITestUserInterfaceItemProvider { 10 public class OpenMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 11 public override string Name { 12 get { return "Open"; } 13 } 14 11 15 public override string MenuStructure { 12 16 get { return "File"; } 13 17 } 14 18 15 public override string Name{16 get { return "Open"; }19 public override int Position { 20 get { return 1100; } 17 21 } 18 22 19 23 public override Keys ShortCutKeys { 20 24 get { return Keys.Control | Keys.O; } 25 } 26 27 public override System.Drawing.Image Image { 28 get { return Resources.OpenIcon; } 21 29 } 22 30 -
trunk/sources/HeuristicLab.MainForm.Test/3.2/Properties/AssemblyInfo.cs
r2243 r2247 1 using System.Reflection; 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 using System.Reflection; 2 23 using System.Runtime.CompilerServices; 3 24 using System.Runtime.InteropServices; … … 8 29 // associated with an assembly. 9 30 [assembly: AssemblyTitle("HeuristicLab.MainForm.Test")] 10 [assembly: AssemblyDescription(" ")]31 [assembly: AssemblyDescription("HeuristicLab mainform test application")] 11 32 [assembly: AssemblyConfiguration("")] 12 [assembly: AssemblyCompany(" Microsoft")]13 [assembly: AssemblyProduct("HeuristicLab .MainForm.Test")]14 [assembly: AssemblyCopyright(" Copyright © Microsoft 2009")]33 [assembly: AssemblyCompany("")] 34 [assembly: AssemblyProduct("HeuristicLab")] 35 [assembly: AssemblyCopyright("(c) 2002-2008 HEAL")] 15 36 [assembly: AssemblyTrademark("")] 16 37 [assembly: AssemblyCulture("")] … … 22 43 23 44 // The following GUID is for the ID of the typelib if this project is exposed to COM 24 [assembly: Guid(" a80799b9-1882-4c61-bc7e-bca44b61c067")]45 [assembly: Guid("f9718239-4d37-4410-84d7-9c3468b01cbf")] 25 46 26 47 // Version information for an assembly consists of the following four values: … … 31 52 // Revision 32 53 // 33 // You can specify all the values or you can default the Build and RevisionNumbers54 // You can specify all the values or you can default the Revision and Build Numbers 34 55 // by using the '*' as shown below: 35 // [assembly: AssemblyVersion("1.0.*")] 36 [assembly: AssemblyVersion("1.0.0.0")] 37 [assembly: AssemblyFileVersion("1.0.0.0")] 38 [assembly: AssemblyBuildDate("2009/08/04 18:20:50")] 39 56 [assembly: AssemblyVersion("3.2.0.2243")] 57 [assembly: AssemblyFileVersion("3.2.0.2243")] 58 [assembly: AssemblyBuildDate("2009/08/06 12:20:28")] -
trunk/sources/HeuristicLab.MainForm.Test/3.2/SaveMenuItem.cs
r2243 r2247 3 3 using System.Linq; 4 4 using System.Text; 5 using System.Windows.Forms; 5 6 6 7 using HeuristicLab.MainForm; 7 using System.Windows.Forms;8 using HeuristicLab.Common.Resources; 8 9 9 10 namespace HeuristicLab.MainForm.Test { 10 11 public class SaveMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 11 public override string MenuStructure {12 get { return " TEST/Test/Test/Test"; }12 public override string Name { 13 get { return "Save"; } 13 14 } 14 15 15 public override string Name { 16 get { return "Save"; } 16 public override string MenuStructure { 17 get { return "File"; } 18 } 19 20 public override int Position { 21 get { return 1200; } 22 } 23 24 public override Keys ShortCutKeys { 25 get { return Keys.Control | Keys.S; } 26 } 27 28 public override System.Drawing.Image Image { 29 get { return Resources.SaveIcon; } 17 30 } 18 31 -
trunk/sources/HeuristicLab.MainForm.Test/3.2/ViewsMenuItem.cs
r2243 r2247 8 8 9 9 namespace HeuristicLab.MainForm.Test { 10 public class ViewsMenuItem : ToolStripMenuItemBase, IToolStripButtonItem, ITestUserInterfaceItemProvider { 11 public override string MenuStructure { 12 get { return "File"; } 13 } 14 10 public class ViewsMenuItem : ToolStripMenuItemBase, ITestUserInterfaceItemProvider { 15 11 public override string Name { 16 12 get { return "Views"; } 17 13 } 18 14 15 public override int Position { 16 get { return 2000; } 17 } 18 19 19 public override Keys ShortCutKeys { 20 20 get { return Keys.Control | Keys.V; } 21 }22 23 public override System.Drawing.Image Image {24 get { return Resource1.openHS; }25 21 } 26 22 -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IToolStripItem.cs
r2243 r2247 29 29 namespace HeuristicLab.MainForm { 30 30 public interface IToolStripItem : IUserInterfaceItem { 31 int Position { get; } 31 32 Image Image { get; } 32 33 ToolStripItemDisplayStyle DisplayStyle { get; } -
trunk/sources/HeuristicLab.MainForm/3.2/MainFormBase.cs
r2243 r2247 79 79 Type[] userInterfaceTypes = ds.GetTypes(userInterfaceItemType); 80 80 81 foreach (Type t in userInterfaceTypes.Where(t=> typeof(IToolStripMenuItem).IsAssignableFrom(t))) {82 if (!t.IsAbstract && !t.IsInterface && !t.HasElementType) {83 IToolStripMenuItem item = (IToolStripMenuItem) Activator.CreateInstance(t);84 AddToolStripMenuItem(item);85 }81 object[] items = ds.GetInstances(userInterfaceItemType); 82 IEnumerable<IToolStripItem> toolStripItems = items.Where(mi => mi as IToolStripMenuItem != null).Cast<IToolStripItem>(); 83 toolStripItems = toolStripItems.OrderBy(x => x.Position); 84 foreach (IToolStripMenuItem menuItem in toolStripItems) { 85 AddToolStripMenuItem(menuItem); 86 86 } 87 87 88 foreach (Type t in userInterfaceTypes.Where(t => typeof(IToolStripButtonItem).IsAssignableFrom(t))) {89 if (!t.IsAbstract && !t.IsInterface && !t.HasElementType) {90 IToolStripButtonItem item = (IToolStripButtonItem)Activator.CreateInstance(t);91 AddToolStripButtonItem(item);92 }88 items = ds.GetInstances(userInterfaceItemType); 89 toolStripItems = items.Where(mi => mi as IToolStripButtonItem != null).Cast<IToolStripItem>(); 90 toolStripItems = toolStripItems.OrderBy(x => x.Position); 91 foreach (IToolStripButtonItem toolStripButtonItem in toolStripItems) { 92 AddToolStripButtonItem(toolStripButtonItem); 93 93 } 94 94 } -
trunk/sources/HeuristicLab.MainForm/3.2/ToolStripItemBase.cs
r2243 r2247 32 32 public abstract class ToolStripItemBase : UserInterfaceItemBase, IToolStripItem { 33 33 #region IToolStripItem Members 34 public abstract int Position { get; } 35 public virtual ToolStripItemDisplayStyle DisplayStyle { 36 get { return ToolStripItemDisplayStyle.ImageAndText; } 37 } 38 34 39 public virtual System.Drawing.Image Image { 35 40 get { return null; } 36 }37 38 public virtual ToolStripItemDisplayStyle DisplayStyle {39 get { return ToolStripItemDisplayStyle.ImageAndText; }40 41 } 41 42 -
trunk/sources/HeuristicLab.MainForm/3.2/ToolStripMenuItemBase.cs
r2243 r2247 28 28 namespace HeuristicLab.MainForm { 29 29 public abstract class ToolStripMenuItemBase : ToolStripItemBase, IToolStripMenuItem { 30 public virtual Keys ShortCutKeys { 31 get { return Keys.None; } 30 public virtual Keys ShortCutKeys { 31 get { return Keys.None; } 32 32 } 33 33 public virtual string MenuStructure { 34 34 get { return string.Empty; } 35 } 36 37 public override ToolStripItemDisplayStyle DisplayStyle { 38 get { return ToolStripItemDisplayStyle.ImageAndText; } 35 39 } 36 40 -
trunk/sources/HeuristicLab.sln
r2243 r2247 245 245 EndProject 246 246 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.MainForm.Test-3.2", "HeuristicLab.MainForm.Test\3.2\HeuristicLab.MainForm.Test-3.2.csproj", "{569E430B-B4CE-4B94-A44E-6246B6E4E3BC}" 247 EndProject 248 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Common.Resources", "HeuristicLab.Common.Resources\3.2\HeuristicLab.Common.Resources.csproj", "{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}" 247 249 EndProject 248 250 Global … … 3914 3916 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 3915 3917 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|Any CPU.Build.0 = Debug|Any CPU 3916 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|x64.ActiveCfg = Debug|Any CPU 3918 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|x64.ActiveCfg = Debug|x64 3919 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|x64.Build.0 = Debug|x64 3917 3920 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|x86.ActiveCfg = Debug|x86 3918 3921 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Debug|x86.Build.0 = Debug|x86 … … 3923 3926 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|Any CPU.ActiveCfg = Release|Any CPU 3924 3927 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|Any CPU.Build.0 = Release|Any CPU 3925 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|x64.ActiveCfg = Release|Any CPU 3928 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|x64.ActiveCfg = Release|x64 3929 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|x64.Build.0 = Release|x64 3926 3930 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|x86.ActiveCfg = Release|x86 3927 3931 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Release|x86.Build.0 = Release|x86 … … 3934 3938 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Visualization Debug|x64.ActiveCfg = Debug|Any CPU 3935 3939 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC}.Visualization Debug|x86.ActiveCfg = Debug|Any CPU 3940 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.CEDMA Debug|Any CPU.ActiveCfg = Debug|Any CPU 3941 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.CEDMA Debug|Any CPU.Build.0 = Debug|Any CPU 3942 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.CEDMA Debug|x64.ActiveCfg = Debug|Any CPU 3943 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.CEDMA Debug|x86.ActiveCfg = Debug|Any CPU 3944 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 3945 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|Any CPU.Build.0 = Debug|Any CPU 3946 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|x64.ActiveCfg = Debug|x64 3947 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|x64.Build.0 = Debug|x64 3948 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|x86.ActiveCfg = Debug|x86 3949 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Debug|x86.Build.0 = Debug|x86 3950 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Modeling Debug|Any CPU.ActiveCfg = Debug|Any CPU 3951 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Modeling Debug|Any CPU.Build.0 = Debug|Any CPU 3952 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Modeling Debug|x64.ActiveCfg = Debug|Any CPU 3953 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Modeling Debug|x86.ActiveCfg = Debug|Any CPU 3954 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|Any CPU.ActiveCfg = Release|Any CPU 3955 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|Any CPU.Build.0 = Release|Any CPU 3956 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|x64.ActiveCfg = Release|x64 3957 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|x64.Build.0 = Release|x64 3958 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|x86.ActiveCfg = Release|x86 3959 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Release|x86.Build.0 = Release|x86 3960 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.v3.2 Debug|Any CPU.ActiveCfg = Debug|Any CPU 3961 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.v3.2 Debug|Any CPU.Build.0 = Debug|Any CPU 3962 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.v3.2 Debug|x64.ActiveCfg = Debug|Any CPU 3963 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.v3.2 Debug|x86.ActiveCfg = Debug|Any CPU 3964 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Visualization Debug|Any CPU.ActiveCfg = Debug|Any CPU 3965 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Visualization Debug|Any CPU.Build.0 = Debug|Any CPU 3966 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Visualization Debug|x64.ActiveCfg = Debug|Any CPU 3967 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}.Visualization Debug|x86.ActiveCfg = Debug|Any CPU 3936 3968 EndGlobalSection 3937 3969 GlobalSection(SolutionProperties) = preSolution … … 4025 4057 {3BD61258-31DA-4B09-89C0-4F71FEF5F05A} = {410732DB-725A-4824-896B-C298978343C0} 4026 4058 {569E430B-B4CE-4B94-A44E-6246B6E4E3BC} = {410732DB-725A-4824-896B-C298978343C0} 4059 {0E27A536-1C4A-4624-A65E-DC4F4F23E3E1} = {410732DB-725A-4824-896B-C298978343C0} 4027 4060 {A9E282EA-180F-4233-B809-AEDF0787545C} = {78982D7C-D63D-4A3D-AE1F-F58AC007603B} 4028 4061 {BF7D9494-A586-457B-8DF9-ED599F9E6A71} = {78982D7C-D63D-4A3D-AE1F-F58AC007603B} -
trunk/sources/HeuristicLab/CopyAssemblies.cmd
r2243 r2247 20 20 copy "%SolutionDir%\HeuristicLab.Charting.Data\3.2\%Outdir%\HeuristicLab.Charting.Data-3.2.dll" .\plugins 21 21 copy "%SolutionDir%\HeuristicLab.Charting.Data\3.3\%Outdir%\HeuristicLab.Charting.Data-3.3.dll" .\plugins 22 copy "%SolutionDir%\HeuristicLab.Common.Resources\3.2\%Outdir%\HeuristicLab.Common.Resources-3.2.dll" .\plugins 22 23 copy "%SolutionDir%\HeuristicLab.Communication.Data\3.2\%Outdir%\HeuristicLab.Communication.Data-3.2.dll" .\plugins 23 24 copy "%SolutionDir%\HeuristicLab.Communication.Operators\3.2\%Outdir%\HeuristicLab.Communication.Operators-3.2.dll" .\plugins
Note: See TracChangeset
for help on using the changeset viewer.