Last change
on this file since 17843 was
17843,
checked in by dpiringe, 3 years ago
|
#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 size:
639 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Windows.Forms;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.JsonInterface.OptimizerIntegration {
|
---|
5 | public class ValueLookupJsonItemVM : LookupJsonItemVM, IValueLookupJsonItemVM {
|
---|
6 | public override Type TargetedJsonItemType => typeof(ValueLookupJsonItem);
|
---|
7 | public override UserControl Control => ValueLookupJsonItemControl.Create(this);
|
---|
8 | public IJsonItem JsonItemReference => ((IValueLookupJsonItem)Item).ActualValue;
|
---|
9 |
|
---|
10 | public ValueLookupJsonItemVM() {
|
---|
11 | base.SelectedChanged += () => {
|
---|
12 | if (JsonItemReference != null)
|
---|
13 | JsonItemReference.Active = base.Selected;
|
---|
14 | };
|
---|
15 | }
|
---|
16 | }
|
---|
17 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.