Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 10803 was 10803, checked in by aesterer, 10 years ago

Added coloring selection feature to line chart

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