Changeset 17406 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views
- Timestamp:
- 01/27/20 10:33:01 (5 years ago)
- Location:
- branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.Designer.cs
r17405 r17406 88 88 // jsonItemBindingSource 89 89 // 90 this.jsonItemBindingSource.DataSource = typeof(HeuristicLab.JsonInterface. JsonItem);90 this.jsonItemBindingSource.DataSource = typeof(HeuristicLab.JsonInterface.IJsonItem); 91 91 // 92 92 // ExportJsonDialog -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ExportJsonDialog.cs
r17405 r17406 18 18 private static SaveFileDialog saveFileDialog; 19 19 private IDictionary<int, UserControl> ctrlCollection = new Dictionary<int, UserControl>(); 20 private JsonItem root;20 private IJsonItem root; 21 21 private IOptimizer optimizer; 22 22 private IList<JsonItemVM> vms; … … 67 67 } 68 68 69 private JsonItemVM BuildTreeNode(TreeNode node, JsonItem item) {69 private JsonItemVM BuildTreeNode(TreeNode node, IJsonItem item) { 70 70 JsonItemVM vm = new JsonItemVM(item); 71 71 … … 89 89 } 90 90 91 private bool IsDrawableItem( JsonItem item) {91 private bool IsDrawableItem(IJsonItem item) { 92 92 bool b = false; 93 93 if (item.Children != null) { … … 111 111 112 112 private UserControl GenerateControl(JsonItemVM vm) { 113 JsonItem item = vm.Item;113 IJsonItem item = vm.Item; 114 114 UserControl control = null; 115 115 if (!(item is UnsupportedJsonItem)) {
Note: See TracChangeset
for help on using the changeset viewer.