Changeset 11156 for trunk/sources/HeuristicLab.DataPreprocessing.Views
- Timestamp:
- 07/09/14 10:37:01 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/ComparisonFilterView.cs
r10998 r11156 158 158 private IStringConvertibleValue CreateStringConvertibleValue(int columnIndex) { 159 159 IStringConvertibleValue value; 160 if (Content.ConstrainedValue. IsType<double>(columnIndex)) {160 if (Content.ConstrainedValue.VariableHasType<double>(columnIndex)) { 161 161 value = new DoubleValue(); 162 } else if (Content.ConstrainedValue. IsType<String>(columnIndex)) {162 } else if (Content.ConstrainedValue.VariableHasType<String>(columnIndex)) { 163 163 value = new StringValue(); 164 } else if (Content.ConstrainedValue. IsType<DateTime>(columnIndex)) {164 } else if (Content.ConstrainedValue.VariableHasType<DateTime>(columnIndex)) { 165 165 value = new DateTimeValue(); 166 166 } else { -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r11098 r11156 358 358 IPreprocessingData preprocessingData = Content.FilterLogic.PreprocessingData; 359 359 IStringConvertibleValue value; 360 if (preprocessingData. IsType<double>(columnIndex)) {360 if (preprocessingData.VariableHasType<double>(columnIndex)) { 361 361 value = new DoubleValue(); 362 } else if (preprocessingData. IsType<String>(columnIndex)) {362 } else if (preprocessingData.VariableHasType<String>(columnIndex)) { 363 363 value = new StringValue(); 364 } else if (preprocessingData. IsType<DateTime>(columnIndex)) {364 } else if (preprocessingData.VariableHasType<DateTime>(columnIndex)) { 365 365 value = new DateTimeValue(); 366 366 } else { -
trunk/sources/HeuristicLab.DataPreprocessing.Views/3.4/StatisticsView.cs
r10971 r11156 124 124 List<string> list; 125 125 var logic = Content.StatisticsLogic; 126 if (logic. IsType<double>(i)) {126 if (logic.VariableHasType<double>(i)) { 127 127 list = GetDoubleColumns(i); 128 } else if (logic. IsType<string>(i)) {128 } else if (logic.VariableHasType<string>(i)) { 129 129 list = GetStringColumns(i); 130 } else if (logic. IsType<DateTime>(i)) {130 } else if (logic.VariableHasType<DateTime>(i)) { 131 131 list = GetDateTimeColumns(i); 132 132 } else {
Note: See TracChangeset
for help on using the changeset viewer.