Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/18/13 14:39:44 (11 years ago)
Author:
rstoll
Message:
  • removed NotImplementedException in property Rows since it is invoked by an event
  • set fields number of columns / rows to read only
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs

    r10239 r10243  
    4545      }
    4646      set {
    47         throw new NotImplementedException();
     47        //does nothing, use something else :P
    4848      }
    4949    }
     
    5454      }
    5555      set {
    56         throw new NotImplementedException();
     56        //does nothing, use something else :P
    5757      }
    5858    }
     
    6363      }
    6464      set {
    65         throw new NotImplementedException();
     65        //not supported
    6666      }
    6767    }
     
    7272      }
    7373      set {
    74         throw new NotImplementedException();
     74        //not supported
    7575      }
    7676    }
     
    8181      }
    8282      set {
    83         throw new NotImplementedException();
     83        //not supported
    8484      }
    8585    }
     
    9999      }
    100100      bool valid = false;
    101       string variableName = preprocessingData.VariableNames[columnIndex];
     101      string variableName = preprocessingData.GetVariableName(columnIndex);
    102102      if (preprocessingData.IsType<double>(variableName)) {
    103103        double val;
     
    128128
    129129    public string GetValue(int rowIndex, int columnIndex) {
    130       return preprocessingData.GetCellAsString(preprocessingData.VariableNames[columnIndex], rowIndex);
     130      return preprocessingData.GetCellAsString(preprocessingData.GetVariableName(columnIndex), rowIndex);
    131131    }
    132132
    133133    public bool SetValue(string value, int rowIndex, int columnIndex) {
    134       string variableName = preprocessingData.VariableNames[columnIndex];
     134      string variableName = preprocessingData.GetVariableName(columnIndex);
    135135      bool valid = false;
    136136      if (preprocessingData.IsType<double>(variableName)) {
Note: See TracChangeset for help on using the changeset viewer.