Changeset 10258
- Timestamp:
- 12/18/13 16:53:20 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Views/DataPreprocessingView.cs
r10256 r10258 22 22 public DataPreprocessingView() { 23 23 InitializeComponent(); 24 25 InitializeContents(); 26 24 b 27 25 } 28 26 27 28 protected override void OnContentChanged() { 29 base.OnContentChanged(); 30 InitializeContents(); 31 } 29 32 30 33 private ListViewItem CreateListViewItem(IItem item) { … … 40 43 41 44 private void InitializeContents() { 42 IPreprocessingData data = Content != null ? this.Content.Data : null;45 IPreprocessingData data = Content.Data; 43 46 ISearchLogic searchLogic = new SearchLogic(data); 44 47 dataGridContent = new DataGridContent(new DataGridLogic(data), new PreprocessingDataManipulation(data, searchLogic, new StatisticsLogic(data, searchLogic))); … … 53 56 public new PreprocessingContext Content { 54 57 get { return (PreprocessingContext)base.Content; } 55 set { base.Content = value; } 58 set { 59 base.Content = value; 60 } 56 61 } 57 62
Note: See TracChangeset
for help on using the changeset viewer.