Ignore:
Timestamp:
04/27/20 15:53:26 (13 months ago)
Author:
dpiringe
Message:

#3026:

  • added error output for failed runner initialization
  • reorganised some final view models
  • TargetedJsonItemType (in JsonItemVMBase) now automatically returns the type of the defined JsonItem
  • code cleanup
  • refactored RegressionProblemDataConverter
  • added lots of comments
  • added new view for StringArrayJsonItem
  • added new UI component for concrete restricted items and used it in JsonItemConcreteItemArrayControl and JsonItemValidValuesControl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/RangeVM.cs

    r17473 r17519  
    88
    99namespace HeuristicLab.JsonInterface.OptimizerIntegration {
    10 
    11   public class IntRangeVM : RangeVM<int, IntRangeJsonItem> {
    12     public override Type TargetedJsonItemType => typeof(IntRangeJsonItem);
    13 
    14     protected override int MinTypeValue => int.MinValue;
    15 
    16     protected override int MaxTypeValue => int.MaxValue;
    17 
    18     public override UserControl Control =>
    19       new JsonItemRangeControl(this);
    20   }
    21 
    22   public class DoubleRangeVM : RangeVM<double, DoubleRangeJsonItem> {
    23     public override Type TargetedJsonItemType => typeof(DoubleRangeJsonItem);
    24 
    25     protected override double MinTypeValue => double.MinValue;
    26 
    27     protected override double MaxTypeValue => double.MaxValue;
    28 
    29     public override UserControl Control =>
    30       new JsonItemRangeControl(this);
    31   }
    3210
    3311  public abstract class RangeVM<T, JsonItemType> : RangedValueBaseVM<T, JsonItemType>
Note: See TracChangeset for help on using the changeset viewer.