Changeset 7202 for branches/FitnessLandscapeAnalysis/HeuristicLab.Analysis.FitnessLandscape/MultiTrajectory
- Timestamp:
- 12/19/11 09:41:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.