Changeset 3106


Ignore:
Timestamp:
03/19/10 00:04:54 (12 years ago)
Author:
abeham
Message:

Changed parameter icon for parameters with a generic type derived from IOperator #919

Location:
trunk/sources/HeuristicLab.Parameters/3.3
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters/3.3/HeuristicLab.Parameters-3.3.csproj

    r2924 r3106  
    7373      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    7474    </Reference>
     75    <Reference Include="System.Drawing" />
    7576    <Reference Include="System.Xml.Linq">
    7677      <RequiredTargetFramework>3.5</RequiredTargetFramework>
     
    105106      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    106107      <Name>HeuristicLab.Collections-3.3</Name>
     108    </ProjectReference>
     109    <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.2\HeuristicLab.Common.Resources-3.2.csproj">
     110      <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project>
     111      <Name>HeuristicLab.Common.Resources-3.2</Name>
    107112    </ProjectReference>
    108113    <ProjectReference Include="..\..\HeuristicLab.Common\3.2\HeuristicLab.Common-3.2.csproj">
  • trunk/sources/HeuristicLab.Parameters/3.3/HeuristicLabParametersPlugin.cs.frame

    r2818 r3106  
    3030  [PluginDependency("HeuristicLab.Collections", "3.3")]
    3131  [PluginDependency("HeuristicLab.Common", "3.2")]
     32  [PluginDependency("HeuristicLab.Common.Resources", "3.2")]
    3233  [PluginDependency("HeuristicLab.Core", "3.3")]
    3334  [PluginDependency("HeuristicLab.Persistence", "3.3")]
  • trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs

    r3091 r3106  
    5454      }
    5555    }
     56    public override System.Drawing.Image ItemImage {
     57      get {
     58        if (typeof(IOperator).IsAssignableFrom(typeof(T)))
     59          return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method;
     60        else
     61          return base.ItemImage;
     62      }
     63    }
    5664
    5765    public LookupParameter()
  • trunk/sources/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs

    r3017 r3106  
    6969          );
    7070        Value = val;
     71      }
     72    }
     73
     74    public override System.Drawing.Image ItemImage {
     75      get {
     76        if (typeof(IOperator).IsAssignableFrom(typeof(T)))
     77          return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method;
     78        else
     79          return base.ItemImage;
    7180      }
    7281    }
  • trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs

    r3017 r3106  
    5757      }
    5858    }
     59    public override System.Drawing.Image ItemImage {
     60      get {
     61        if (typeof(IOperator).IsAssignableFrom(typeof(T)))
     62          return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method;
     63        else
     64          return base.ItemImage;
     65      }
     66    }
    5967
    6068    public OptionalValueParameter()
Note: See TracChangeset for help on using the changeset viewer.