Changeset 18065 for branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate
- Timestamp:
- 10/08/21 16:28:53 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/StructureTemplate/StructureTemplateView.cs
r18063 r18065 21 21 } 22 22 23 24 23 public StructureTemplateView() { 25 24 InitializeComponent(); 26 25 errorLabel.Text = ""; 26 } 27 28 protected override void OnContentChanged() { 29 base.OnContentChanged(); 30 if (Content == null) return; 31 32 expressionInput.Text = Content.Template; 33 symRegTreeChart.Content = Content.Tree; 34 subFunctionListView.Content = new ItemList<SubFunction>(Content.SubFunctions.Values).AsReadOnly(); 35 36 errorLabel.Text = ""; 37 27 38 } 28 39 … … 34 45 35 46 var subFunctionList = new ItemList<SubFunction>(); 36 foreach (var func in Content.SubFunctions )47 foreach (var func in Content.SubFunctions.Values) 37 48 subFunctionList.Add(func); 38 49 subFunctionListView.Content = subFunctionList.AsReadOnly();
Note: See TracChangeset
for help on using the changeset viewer.