Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Interfaces/IJsonItemVM.cs @ 17712

Last change on this file since 17712 was 17473, checked in by dpiringe, 5 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: 812 bytes
RevLine 
[17446]1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Linq;
5using System.Text;
6using System.Threading.Tasks;
7using System.Windows.Forms;
8
9namespace HeuristicLab.JsonInterface.OptimizerIntegration {
[17473]10  public interface IJsonItemVM : INotifyPropertyChanged, IDisposable
11  {
[17446]12    event Action ItemChanged;
13
[17473]14    Type TargetedJsonItemType { get; }
[17446]15
[17471]16    UserControl Control { get; }
[17446]17    bool Selected { get; set; }
18
19    string Name { get; set; }
20
21    string Description { get; set; }
[17471]22   
[17446]23    TreeNode TreeNode { get; set; }
24
25    TreeView TreeView { get; set; }
[17473]26    IJsonItem Item { get; set; }
27
[17446]28  }
[17473]29
30  public interface IJsonItemVM<JsonItemType> : IJsonItemVM
31    where JsonItemType : IJsonItem
32  {
33    new JsonItemType Item { get; set; }
34  }
[17446]35}
Note: See TracBrowser for help on using the repository browser.