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