Changeset 11002 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
- Timestamp:
- 06/11/14 15:43:05 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r11000 r11002 140 140 protected override void dataGridView_SelectionChanged(object sender, EventArgs e) { 141 141 base.dataGridView_SelectionChanged(sender, e); 142 Content. DataGridLogic.SetSelection(GetSelectedCells());142 Content.Selection = GetSelectedCells(); 143 143 } 144 144 … … 150 150 errorMessage = "A filter is active, you cannot modify data. Press ESC to exit edit mode."; 151 151 } else { 152 Content. DataGridLogic.Validate(e.FormattedValue.ToString(), out errorMessage, e.ColumnIndex);152 Content.Validate(e.FormattedValue.ToString(), out errorMessage, e.ColumnIndex); 153 153 } 154 154 … … 329 329 ResumeRepaint(true); 330 330 isSearching = false; 331 Content. DataGridLogic.SetSelection(selectedCells);331 Content.Selection = selectedCells; 332 332 //update statistic in base 333 333 base.dataGridView_SelectionChanged(sender, e); … … 489 489 medianToolStripMenuItem_Selection.Enabled = 490 490 randomToolStripMenuItem_Column.Enabled = 491 randomToolStripMenuItem_Selection.Enabled = !Content. DataGridLogic.AreAllStringColumns(columnIndices);491 randomToolStripMenuItem_Selection.Enabled = !Content.PreProcessingData.AreAllStringColumns(columnIndices); 492 492 493 493 smoothingToolStripMenuItem_Column.Enabled = 494 494 interpolationToolStripMenuItem_Column.Enabled = !dataGridView.SelectedCells.Contains(dataGridView[e.ColumnIndex, 0]) 495 495 && !dataGridView.SelectedCells.Contains(dataGridView[e.ColumnIndex, Content.Rows - 1]) 496 && !Content. DataGridLogic.AreAllStringColumns(columnIndices);496 && !Content.PreProcessingData.AreAllStringColumns(columnIndices); 497 497 498 498 replaceValueOverColumnToolStripMenuItem.Visible = true; … … 544 544 } 545 545 triggersOwnEvent(() => { 546 Content.D ataGridLogic.DeleteRow(rows);546 Content.DeleteRow(rows); 547 547 OnContentChanged(); 548 548 });
Note: See TracChangeset
for help on using the changeset viewer.