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
Line 
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 {
10  public interface IJsonItemVM : INotifyPropertyChanged, IDisposable
11  {
12    event Action ItemChanged;
13
14    Type TargetedJsonItemType { get; }
15
16    UserControl Control { get; }
17    bool Selected { get; set; }
18
19    string Name { get; set; }
20
21    string Description { get; set; }
22   
23    TreeNode TreeNode { get; set; }
24
25    TreeView TreeView { get; set; }
26    IJsonItem Item { get; set; }
27
28  }
29
30  public interface IJsonItemVM<JsonItemType> : IJsonItemVM
31    where JsonItemType : IJsonItem
32  {
33    new JsonItemType Item { get; set; }
34  }
35}
Note: See TracBrowser for help on using the repository browser.