Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/21/08 00:44:45 (16 years ago)
Author:
mstoeger
Message:

changed interface between model and view to support full and partial updates as decided in the last meeting (#316)

  • model.Columns property provides access to all values contained within the model for full updates
  • model.DataChanged event notifies the view of partial updates
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization/ChartDataRowsModel.cs

    r685 r697  
    77
    88namespace HeuristicLab.Visualization{
    9   public class ChartDataRowsModel : ChartDataModelBase, IChartDataRowsModel{
     9  public class ChartDataRowsModel : ChartDataModelBase, IChartDataRowsModel {
    1010
    1111    private readonly ListDictionary dataRows;
     
    2727    }
    2828
    29     public event ChartDataRowsModelDataChangedHandler DataChanged;
     29    public event ChartDataRowsModelColumnChangedHandler ColumnChanged;
     30
     31    private void RaiseColumnChanged(ChangeType type, long columnId, double[] values) {
     32      if (ColumnChanged != null) {
     33        ColumnChanged(type, columnId, values);
     34      }
     35    }
     36
     37    public List<ChartDataRowsModelColumn> Columns {
     38      get { throw new NotImplementedException(); }
     39    }
    3040  }
    3141}
Note: See TracChangeset for help on using the changeset viewer.