Changeset 10243 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs
- Timestamp:
- 12/18/13 14:39:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs
r10239 r10243 45 45 } 46 46 set { 47 throw new NotImplementedException();47 //does nothing, use something else :P 48 48 } 49 49 } … … 54 54 } 55 55 set { 56 throw new NotImplementedException();56 //does nothing, use something else :P 57 57 } 58 58 } … … 63 63 } 64 64 set { 65 throw new NotImplementedException();65 //not supported 66 66 } 67 67 } … … 72 72 } 73 73 set { 74 throw new NotImplementedException();74 //not supported 75 75 } 76 76 } … … 81 81 } 82 82 set { 83 throw new NotImplementedException();83 //not supported 84 84 } 85 85 } … … 99 99 } 100 100 bool valid = false; 101 string variableName = preprocessingData. VariableNames[columnIndex];101 string variableName = preprocessingData.GetVariableName(columnIndex); 102 102 if (preprocessingData.IsType<double>(variableName)) { 103 103 double val; … … 128 128 129 129 public string GetValue(int rowIndex, int columnIndex) { 130 return preprocessingData.GetCellAsString(preprocessingData. VariableNames[columnIndex], rowIndex);130 return preprocessingData.GetCellAsString(preprocessingData.GetVariableName(columnIndex), rowIndex); 131 131 } 132 132 133 133 public bool SetValue(string value, int rowIndex, int columnIndex) { 134 string variableName = preprocessingData. VariableNames[columnIndex];134 string variableName = preprocessingData.GetVariableName(columnIndex); 135 135 bool valid = false; 136 136 if (preprocessingData.IsType<double>(variableName)) {
Note: See TracChangeset
for help on using the changeset viewer.