Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/26/14 10:52:55 (11 years ago)
Author:
aesterer
Message:

Created base view PreprocessingChartView for LineChartView and HistogramView. Replaced HistogramLogic and LineChartlogic with ChartLogic. Added base content ChartContent for LineChartContent and HistogramContent.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingChartContent.cs

    r10633 r10658  
    2525
    2626namespace 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 {
    2929
    30     private readonly ILineChartLogic lineChartLogic;
    31     public LineChartContent(ILineChartLogic theLineChartLogic) {
    32       lineChartLogic = theLineChartLogic;
     30    private readonly IChartLogic chartLogic;
     31    public PreprocessingChartContent(IChartLogic chartLogic) {
     32      this.chartLogic = chartLogic;
    3333    }
    3434
    35     public LineChartContent(LineChartContent content, Cloner cloner)
     35    public PreprocessingChartContent(PreprocessingChartContent content, Cloner cloner)
    3636      : base(content, cloner) {
    37 
    3837    }
    3938
    40     public ILineChartLogic LineChartLogic {
     39    public IChartLogic ChartLogic {
    4140      get {
    42         return lineChartLogic;
     41        return chartLogic;
    4342      }
    4443    }
     
    4948
    5049    public override IDeepCloneable Clone(Cloner cloner) {
    51       return new LineChartContent(this, cloner);
     50      return new PreprocessingChartContent(this, cloner);
    5251    }
    5352
    5453    public event DataPreprocessingChangedEventHandler Changed {
    55       add { lineChartLogic.Changed += value; }
    56       remove { lineChartLogic.Changed -= value; }
     54      add { chartLogic.Changed += value; }
     55      remove { chartLogic.Changed -= value; }
    5756    }
    5857  }
Note: See TracChangeset for help on using the changeset viewer.