Changeset 14744 for branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Views/DataEditorView.cs
- Timestamp:
- 03/10/17 21:42:09 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PushGP/HeuristicLab.PushGP/HeuristicLab.Problem.ProgramSynthesis.BenchmarkSuite/Views/DataEditorView.cs
r14727 r14744 2 2 3 3 namespace HeuristicLab.BenchmarkSuite.Views { 4 5 using HeuristicLab.BenchmarkSuite.Problems;6 4 using HeuristicLab.Core.Views; 7 5 using HeuristicLab.MainForm; 8 6 9 7 [View("Push Expression Selection Editor")] 10 [Content(typeof( Data), true)]8 [Content(typeof(IBenchmarkSuiteDataDescriptor), true)] 11 9 public partial class DataEditorView : NamedItemView { 12 10 public DataEditorView() { … … 35 33 36 34 try { 37 var newExample = Content. ExampleParser.ParseExample(inputArgs, outputArgs);35 var newExample = Content.ParseExample(inputArgs, outputArgs); 38 36 newExample.CopyTo(example); 39 37 } … … 48 46 } 49 47 50 public new DataContent48 public new IBenchmarkSuiteDataDescriptor Content 51 49 { 52 get { return ( Data)base.Content; }50 get { return (IBenchmarkSuiteDataDescriptor)base.Content; } 53 51 set 54 52 { … … 64 62 65 63 protected override void OnContentChanged() { 66 const string inputPrefix = "in_";67 const string outputPrefix = "out_";68 69 64 dataGridView.Columns.Clear(); 70 65 dataGridView.Rows.Clear();
Note: See TracChangeset
for help on using the changeset viewer.