Changeset 10658 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingChartContent.cs
- Timestamp:
- 03/26/14 10:52:55 (11 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingChartContent.cs
r10633 r10658 25 25 26 26 namespace HeuristicLab.DataPreprocessing { 27 [Item(" LineChart", "Represents the line chart grid.")]28 public class LineChartContent : Item, IViewShortcut {27 [Item("PreprocessingChart", "Represents a preprocessing chart.")] 28 public class PreprocessingChartContent : Item, IViewShortcut { 29 29 30 private readonly I LineChartLogic lineChartLogic;31 public LineChartContent(ILineChartLogic theLineChartLogic) {32 lineChartLogic = theLineChartLogic;30 private readonly IChartLogic chartLogic; 31 public PreprocessingChartContent(IChartLogic chartLogic) { 32 this.chartLogic = chartLogic; 33 33 } 34 34 35 public LineChartContent(LineChartContent content, Cloner cloner)35 public PreprocessingChartContent(PreprocessingChartContent content, Cloner cloner) 36 36 : base(content, cloner) { 37 38 37 } 39 38 40 public I LineChartLogic LineChartLogic {39 public IChartLogic ChartLogic { 41 40 get { 42 return lineChartLogic;41 return chartLogic; 43 42 } 44 43 } … … 49 48 50 49 public override IDeepCloneable Clone(Cloner cloner) { 51 return new LineChartContent(this, cloner);50 return new PreprocessingChartContent(this, cloner); 52 51 } 53 52 54 53 public event DataPreprocessingChangedEventHandler Changed { 55 add { lineChartLogic.Changed += value; }56 remove { lineChartLogic.Changed -= value; }54 add { chartLogic.Changed += value; } 55 remove { chartLogic.Changed -= value; } 57 56 } 58 57 }
Note: See TracChangeset
for help on using the changeset viewer.