Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/LookupJsonItemVM.cs @ 17590

Last change on this file since 17590 was 17519, checked in by dpiringe, 5 years ago

#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 size: 571 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6using System.Windows.Forms;
7
8namespace HeuristicLab.JsonInterface.OptimizerIntegration {
9  public class LookupJsonItemVM : JsonItemVMBase<LookupJsonItem>, ILookupJsonItemVM {
10
11    public override UserControl Control => new LookupJsonItemControl(this);
12
13    public string ActualName {
14      get => Item.ActualName;
15      set {
16        Item.ActualName = value;
17        OnPropertyChange(this, nameof(ActualName));
18      }
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.