Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/20 10:33:01 (4 years ago)
Author:
dpiringe
Message:

#3026

  • added interfaces IJsonItem and IJsonItemValidator
  • replaced every reference JsonItem with IJsonItem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs

    r17405 r17406  
    1818    private static SaveFileDialog saveFileDialog;
    1919    private IDictionary<int, UserControl> ctrlCollection = new Dictionary<int, UserControl>();
    20     private JsonItem root;
     20    private IJsonItem root;
    2121    private IOptimizer optimizer;
    2222    private IList<JsonItemVM> vms;
     
    6767    }
    6868
    69     private JsonItemVM BuildTreeNode(TreeNode node, JsonItem item) {
     69    private JsonItemVM BuildTreeNode(TreeNode node, IJsonItem item) {
    7070      JsonItemVM vm = new JsonItemVM(item);
    7171
     
    8989    }
    9090
    91     private bool IsDrawableItem(JsonItem item) {
     91    private bool IsDrawableItem(IJsonItem item) {
    9292      bool b = false;
    9393      if (item.Children != null) {
     
    111111
    112112    private UserControl GenerateControl(JsonItemVM vm) {
    113       JsonItem item = vm.Item;
     113      IJsonItem item = vm.Item;
    114114      UserControl control = null;
    115115      if (!(item is UnsupportedJsonItem)) {
Note: See TracChangeset for help on using the changeset viewer.