Changeset 14996 for branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Content/StatisticsContent.cs
- Timestamp:
- 05/18/17 12:29:59 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Content/StatisticsContent.cs
r14545 r14996 27 27 [Item("Statistics", "Represents the statistics grid.")] 28 28 public class StatisticsContent : Item, IViewShortcut { 29 public static new Image StaticItemImage { 30 get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; } 31 } 32 29 33 public ITransactionalPreprocessingData PreprocessingData { get; private set; } 34 public StatisticsLogic StatisticsLogic { get; private set; } 30 35 31 private readonly StatisticsLogic statisticsLogic; 32 public StatisticsContent(ITransactionalPreprocessingData preProcessingData, StatisticsLogic theStatisticsLogic) { 36 public StatisticsContent(ITransactionalPreprocessingData preProcessingData, StatisticsLogic statisticsLogic) { 33 37 PreprocessingData = preProcessingData; 34 statisticsLogic = theStatisticsLogic;38 StatisticsLogic = statisticsLogic; 35 39 } 36 40 37 41 public StatisticsContent(StatisticsContent content, Cloner cloner) 38 42 : 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; }48 43 } 49 44 … … 53 48 54 49 public event DataPreprocessingChangedEventHandler Changed { 55 add { statisticsLogic.Changed += value; }56 remove { statisticsLogic.Changed -= value; }50 add { StatisticsLogic.Changed += value; } 51 remove { StatisticsLogic.Changed -= value; } 57 52 } 58 59 53 } 60 54 }
Note: See TracChangeset
for help on using the changeset viewer.