Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/23/12 10:07:48 (12 years ago)
Author:
sforsten
Message:

#1292:

  • removed combo box in TimeframeCorrelationView and added a textbox instead
  • caches are directly in (Timeframe-)FeatureCorrelationView
  • caches use Tuple<> instead of nested dictionaries
  • a control EnhancedStringConvertibleMatrix inherits from StringConvertibleMatrixView to reduce code duplication
  • add interface IDependencyCalculator to several calculators
  • fixed bug: a previous started calculation is cancelled, if a new calculation shall be started and the values are already in the cache
  • fixed bug: if the content is changed, the calculation is cancelled

HeatMap is still used for the dependency representation, because a class is needed which implements IStringConvertibleMatrix and it has a maximum and minimum value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r8139 r8833  
    3535  [Content(typeof(IStringConvertibleMatrix), true)]
    3636  public partial class StringConvertibleMatrixView : AsynchronousContentView {
    37     private int[] virtualRowIndices;
     37    protected int[] virtualRowIndices;
    3838    private List<KeyValuePair<int, SortOrder>> sortedColumnIndices;
    3939    private RowComparer rowComparer;
     
    171171      }
    172172    }
    173     protected void UpdateRowHeaders() {
     173    protected virtual void UpdateRowHeaders() {
    174174      int index = dataGridView.FirstDisplayedScrollingRowIndex;
    175175      if (index == -1) index = 0;
     
    509509        contextMenu.Show(MousePosition);
    510510    }
    511     private void ShowHideColumns_Click(object sender, EventArgs e) {
    512       new ColumnsVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
     511    protected virtual void ShowHideColumns_Click(object sender, EventArgs e) {
     512      new StringConvertibleMatrixColumnVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
    513513    }
    514514
Note: See TracChangeset for help on using the changeset viewer.