Changeset 10998
- Timestamp:
- 06/11/14 15:25:24 (10 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/CheckedTransformationListView.cs
r10977 r10998 62 62 } 63 63 return null; 64 } 64 } 65 65 66 66 private bool CanInstanciateTransformation(Type type) { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/ComparisonFilterView.cs
r10947 r10998 72 72 if (Content.ConstrainedValue != null) { 73 73 this.cbAttr.Items.AddRange(Content.ConstrainedValue.VariableNames.ToArray<string>()); 74 //if (!string.IsNullOrEmpty(Content.ConstraintColumn))75 74 this.cbAttr.SelectedItem = this.cbAttr.Items[Content.ConstraintColumn]; 76 77 //if (Content.ConstraintColumn != null)78 //{79 75 cbAttr.SelectedItem = Content.ConstraintColumn; 80 76 if (Content.ConstraintData != null) … … 82 78 else 83 79 this.Content_ConstraintColumnChanged(cbAttr, EventArgs.Empty); 84 //}85 80 } 86 81 } … … 134 129 protected override void SetEnabledStateOfControls() { 135 130 base.SetEnabledStateOfControls(); 136 /*137 cbAttr.Enabled = !this.ReadOnly && Content != null;138 cbFilterOperation.Enabled = !this.ReadOnly && Content != null;139 tbFilterData.Enabled = Content != null;140 tbFilterData.ReadOnly = ReadOnly;141 * */142 131 cbAttr.Enabled = Content != null && !Content.Active; 143 132 cbFilterOperation.Enabled = Content != null && !Content.Active; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataCompletenessView.cs
r10981 r10998 43 43 } 44 44 45 46 45 private void InitData() 47 46 { … … 84 83 chart.ChartAreas[0].AxisY.IsReversed = true; 85 84 } 86 87 88 85 89 86 private void CreateSeries(List<List<int>> yValuesPerColumn) -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataGridContentView.cs
r10997 r10998 535 535 e.CellBounds.Bottom); 536 536 } 537 538 537 e.PaintContent(e.CellBounds); 539 538 e.Handled = true; … … 665 664 #endregion 666 665 667 668 666 } 669 667 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/DataPreprocessingView.cs
r10992 r10998 32 32 [Content(typeof(IPreprocessingContext), false)] 33 33 public partial class DataPreprocessingView : ItemView { 34 34 35 public DataPreprocessingView() { 35 36 InitializeComponent(); -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/FilterView.cs
r10979 r10998 57 57 58 58 private void UpdateFilterInfo() { 59 //List<IFilter> filters = checkedFilterView.ItemCollection.ToList<IFilter>();60 59 List<IFilter> filters = Content.Filters.ToList(); 61 62 60 int activeFilters = filters.Count(c => c.Active); 63 64 61 applyFilterButton.Enabled = (activeFilters > 0); 65 62 rBtnAnd.Enabled = (activeFilters > 0); 66 63 rBtnOr.Enabled = (activeFilters > 0); 67 //btnReset.Enabled = (activeFilters > 0);68 64 Content.FilterLogic.Reset(); 69 65 bool[] result = Content.FilterLogic.Preview(filters, rBtnAnd.Checked); … … 121 117 } 122 118 123 /*124 private void btnReset_Click(object sender, EventArgs e)125 {126 if (Content != null)127 {128 Content.FilterLogic.Reset();129 }130 }131 * */132 133 119 } 134 120 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/PreprocessingScatterPlotView.cs
r10952 r10998 462 462 if (chartDoubleClick != null) 463 463 chartDoubleClick(this, e); 464 } 464 } 465 465 } 466 466 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/ScatterPlotSingleView.cs
r10992 r10998 13 13 public partial class ScatterPlotSingleView : ItemView { 14 14 15 public ScatterPlotSingleView() {16 InitializeComponent();17 }18 19 15 public new ScatterPlotContent Content { 20 16 get { return (ScatterPlotContent)base.Content; } 21 17 set { base.Content = value; } 18 } 19 20 public ScatterPlotSingleView() 21 { 22 InitializeComponent(); 22 23 } 23 24 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/TransformationView.cs
r10977 r10998 33 33 public partial class TransformationView : AsynchronousContentView { 34 34 35 public new TransformationContent Content 36 { 37 get { return (TransformationContent)base.Content; } 38 set { base.Content = value; } 39 } 40 35 41 public TransformationView() { 36 42 InitializeComponent(); 37 }38 39 public new TransformationContent Content {40 get { return (TransformationContent)base.Content; }41 set { base.Content = value; }42 43 } 43 44 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/Utils/FindPreprocessingItemsIterator.cs
r10873 r10998 26 26 namespace HeuristicLab.DataPreprocessing.Views { 27 27 class FindPreprocessingItemsIterator : IFindPreprocessingItemsIterator { 28 28 29 private IDictionary<int, IList<int>> items; 29 30 private Tuple<int, int> currentCell; … … 31 32 public FindPreprocessingItemsIterator(IDictionary<int, IList<int>> items) { 32 33 this.items = items; 33 Reset(); 34 Reset(); 34 35 } 35 36 36 37 37 public void SetStartCell(int columnIndex, int rowIndex) { -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.4/Utils/IFindPreprocessingItemsIterator.cs
r10852 r10998 27 27 bool MoveNext(); 28 28 void Reset(); 29 void SetStartCell(int columnIndex, int rowIndex); 29 void SetStartCell(int columnIndex, int rowIndex); 30 30 } 31 31 }
Note: See TracChangeset
for help on using the changeset viewer.