source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Shared/ArrayJsonItemControl.cs @ 17828

Last change on this file since 17828 was 17828, checked in by dpiringe, 16 months ago

#3026

  • removed the option to set the value for JsonItems via exporter
    • reworked some base controls
    • added new controls for JsonItem specific properties (e.g. ArrayResizable)
    • deleted a lot of obsolet controls
  • removed the Enable checkbox in the detail view of JsonItems
  • exporter now clones the IOptimizer object
  • added a check + message for unsupported exports
  • list of JsonItems now includes unsupported JsonItems (disabled and marked with 'unsupported')
  • refactored the converter type check
    • now every converter has to specify its supported type(s)
File size: 488 bytes
Line 
1using System.Windows.Forms;
2
3namespace HeuristicLab.JsonInterface.OptimizerIntegration {
4  public partial class ArrayJsonItemControl : UserControl {
5
6    public ArrayJsonItemControl() {
7      InitializeComponent();
8    }
9
10    public static ArrayJsonItemControl Create(IJsonItemVM vm) {
11      var control = new ArrayJsonItemControl();
12      control.checkBoxResizable.DataBindings.Add("Checked", vm, nameof(IArrayJsonItemVM.Resizable));
13      return control;
14    }
15  }
16}
Note: See TracBrowser for help on using the repository browser.