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:
1.2 KB
|
Rev | Line | |
---|
[17431] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
[17471] | 3 | using System.Windows.Forms;
|
---|
[17431] | 4 |
|
---|
| 5 | namespace HeuristicLab.JsonInterface.OptimizerIntegration {
|
---|
| 6 |
|
---|
| 7 |
|
---|
[17473] | 8 | public abstract class MatrixValueVM<T, JsonItemType> : RangedValueBaseVM<T, JsonItemType>, IMatrixJsonItemVM
|
---|
| 9 | where T : IComparable
|
---|
| 10 | where JsonItemType : class, IMatrixJsonItem, IIntervalRestrictedJsonItem<T> {
|
---|
[17828] | 11 |
|
---|
| 12 | public override UserControl Control => CompoundControl.Create(base.Control, MatrixJsonItemControl.Create(this));
|
---|
| 13 |
|
---|
[17446] | 14 | public bool RowsResizable {
|
---|
[17484] | 15 | get => Item.RowsResizable;
|
---|
[17446] | 16 | set {
|
---|
[17484] | 17 | Item.RowsResizable = value;
|
---|
[17446] | 18 | OnPropertyChange(this, nameof(RowsResizable));
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
[17431] | 21 |
|
---|
[17446] | 22 | public bool ColumnsResizable {
|
---|
[17484] | 23 | get => Item.ColumnsResizable;
|
---|
[17446] | 24 | set {
|
---|
[17484] | 25 | Item.ColumnsResizable = value;
|
---|
[17446] | 26 | OnPropertyChange(this, nameof(ColumnsResizable));
|
---|
| 27 | }
|
---|
| 28 | }
|
---|
| 29 |
|
---|
[17471] | 30 | public IEnumerable<string> RowNames {
|
---|
[17484] | 31 | get => Item.RowNames;
|
---|
[17471] | 32 | set {
|
---|
[17484] | 33 | Item.RowNames = value;
|
---|
[17471] | 34 | OnPropertyChange(this, nameof(RowNames));
|
---|
| 35 | }
|
---|
| 36 | }
|
---|
| 37 | public IEnumerable<string> ColumnNames {
|
---|
[17484] | 38 | get => Item.ColumnNames;
|
---|
[17471] | 39 | set {
|
---|
[17484] | 40 | Item.ColumnNames = value;
|
---|
[17471] | 41 | OnPropertyChange(this, nameof(ColumnNames));
|
---|
| 42 | }
|
---|
| 43 | }
|
---|
[17431] | 44 | }
|
---|
| 45 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.