Changeset 13656 for branches/WebJobManager/HeuristicLab.Operators/3.3
- Timestamp:
- 03/07/16 10:18:05 (9 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Operators/3.3/AlgorithmOperator.cs
r12012 r13656 32 32 [StorableClass] 33 33 public abstract class AlgorithmOperator : SingleSuccessorOperator, IOperatorGraphOperator { 34 public static new Image StaticItemImage { 35 get { return HeuristicLab.Common.Resources.VSImageLibrary.Module; } 34 public static new Image StaticItemImage 35 { 36 get { return new Bitmap(25, 25); } 36 37 } 37 public override Image ItemImage { 38 get { 38 public override Image ItemImage 39 { 40 get 41 { 39 42 if (Breakpoint) return HeuristicLab.Common.Resources.VSImageLibrary.BreakpointActive; 40 43 else return base.ItemImage; … … 43 46 [Storable] 44 47 private OperatorGraph operatorGraph; 45 public OperatorGraph OperatorGraph { 48 public OperatorGraph OperatorGraph 49 { 46 50 get { return operatorGraph; } 47 51 } -
branches/WebJobManager/HeuristicLab.Operators/3.3/Operator.cs
r12012 r13656 35 35 [StorableClass] 36 36 public abstract partial class Operator : ParameterizedNamedItem, IOperator, IStatefulItem { 37 public static new Image StaticItemImage { 38 get { return HeuristicLab.Common.Resources.VSImageLibrary.Method; } 37 public static new Image StaticItemImage 38 { 39 get { return new Bitmap(25, 25); } 39 40 } 40 public override Image ItemImage { 41 get { 41 public override Image ItemImage 42 { 43 get 44 { 42 45 if (Breakpoint) return HeuristicLab.Common.Resources.VSImageLibrary.BreakpointActive; 43 46 else return base.ItemImage; 44 47 } 45 48 } 46 public override bool CanChangeDescription { 49 public override bool CanChangeDescription 50 { 47 51 get { return false; } 48 52 } 49 53 50 54 private Lazy<ThreadLocal<IExecutionContext>> executionContexts; 51 protected IExecutionContext ExecutionContext { 55 protected IExecutionContext ExecutionContext 56 { 52 57 get { return executionContexts.Value.Value; } 53 private set { 58 private set 59 { 54 60 if (value != executionContexts.Value.Value) { 55 61 executionContexts.Value.Value = value; … … 58 64 } 59 65 private CancellationToken cancellationToken; 60 protected CancellationToken CancellationToken { 66 protected CancellationToken CancellationToken 67 { 61 68 get { return cancellationToken; } 62 69 } … … 64 71 [Storable] 65 72 private bool breakpoint; 66 public bool Breakpoint { 73 public bool Breakpoint 74 { 67 75 get { return breakpoint; } 68 set { 76 set 77 { 69 78 if (value != breakpoint) { 70 79 breakpoint = value; -
branches/WebJobManager/HeuristicLab.Operators/3.3/ReductionOperation.cs
r12012 r13656 42 42 [StorableClass] 43 43 public class ReductionOperation : ValueTypeValue<ReductionOperations> { 44 public static new Image StaticItemImage { 45 get { return HeuristicLab.Common.Resources.VSImageLibrary.Enum; } 44 public static new Image StaticItemImage 45 { 46 get { return new Bitmap(25, 25); } 46 47 } 47 48
Note: See TracChangeset
for help on using the changeset viewer.