- Timestamp:
- 12/19/11 09:41:39 (13 years ago)
- Location:
- branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Analysis/Aggregators/Aggregator.cs
r7128 r7202 14 14 public abstract class Aggregator<T> : NamedItem, IAggregator where T : class, IItem { 15 15 16 public override Image ItemImage { get { return VSImageLibrary.Database;} }16 public static new Image StaticItemImage { get { return VSImageLibrary.Database; } } 17 17 public override bool CanChangeName { get { return false; } } 18 18 -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Analysis/Aggregators/EvolvabilityAggregator.cs
r7181 r7202 34 34 35 35 #region Properties 36 public override ImageItemImage { get { return VSImageLibrary.Database; } }36 public static new Image StaticItemImage { get { return VSImageLibrary.Database; } } 37 37 public override bool CanChangeName { get { return false; } } 38 38 #endregion -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Analysis/Aggregators/InformationAnalysisValueAggregator.cs
r7128 r7202 29 29 30 30 #region Properties 31 public override ImageItemImage { get { return VSImageLibrary.Database; } }31 public static new Image StaticItemImage { get { return VSImageLibrary.Database; } } 32 32 public override bool CanChangeName { get { return false; } } 33 33 #endregion -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/Analysis/Aggregators/RuggednessAggregator.cs
r7128 r7202 19 19 public class RuggednessAggregator : NamedItem, IAggregator { 20 20 21 public override ImageItemImage { get { return VSImageLibrary.Database; } }21 public static new Image StaticItemImage { get { return VSImageLibrary.Database; } } 22 22 public override bool CanChangeName { get { return false; } } 23 23 -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/BoxChart/ColorValue.cs
r7128 r7202 8 8 using HeuristicLab.Data; 9 9 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 10 using HeuristicLab.Common.Resources; 10 11 11 12 namespace HeuristicLab.Analysis.FitnessLandscape.BoxChart { … … 45 46 public override bool CanChangeName { get { return false; } } 46 47 public override bool CanChangeDescription { get { return false; } } 48 public static new Image StaticItemImage { get { return VSImageLibrary.DisplayInColorVertical; } } 47 49 public override Image ItemImage { 48 50 get { -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/DistanceCalculators/BinaryVectorDistanceCalculator.cs
r7128 r7202 8 8 using HeuristicLab.Common; 9 9 using HeuristicLab.Encodings.BinaryVectorEncoding; 10 using System.Drawing; 10 11 11 12 namespace HeuristicLab.Analysis.FitnessLandscape.DistanceCalculators { … … 19 20 public override bool CanChangeName { get { return false; } } 20 21 public override bool CanChangeDescription { get { return false; } } 21 public override System.Drawing.ImageItemImage { get { return VSImageLibrary.Function; } }22 public static new Image StaticItemImage { get { return VSImageLibrary.Function; } } 22 23 23 24 #endregion -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/DistanceCalculators/PermutationDistanceCalculator.cs
r7128 r7202 21 21 public override bool CanChangeName { get { return false; } } 22 22 public override bool CanChangeDescription { get { return false; } } 23 public override System.Drawing.ImageItemImage { get { return VSImageLibrary.Function; } }23 public static new Image StaticItemImage { get { return VSImageLibrary.Function; } } 24 24 25 25 #endregion -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/FDC/HeatMap.cs
r7128 r7202 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Common.Resources; 28 29 29 30 namespace HeuristicLab.Analysis.FitnessLandscape { … … 33 34 public class HeatMap : NamedItem { 34 35 35 public override Image ItemImage { 36 get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; } 37 } 36 public static new Image StaticItemImage { get { return VSImageLibrary.Image; } } 38 37 39 38 #region Persistence -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/FDC/ScatterPlot.cs
r7128 r7202 27 27 using HeuristicLab.Core; 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Common.Resources; 29 30 30 31 namespace HeuristicLab.Analysis.FitnessLandscape { … … 42 43 public class ScatterPlot : NamedItem { 43 44 44 public override Image ItemImage { 45 get { return HeuristicLab.Common.Resources.VSImageLibrary.Image; } 46 } 45 public static new Image StaticItemImage { get { return VSImageLibrary.Image; } } 47 46 48 47 public event EventHandler<PointsEventArgs> PixelsChanged; -
branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/MultiTrajectory/MultiTrajectoryAnalysis.cs
r7128 r7202 12 12 using HeuristicLab.Encodings.RealVectorEncoding; 13 13 using HeuristicLab.Encodings.PermutationEncoding; 14 using HeuristicLab.Common.Resources; 15 using System.Drawing; 14 16 15 17 namespace HeuristicLab.Analysis.FitnessLandscape.MultiTrajectory { … … 132 134 #region Fields & Properties 133 135 134 public override System.Drawing.Image ItemImage { 136 public new static Image StaticItemImage { get { return VSImageLibrary.Event; } } 137 138 public override Image ItemImage { 135 139 get { 136 if (ExecutionState == ExecutionState.Prepared) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePrepared; 137 else if (ExecutionState == ExecutionState.Started) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStarted; 138 else if (ExecutionState == ExecutionState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePaused; 139 else if (ExecutionState == ExecutionState.Stopped) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStopped; 140 else return HeuristicLab.Common.Resources.VSImageLibrary.Event; 140 switch (ExecutionState) { 141 case ExecutionState.Prepared: return VSImageLibrary.ExecutablePrepared; 142 case ExecutionState.Started: return VSImageLibrary.ExecutableStarted; 143 case ExecutionState.Paused: return VSImageLibrary.ExecutablePaused; 144 case ExecutionState.Stopped: return VSImageLibrary.ExecutableStopped; 145 default: return base.ItemImage; 146 } 141 147 } 142 148 }
Note: See TracChangeset
for help on using the changeset viewer.