Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/14 14:08:53 (10 years ago)
Author:
pfleck
Message:
  • replaced ViewShortcutCollection with ItemCollection<IViewShortcut> for readonly compatibility.
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs

    r10620 r10625  
    2323using System.Windows.Forms;
    2424using HeuristicLab.Common;
     25using HeuristicLab.Core;
    2526using HeuristicLab.Core.Views;
    2627using HeuristicLab.MainForm;
     
    5354        var filterLogic = new FilterLogic(data);
    5455
    55         viewShortcutCollectionView.Content = new ViewShortcutCollection {
     56        var viewShortcuts = new ItemCollection<IViewShortcut>() {
    5657          new DataGridContent(dataGridLogic, manipulationLogic),
    5758          new StatisticsContent(statisticsLogic),
     
    6162          new HistogramContent(histogramLogic)
    6263        };
     64
     65        viewShortcutCollectionView.Content = viewShortcuts.AsReadOnly();
    6366      } else {
    6467        viewShortcutCollectionView.Content = null;
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.designer.cs

    r10614 r10625  
    9696      this.viewShortcutCollectionView.Location = new System.Drawing.Point(4, 33);
    9797      this.viewShortcutCollectionView.Name = "viewShortcutCollectionView";
    98       this.viewShortcutCollectionView.ReadOnly = true;
     98      this.viewShortcutCollectionView.ReadOnly = false;
    9999      this.viewShortcutCollectionView.ShowDetails = true;
    100100      this.viewShortcutCollectionView.Size = new System.Drawing.Size(831, 413);
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ViewShortcutCollectionView.cs

    r10614 r10625  
    2121
    2222
     23using HeuristicLab.Core;
    2324using HeuristicLab.Core.Views;
    2425using HeuristicLab.MainForm;
     
    2627namespace HeuristicLab.DataPreprocessing.Views {
    2728  [View("ViewShortcutCollection View")]
    28   [Content(typeof(ViewShortcutCollection), true)]
     29  [Content(typeof(IItemCollection<IViewShortcut>), true)]
    2930  public partial class ViewShortcutCollectionView : ItemCollectionView<IViewShortcut> {
    3031
Note: See TracChangeset for help on using the changeset viewer.