Changeset 10817


Ignore:
Timestamp:
05/07/14 14:42:25 (6 years ago)
Author:
sbreuer
Message:
  • added default case to changed event listeners
Location:
branches/DataPreprocessing
Files:
4 edited

Legend:

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

    r10812 r10817  
    111111      if (notOwnEvent) {
    112112        switch (e.Type) {
    113           case DataPreprocessingChangedEventType.AddColumn:
    114           case DataPreprocessingChangedEventType.AddRow:
    115           case DataPreprocessingChangedEventType.DeleteColumn:
    116           case DataPreprocessingChangedEventType.DeleteRow:
    117           case DataPreprocessingChangedEventType.Any:
    118             OnContentChanged();
    119             break;
    120113          case DataPreprocessingChangedEventType.ChangeColumn:
    121114          case DataPreprocessingChangedEventType.ChangeItem:
    122115            dataGridView.Refresh();
     116            break;
     117          default:
     118            OnContentChanged();
    123119            break;
    124120        }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/PreprocessingChartView.cs

    r10804 r10817  
    165165        case DataPreprocessingChangedEventType.AddRow:
    166166        case DataPreprocessingChangedEventType.Any:
     167        default:
    167168          InitData();
    168169          GenerateChart();
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/StatisticsView.cs

    r10811 r10817  
    204204        case DataPreprocessingChangedEventType.DeleteRow:
    205205        case DataPreprocessingChangedEventType.AddRow:
     206        default:
    206207          for (int i = 0; i < columnsRowsMatrix.Count; ++i) {
    207208            columnsRowsMatrix[i] = GetList(e.Column);
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/SearchLogic.cs

    r10809 r10817  
    5757        case DataPreprocessingChangedEventType.Any:
    5858        case DataPreprocessingChangedEventType.Transformation:
     59        default:
    5960          MissingValueIndicies = new Dictionary<int, IList<int>>();
    6061          ValuesWithoutNaN = new Dictionary<int, IList>();
Note: See TracChangeset for help on using the changeset viewer.