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:
689 bytes
|
Rev | Line | |
---|
[17417] | 1 | using System;
|
---|
[17471] | 2 | using System.Windows.Forms;
|
---|
[17417] | 3 |
|
---|
| 4 | namespace HeuristicLab.JsonInterface.OptimizerIntegration {
|
---|
[17420] | 5 |
|
---|
[17473] | 6 | public abstract class ArrayValueVM<T, JsonItemType> : RangedValueBaseVM<T, JsonItemType>, IArrayJsonItemVM
|
---|
| 7 | where T : IComparable
|
---|
| 8 | where JsonItemType : class, IArrayJsonItem, IIntervalRestrictedJsonItem<T> {
|
---|
[17828] | 9 |
|
---|
| 10 | public override UserControl Control => CompoundControl.Create(base.Control, ArrayJsonItemControl.Create(this));
|
---|
| 11 |
|
---|
[17433] | 12 | public ArrayValueVM() { }
|
---|
[17484] | 13 |
|
---|
[17446] | 14 | public bool Resizable {
|
---|
[17484] | 15 | get => Item.Resizable;
|
---|
[17446] | 16 | set {
|
---|
[17484] | 17 | Item.Resizable = value;
|
---|
[17446] | 18 | OnPropertyChange(this, nameof(IArrayJsonItemVM.Resizable));
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
[17420] | 21 | }
|
---|
[17417] | 22 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.