- Timestamp:
- 12/12/17 16:32:35 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing
- Property svn:mergeinfo changed
/branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing (added) merged: 15269-15270,15274,15283,15285,15291,15309,15431,15466,15489
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4 (added) merged: 15269-15270,15274,15283,15285,15291,15309,15431,15466,15489
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.DataPreprocessing/3.4/Content/StatisticsContent.cs
r15110 r15518 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 26 26 27 namespace HeuristicLab.DataPreprocessing { 27 28 [Item("Statistics", "Represents the statistics grid.")] 28 public class StatisticsContent : Item, IViewShortcut { 29 [StorableClass] 30 public class StatisticsContent : PreprocessingContent, IViewShortcut { 29 31 public static new Image StaticItemImage { 30 32 get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; } 31 33 } 32 34 33 public ITransactionalPreprocessingData PreprocessingData { get; private set; } 34 public StatisticsLogic StatisticsLogic { get; private set; } 35 36 public StatisticsContent(ITransactionalPreprocessingData preProcessingData, StatisticsLogic statisticsLogic) { 37 PreprocessingData = preProcessingData; 38 StatisticsLogic = statisticsLogic; 35 #region Constructor, Cloning & Persistence 36 public StatisticsContent(IFilteredPreprocessingData preprocessingData) 37 : base(preprocessingData) { 39 38 } 40 39 41 public StatisticsContent(StatisticsContent content, Cloner cloner)42 : base( content, cloner) {40 public StatisticsContent(StatisticsContent original, Cloner cloner) 41 : base(original, cloner) { 43 42 } 44 45 43 public override IDeepCloneable Clone(Cloner cloner) { 46 44 return new StatisticsContent(this, cloner); 47 45 } 48 46 47 [StorableConstructor] 48 protected StatisticsContent(bool deserializing) 49 : base(deserializing) { } 50 #endregion 51 49 52 public event DataPreprocessingChangedEventHandler Changed { 50 add { StatisticsLogic.Changed += value; }51 remove { StatisticsLogic.Changed -= value; }53 add { PreprocessingData.Changed += value; } 54 remove { PreprocessingData.Changed -= value; } 52 55 } 53 56 }
Note: See TracChangeset
for help on using the changeset viewer.