Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10533


Ignore:
Timestamp:
03/05/14 13:10:36 (10 years ago)
Author:
sbreuer
Message:
  • call OnContentChanged after every action in context menu
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataGridContentView.cs

    r10380 r10533  
    8080
    8181    private void ReplaceWithAverage_Click(object sender, EventArgs e) {
    82       var asdf = new List<int>() { lastClickedRow };
    8382      Content.PreprocessingDataManipulation.ReplaceIndicesByAverageValue(lastClickedColumn, new List<int>() { lastClickedRow });
     83      OnContentChanged();
    8484    }
    8585
    8686    private void ReplaceWithMedian_Click(object sender, EventArgs e) {
    8787      Content.PreprocessingDataManipulation.ReplaceIndicesByMedianValue(lastClickedColumn, new List<int>() { lastClickedRow });
     88      OnContentChanged();
    8889    }
    8990
    9091    private void ReplaceWithRandom_Click(object sender, EventArgs e) {
    9192      Content.PreprocessingDataManipulation.ReplaceIndicesByRandomValue(lastClickedColumn, new List<int>() { lastClickedRow });
     93      OnContentChanged();
    9294    }
    9395
    9496    private void ReplaceWithMostCommon_Click(object sender, EventArgs e) {
    9597      Content.PreprocessingDataManipulation.ReplaceIndicesByMostCommonValue(lastClickedColumn, new List<int>() { lastClickedRow });
     98      OnContentChanged();
    9699    }
    97100
    98101    private void ReplaceWithInterpolation_Click(object sender, EventArgs e) {
    99102      Content.PreprocessingDataManipulation.ReplaceIndicesByLinearInterpolationOfNeighbours(lastClickedColumn, new List<int>() { lastClickedRow });
     103      OnContentChanged();
    100104    }
    101105  }
Note: See TracChangeset for help on using the changeset viewer.