Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/11/13 16:47:11 (11 years ago)
Author:
sforsten
Message:

#2018:

  • renamed the structs and methods in IStringConvertibleMatrix
  • added MatrixValuesChangedEventArgs in IStringConvertibleMatrix
  • added methods SetValues(MatrixValues<T>) in ValueTypeMatrix
  • fixed bugs in StringConvertibleMatrixView: DataGridView has now at least one column and dataGridView_CellValidating does not set e.Cancel to true anymore.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ImprovingStringConvertibleMatrix/HeuristicLab.Analysis/3.3/DataVisualization/DataTable.cs

    r9286 r9306  
    245245      throw new NotSupportedException();
    246246    }
    247     bool IStringConvertibleMatrix.SetValue(RowColumnValue rowColumnValue) {
    248       throw new NotSupportedException();
    249     }
    250     bool IStringConvertibleMatrix.SetValue(IEnumerable<RowColumnValue> rowColumnValues) {
    251       throw new NotSupportedException();
    252     }
    253 
    254     public event EventHandler<EventArgs<IEnumerable<Position>>> ItemsChanged;
    255     protected virtual void OnItemsChanged(IEnumerable<Position> positions) {
     247    bool IStringConvertibleMatrix.SetValue(MatrixValue<string> rowColumnValue) {
     248      throw new NotSupportedException();
     249    }
     250    bool IStringConvertibleMatrix.SetValues(IEnumerable<MatrixValue<string>> rowColumnValues) {
     251      throw new NotSupportedException();
     252    }
     253
     254    public event EventHandler<MatrixValuesChangedEventArgs> ItemsChanged;
     255    protected virtual void OnItemsChanged(IEnumerable<MatrixPosition> positions) {
    256256      var handler = ItemsChanged;
    257       if (handler != null) handler(this, new EventArgs<IEnumerable<Position>>(positions));
     257      if (handler != null) handler(this, new MatrixValuesChangedEventArgs(positions));
    258258      OnToStringChanged();
    259259    }
Note: See TracChangeset for help on using the changeset viewer.