- Timestamp:
- 03/07/16 10:18:05 (9 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r12012 r13656 21 21 22 22 using System; 23 using System.Drawing;24 23 using HeuristicLab.Common; 25 24 using HeuristicLab.Core; … … 36 35 [Storable] 37 36 protected IOperation initialOperation; 38 public IOperation InitialOperation { 37 public IOperation InitialOperation 38 { 39 39 get { return initialOperation; } 40 40 set { initialOperation = value; } 41 41 } 42 42 43 public new IEngine Item { 43 public new IEngine Item 44 { 44 45 get { return (IEngine)base.Item; } 45 46 set { base.Item = value; } 46 47 } 47 48 48 public override TimeSpan ExecutionTime { 49 public override TimeSpan ExecutionTime 50 { 49 51 get { return Item.ExecutionTime; } 50 52 } 51 53 52 public override ExecutionState ExecutionState { 54 public override ExecutionState ExecutionState 55 { 53 56 get { return Item.ExecutionState; } 54 57 } … … 73 76 #endregion 74 77 75 public override bool IsParallelizable { 78 public override bool IsParallelizable 79 { 76 80 get { return false; } 77 81 } … … 136 140 } 137 141 138 public override bool CanChangeDescription { 142 public override bool CanChangeDescription 143 { 139 144 get { return false; } 140 145 } 141 146 142 public override bool CanChangeName { 147 public override bool CanChangeName 148 { 143 149 get { return false; } 144 150 } 145 151 146 public override string Description { 152 public override string Description 153 { 147 154 get { return string.Empty; } 148 155 set { throw new NotSupportedException(); } 149 156 } 150 157 151 public override string Name { 158 public override string Name 159 { 152 160 get { return Item != null ? Item.ToString() : "Engine Task"; } 153 161 set { throw new NotSupportedException(); } 154 162 } 155 163 156 public static new Image StaticItemImage {157 get { return HeuristicLab.Common.Resources.VSImageLibrary.Operator; }158 }159 164 160 public override string ItemName { 165 166 public override string ItemName 167 { 161 168 get { return "Engine Task"; } 162 169 }
Note: See TracChangeset
for help on using the changeset viewer.