- Timestamp:
- 11/19/15 12:02:40 (8 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 12983,12986,13252,13271
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing/3.4 merged: 12983,12986,13252
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4/Implementations/DataGridContent.cs
r12718 r13289 41 41 public IFilterLogic FilterLogic { get; private set; } 42 42 43 private IEnumerable<string> rowNames;44 45 43 public int Rows { 46 44 get { … … 72 70 public IEnumerable<string> RowNames { 73 71 get { 74 return rowNames;72 return Enumerable.Range(1, Rows).Select(n => n.ToString()); 75 73 } 76 74 set { 77 //not supported75 throw new NotSupportedException(); 78 76 } 79 77 } … … 84 82 } 85 83 set { 86 //not supported84 throw new NotSupportedException(); 87 85 } 88 86 } … … 103 101 FilterLogic = theFilterLogic; 104 102 PreProcessingData = preProcessingData; 105 createRowNames();106 103 } 107 104 … … 116 113 public void DeleteRows(IEnumerable<int> rows) { 117 114 PreProcessingData.DeleteRowsWithIndices(rows); 118 createRowNames();119 115 } 120 116 … … 133 129 public bool SetValue(string value, int rowIndex, int columnIndex) { 134 130 return PreProcessingData.SetValue(value, columnIndex, rowIndex); 135 }136 137 private void createRowNames() {138 rowNames = Enumerable.Range(1, Rows).Select(n => n.ToString());139 131 } 140 132
Note: See TracChangeset
for help on using the changeset viewer.