source: branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingDataTable.cs @ 10847

Last change on this file since 10847 was 10847, checked in by aesterer, 6 years ago

Added coloring feature for line chart

File size: 1007 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Analysis;
6using HeuristicLab.Collections;
7using HeuristicLab.Core;
8
9namespace HeuristicLab.DataPreprocessing.Implementations {
10
11  [Item("PreprossingDataTable", "A table of data values.")]
12  public class PreprocessingDataTable : DataTable {
13
14    public PreprocessingDataTable()
15      : base() {
16        SelectedRows = new NamedItemCollection<DataRow>();
17    }
18    public PreprocessingDataTable(string name)
19      : base(name) {
20        SelectedRows = new NamedItemCollection<DataRow>();
21    }
22
23    private NamedItemCollection<DataRow> selectedRows;
24    public NamedItemCollection<DataRow> SelectedRows {
25      get { return selectedRows; }
26      private set {
27        if (selectedRows != null) throw new InvalidOperationException("Rows already set");
28        selectedRows = value;
29        //if (selectedRows != null) RegisterSelectedRowEvents();
30      }
31    }
32
33  }
34}
Note: See TracBrowser for help on using the repository browser.