Last change
on this file since 17417 was
17417,
checked in by dpiringe, 4 years ago
|
#3026:
- added initial VM (ArrayValueVM) and control for array values (JsonItemArrayValueControl)
- new types of JsonItems for better type safety:
- for arrays: DoubleArrayJsonItem, IntArrayJsonItem, BoolArrayJsonItem
- for matrix: DoubleMatrixJsonItem, IntMatrixJsonItem, BoolMatrixJsonItem
- refactored ValueTypeArrayConverter and ValueTypeMatrixConverter -> better type safety with new JsonItems
- enhanced StringValueVM and implemented JsonItemValidValuesControl with MVVM architecture
- the VM of JsonItemBaseControl is now protected (was private)
- improved JsonItem<V,R> -> now handles JTokens correctly
|
File size:
478 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel;
|
---|
4 | using System.Drawing;
|
---|
5 | using System.Data;
|
---|
6 | using System.Linq;
|
---|
7 | using System.Text;
|
---|
8 | using System.Threading.Tasks;
|
---|
9 | using System.Windows.Forms;
|
---|
10 |
|
---|
11 | namespace HeuristicLab.JsonInterface.OptimizerIntegration {
|
---|
12 | public partial class JsonItemArrayValueControl : JsonItemBaseControl {
|
---|
13 | public JsonItemArrayValueControl(JsonItemVMBase vm) : base(vm) {
|
---|
14 | InitializeComponent();
|
---|
15 | }
|
---|
16 | }
|
---|
17 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.