Changeset 3136 for trunk/sources
- Timestamp:
- 03/20/10 02:47:56 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Parameters/3.3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Parameters/3.3/LookupParameter.cs
r3106 r3136 52 52 cachedActualValue = value; 53 53 SetActualValue(value); 54 }55 }56 public override System.Drawing.Image ItemImage {57 get {58 if (typeof(IOperator).IsAssignableFrom(typeof(T)))59 return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method;60 else61 return base.ItemImage;62 54 } 63 55 } -
trunk/sources/HeuristicLab.Parameters/3.3/OptionalConstrainedValueParameter.cs
r3106 r3136 69 69 ); 70 70 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 else79 return base.ItemImage;80 71 } 81 72 } -
trunk/sources/HeuristicLab.Parameters/3.3/OptionalValueParameter.cs
r3106 r3136 57 57 } 58 58 } 59 public override System.Drawing.Image ItemImage {60 get {61 if (typeof(IOperator).IsAssignableFrom(typeof(T)))62 return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method;63 else64 return base.ItemImage;65 }66 }67 59 68 60 public OptionalValueParameter() -
trunk/sources/HeuristicLab.Parameters/3.3/Parameter.cs
r3017 r3136 21 21 22 22 using System; 23 using System.Drawing; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 32 33 [StorableClass] 33 34 public abstract class Parameter : NamedItem, IParameter { 35 public override Image ItemImage { 36 get { 37 if ((dataType != null) && (typeof(IOperator).IsAssignableFrom(dataType))) 38 return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; 39 else 40 return base.ItemImage; 41 } 42 } 34 43 public override bool CanChangeName { 35 44 get { return false; }
Note: See TracChangeset
for help on using the changeset viewer.