Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/18/17 12:29:59 (7 years ago)
Author:
pfleck
Message:

#2709

  • Fixed initial selection of the grouping text box (empty string instead of null to select the first entry).
  • General code fixes (removed unnessecary bank lines and code, class member order, ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Content/StatisticsContent.cs

    r14545 r14996  
    2727  [Item("Statistics", "Represents the statistics grid.")]
    2828  public class StatisticsContent : Item, IViewShortcut {
     29    public static new Image StaticItemImage {
     30      get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; }
     31    }
     32
    2933    public ITransactionalPreprocessingData PreprocessingData { get; private set; }
     34    public StatisticsLogic StatisticsLogic { get; private set; }
    3035
    31     private readonly StatisticsLogic statisticsLogic;
    32     public StatisticsContent(ITransactionalPreprocessingData preProcessingData, StatisticsLogic theStatisticsLogic) {
     36    public StatisticsContent(ITransactionalPreprocessingData preProcessingData, StatisticsLogic statisticsLogic) {
    3337      PreprocessingData = preProcessingData;
    34       statisticsLogic = theStatisticsLogic;
     38      StatisticsLogic = statisticsLogic;
    3539    }
    3640
    3741    public StatisticsContent(StatisticsContent content, Cloner cloner)
    3842      : base(content, cloner) {
    39 
    40     }
    41 
    42     public StatisticsLogic StatisticsLogic {
    43       get { return statisticsLogic; }
    44     }
    45 
    46     public static new Image StaticItemImage {
    47       get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; }
    4843    }
    4944
     
    5348
    5449    public event DataPreprocessingChangedEventHandler Changed {
    55       add { statisticsLogic.Changed += value; }
    56       remove { statisticsLogic.Changed -= value; }
     50      add { StatisticsLogic.Changed += value; }
     51      remove { StatisticsLogic.Changed -= value; }
    5752    }
    58 
    5953  }
    6054}
Note: See TracChangeset for help on using the changeset viewer.