Changeset 10617
- Timestamp:
- 03/19/14 12:50:33 (11 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs
r10614 r10617 37 37 public new IPreprocessingContext Content { 38 38 get { return (IPreprocessingContext)base.Content; } 39 set { 40 base.Content = value; 41 } 39 set { base.Content = value; } 42 40 } 43 41 … … 45 43 base.OnContentChanged(); 46 44 if (Content != null) { 47 viewShortcutCollectionView.Content = Content.ViewShortcuts; 45 var data = Content.Data; 46 var searchLogic = new SearchLogic(data); 47 var dataGridLogic = new DataGridLogic(data); 48 var statisticsLogic = new StatisticsLogic(data, searchLogic); 49 var manipulationLogic = new ManipulationLogic(data, searchLogic, statisticsLogic); 50 var transformationLogic = new TransformationLogic(data, searchLogic, statisticsLogic); 51 var lineChartLogic = new LineChartLogic(data); 52 var histogramLogic = new HistogramLogic(data); 53 var filterLogic = new FilterLogic(); 54 55 viewShortcutCollectionView.Content = new ViewShortcutCollection { 56 new DataGridContent(dataGridLogic, manipulationLogic), 57 new StatisticsContent(statisticsLogic), 58 new FilterContent(filterLogic), 59 new TransformationContent(transformationLogic), 60 new LineChartContent(lineChartLogic), 61 new HistogramContent(histogramLogic) 62 }; 48 63 } else { 49 64 viewShortcutCollectionView.Content = null; -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/PreprocessingContext.cs
r10614 r10617 33 33 public ITransactionalPreprocessingData Data { get; private set; } 34 34 35 public ViewShortcutCollection ViewShortcuts { get; private set; }36 37 35 public IDataAnalysisProblemData DataAnalysisProblemData { get; private set; } 38 36 … … 46 44 Algorithm = algorithm; 47 45 Problem = problem; 48 49 var searchLogic = new SearchLogic(Data);50 var dataGridLogic = new DataGridLogic(Data);51 var statisticsLogic = new StatisticsLogic(Data, searchLogic);52 var manipulationLogic = new ManipulationLogic(Data, searchLogic, statisticsLogic);53 var transformationLogic = new TransformationLogic(Data, searchLogic, statisticsLogic);54 var lineChartLogic = new LineChartLogic(Data);55 var histogramLogic = new HistogramLogic(Data);56 var filterLogic = new FilterLogic();57 58 ViewShortcuts = new ViewShortcutCollection {59 new DataGridContent(dataGridLogic, manipulationLogic),60 new StatisticsContent(statisticsLogic),61 new FilterContent(filterLogic),62 new TransformationContent(transformationLogic),63 new LineChartContent(lineChartLogic),64 new HistogramContent(histogramLogic)65 };66 46 } 67 47 -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingContext.cs
r10614 r10617 31 31 ITransactionalPreprocessingData Data { get; } 32 32 33 ViewShortcutCollection ViewShortcuts { get; }34 35 33 [Obsolete] 36 34 IDataAnalysisProblemData DataAnalysisProblemData { get; }
Note: See TracChangeset
for help on using the changeset viewer.