Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/10/20 17:17:37 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • refactored inheritance structure of json items, now the default JsonItem is an abstract class without properties Value and Range -> splitted up into new interfaces
  • updated view models for new json item structure
  • updated SingleLineArrayJsonWriter
File:
1 edited

Legend:

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

    r17471 r17473  
    1010
    1111  public class DoubleMatrixValueVM : MatrixValueVM<double, DoubleMatrixJsonItem> {
    12     public override Type JsonItemType => typeof(DoubleMatrixJsonItem);
     12    public override Type TargetedJsonItemType => typeof(DoubleMatrixJsonItem);
    1313    public override UserControl Control =>
    1414      new JsonItemDoubleMatrixValueControl(this);
     
    2727  }
    2828
    29   public abstract class MatrixValueVM<T, JsonItemType> : RangedValueBaseVM<T>, IMatrixJsonItemVM
    30     where JsonItemType : IMatrixJsonItem {
     29  public abstract class MatrixValueVM<T, JsonItemType> : RangedValueBaseVM<T, JsonItemType>, IMatrixJsonItemVM
     30    where T : IComparable
     31    where JsonItemType : class, IMatrixJsonItem, IIntervalRestrictedJsonItem<T> {
    3132    public abstract T[][] Value { get; set; }
    3233    public bool RowsResizable {
Note: See TracChangeset for help on using the changeset viewer.