Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsContent.cs @ 10367

Last change on this file since 10367 was 10367, checked in by rstoll, 11 years ago
  • modified PreprocessingData, uses columnIndex now instead of variableName (is faster and more convenient), set variabelName based methods to Obsolete
  • Already changed SearchLogic, DataGridLogic, StatisticLogic as well as PreprocessingDataManipulation

*

File size: 1.2 KB
Line 
1using HeuristicLab.Common;
2using HeuristicLab.Core;
3using System.Drawing;
4using System;
5using System.Collections.Generic;
6using System.Linq;
7using System.Text;
8
9namespace HeuristicLab.DataPreprocessing
10{
11  [Item("Statistics", "Represents the statistics grid.")]
12  public class StatisticsContent : Item
13  {
14
15    private readonly IStatisticsLogic statisticsLogic;
16    private readonly IDataGridLogic dataGridLogic;
17    public StatisticsContent(IStatisticsLogic theStatisticsLogic, IDataGridLogic theDataGridLogic)
18    {
19      statisticsLogic = theStatisticsLogic;
20      dataGridLogic = theDataGridLogic;
21    }
22
23    public StatisticsContent(StatisticsContent content, Cloner cloner)
24      : base(content, cloner)
25    {
26
27    }
28
29    public IStatisticsLogic StatisticsLogic
30    {
31      get { return statisticsLogic; }
32    }
33
34    public IDataGridLogic DataDridLogic {
35      get { return dataGridLogic; }
36    }
37
38    public static new Image StaticItemImage
39    {
40      get { return HeuristicLab.Common.Resources.VSImageLibrary.Statistics; }
41    }
42
43    public override IDeepCloneable Clone(Cloner cloner)
44    {
45      return new StatisticsContent(this, cloner);
46    }
47  }
48}
Note: See TracBrowser for help on using the repository browser.