Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/23/21 16:36:44 (3 years ago)
Author:
dpiringe
Message:

#3026

  • removed property ConvertableType from all converters
  • removed the option to fixate or loosen the path of JsonItems (obsolete)
  • added a abstract formatter SymbolicRegressionSolutionFormatterBase as base formatter for ISymbolicRegressionSolution
  • unified the construction of exporter controls
  • code cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/MatrixJsonItemControl.cs

    r17829 r17843  
    33namespace HeuristicLab.JsonInterface.OptimizerIntegration {
    44  public partial class MatrixJsonItemControl : UserControl {
    5     public MatrixJsonItemControl() {
     5    private MatrixJsonItemControl() {
    66      InitializeComponent();
    77    }
    88
    9     public static MatrixJsonItemControl Create(IJsonItemVM vm) {
    10       var control = new MatrixJsonItemControl();
    11       control.checkBoxRowsResizable.DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.RowsResizable));
    12       control.checkBoxColumnsResizable .DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.ColumnsResizable));
    13       return control;
     9    protected MatrixJsonItemControl(IJsonItemVM vm) {
     10      InitializeComponent();
     11      checkBoxRowsResizable.DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.RowsResizable));
     12      checkBoxColumnsResizable.DataBindings.Add("Checked", vm, nameof(IMatrixJsonItemVM.ColumnsResizable));
    1413    }
     14
     15    public static MatrixJsonItemControl Create(IJsonItemVM vm) => new MatrixJsonItemControl(vm);
    1516  }
    1617}
Note: See TracChangeset for help on using the changeset viewer.