Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9314 for branches


Ignore:
Timestamp:
03/12/13 16:59:51 (12 years ago)
Author:
sforsten
Message:

#2022:

  • the properties of Item are cached
  • added solution file and build commands
Location:
branches/ImprovingItemListView
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • branches/ImprovingItemListView

    • Property svn:ignore set to
      *.suo
  • branches/ImprovingItemListView/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r8600 r9314  
    4141    <DebugType>full</DebugType>
    4242    <Optimize>false</Optimize>
    43     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     43    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    4444    <DefineConstants>DEBUG;TRACE</DefineConstants>
    4545    <ErrorReport>prompt</ErrorReport>
     
    5050    <DebugType>pdbonly</DebugType>
    5151    <Optimize>true</Optimize>
    52     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     52    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    5353    <DefineConstants>TRACE</DefineConstants>
    5454    <ErrorReport>prompt</ErrorReport>
     
    6060  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    6161    <DebugSymbols>true</DebugSymbols>
    62     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     62    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    6363    <DefineConstants>DEBUG;TRACE</DefineConstants>
    6464    <DebugType>full</DebugType>
     
    6868  </PropertyGroup>
    6969  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    70     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     70    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    7171    <DefineConstants>TRACE</DefineConstants>
    7272    <DocumentationFile>
     
    8080  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    8181    <DebugSymbols>true</DebugSymbols>
    82     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     82    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    8383    <DefineConstants>DEBUG;TRACE</DefineConstants>
    8484    <DebugType>full</DebugType>
     
    8888  </PropertyGroup>
    8989  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    90     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     90    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    9191    <DefineConstants>TRACE</DefineConstants>
    9292    <DocumentationFile>
     
    9999  </PropertyGroup>
    100100  <ItemGroup>
     101    <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     102    <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     103    <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     104    <Reference Include="HeuristicLab.MainForm-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     105    <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     106    <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     107    <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
    101108    <Reference Include="System" />
    102109    <Reference Include="System.Core">
     
    311318  </ItemGroup>
    312319  <ItemGroup>
    313     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    314       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    315       <Name>HeuristicLab.Collections-3.3</Name>
    316       <Private>False</Private>
    317     </ProjectReference>
    318     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    319       <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
    320       <Name>HeuristicLab.Common.Resources-3.3</Name>
    321       <Private>False</Private>
    322     </ProjectReference>
    323     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    324       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    325       <Name>HeuristicLab.Common-3.3</Name>
    326       <Private>False</Private>
    327     </ProjectReference>
    328320    <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    329321      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    330322      <Name>HeuristicLab.Core-3.3</Name>
    331       <Private>False</Private>
    332     </ProjectReference>
    333     <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj">
    334       <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project>
    335       <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name>
    336       <Private>False</Private>
    337     </ProjectReference>
    338     <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj">
    339       <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project>
    340       <Name>HeuristicLab.MainForm-3.3</Name>
    341       <Private>False</Private>
    342     </ProjectReference>
    343     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    344       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    345       <Name>HeuristicLab.Persistence-3.3</Name>
    346       <Private>False</Private>
    347     </ProjectReference>
    348     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    349       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    350       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    351323      <Private>False</Private>
    352324    </ProjectReference>
     
    378350  -->
    379351  <PropertyGroup>
    380    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     352    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    381353set ProjectDir=$(ProjectDir)
    382354set SolutionDir=$(SolutionDir)
     
    385357call PreBuildEvent.cmd
    386358</PreBuildEvent>
    387 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     359    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    388360export ProjectDir=$(ProjectDir)
    389361export SolutionDir=$(SolutionDir)
  • branches/ImprovingItemListView/HeuristicLab.Core/3.3/HeuristicLab.Core-3.3.csproj

    r9178 r9314  
    4141    <DebugType>full</DebugType>
    4242    <Optimize>false</Optimize>
    43     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     43    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    4444    <DefineConstants>DEBUG;TRACE</DefineConstants>
    4545    <ErrorReport>prompt</ErrorReport>
     
    5252    <DebugType>pdbonly</DebugType>
    5353    <Optimize>true</Optimize>
    54     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     54    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    5555    <DefineConstants>TRACE</DefineConstants>
    5656    <ErrorReport>prompt</ErrorReport>
     
    6363  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
    6464    <DebugSymbols>true</DebugSymbols>
    65     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     65    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    6666    <DefineConstants>DEBUG;TRACE</DefineConstants>
    6767    <DebugType>full</DebugType>
     
    7171  </PropertyGroup>
    7272  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
    73     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     73    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    7474    <DefineConstants>TRACE</DefineConstants>
    7575    <DocumentationFile>
     
    8383  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
    8484    <DebugSymbols>true</DebugSymbols>
    85     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     85    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    8686    <DefineConstants>DEBUG;TRACE</DefineConstants>
    8787    <DebugType>full</DebugType>
     
    9191  </PropertyGroup>
    9292  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
    93     <OutputPath>$(SolutionDir)\bin\</OutputPath>
     93    <OutputPath>..\..\..\..\trunk\sources\bin\</OutputPath>
    9494    <DefineConstants>TRACE</DefineConstants>
    9595    <DocumentationFile>
     
    102102  </PropertyGroup>
    103103  <ItemGroup>
     104    <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     105    <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     106    <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     107    <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
     108    <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" />
    104109    <Reference Include="System" />
    105110    <Reference Include="System.Core">
     
    205210  </ItemGroup>
    206211  <ItemGroup>
    207     <ProjectReference Include="..\..\HeuristicLab.Collections\3.3\HeuristicLab.Collections-3.3.csproj">
    208       <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    209       <Name>HeuristicLab.Collections-3.3</Name>
    210       <Private>False</Private>
    211     </ProjectReference>
    212     <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
    213       <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
    214       <Name>HeuristicLab.Common.Resources-3.3</Name>
    215       <Private>False</Private>
    216     </ProjectReference>
    217     <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    218       <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    219       <Name>HeuristicLab.Common-3.3</Name>
    220       <Private>False</Private>
    221     </ProjectReference>
    222     <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj">
    223       <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project>
    224       <Name>HeuristicLab.Persistence-3.3</Name>
    225       <Private>False</Private>
    226     </ProjectReference>
    227     <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    228       <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project>
    229       <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
    230       <Private>False</Private>
    231     </ProjectReference>
    232   </ItemGroup>
    233   <ItemGroup>
    234212    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
    235213      <Visible>False</Visible>
  • branches/ImprovingItemListView/HeuristicLab.Core/3.3/Item.cs

    r7259 r9314  
    3232  [Item("Item", "Base class for all HeuristicLab items.")]
    3333  public abstract class Item : IItem {
     34    private string itemName;
    3435    public virtual string ItemName {
    35       get { return ItemAttribute.GetName(this.GetType()); }
     36      get {
     37        if (itemName == null) {
     38          itemName = ItemAttribute.GetName(this.GetType());
     39        }
     40        return itemName;
     41      }
    3642    }
     43    private string itemDescription;
    3744    public virtual string ItemDescription {
    38       get { return ItemAttribute.GetDescription(this.GetType()); }
     45      get {
     46        if (itemName == null) {
     47          itemName = ItemAttribute.GetDescription(this.GetType());
     48        }
     49        return itemName;
     50      }
    3951    }
     52    private Version itemVersion;
    4053    public Version ItemVersion {
    41       get { return ItemAttribute.GetVersion(this.GetType()); }
     54      get {
     55        if (itemVersion == null) {
     56          itemVersion = ItemAttribute.GetVersion(this.GetType());
     57        }
     58        return itemVersion;
     59      }
    4260    }
    4361    public static Image StaticItemImage {
    4462      get { return HeuristicLab.Common.Resources.VSImageLibrary.Class; }
    4563    }
     64    private Image itemImage;
    4665    public virtual Image ItemImage {
    47       get { return ItemAttribute.GetImage(this.GetType()); }
     66      get {
     67        if (itemImage == null) {
     68          itemImage = ItemAttribute.GetImage(this.GetType());
     69        }
     70        return itemImage;
     71      }
    4872    }
    4973
Note: See TracChangeset for help on using the changeset viewer.