Changeset 3351 for trunk/sources/HeuristicLab.Core/3.3
- Timestamp:
- 04/15/10 04:37:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core/3.3/Executable.cs
r3289 r3351 30 30 public abstract class Executable : Item, IExecutable { 31 31 public override Image ItemImage { 32 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Event; } 32 get { 33 if (ExecutionState == ExecutionState.Prepared) return HeuristicLab.Common.Resources.VS2008ImageLibrary.Event; 34 else if (ExecutionState == ExecutionState.Started) return HeuristicLab.Common.Resources.VS2008ImageLibrary.Play; 35 else if (ExecutionState == ExecutionState.Paused) return HeuristicLab.Common.Resources.VS2008ImageLibrary.Pause; 36 else if (ExecutionState == ExecutionState.Stopped) return HeuristicLab.Common.Resources.VS2008ImageLibrary.Stop; 37 else return HeuristicLab.Common.Resources.VS2008ImageLibrary.Event; 38 } 33 39 } 34 40 … … 41 47 executionState = value; 42 48 OnExecutionStateChanged(); 49 OnItemImageChanged(); 43 50 } 44 51 }
Note: See TracChangeset
for help on using the changeset viewer.