Free cookie consent management tool by TermsFeed Policy Generator

Changeset 12618


Ignore:
Timestamp:
07/06/15 18:32:51 (9 years ago)
Author:
abeham
Message:

#2338: Added readonly-collection as default view

Location:
trunk/sources/HeuristicLab.Core.Views/3.3
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/CheckedItemCollectionView.cs

    r12012 r12618  
    3232  [Content(typeof(ICheckedItemCollection<>), true)]
    3333  [Content(typeof(CheckedItemCollection<>), true)]
     34  [Content(typeof(ReadOnlyCheckedItemCollection<>), true)]
    3435  public partial class CheckedItemCollectionView<T> : ItemCollectionView<T> where T : class, IItem {
    3536    public new ICheckedItemCollection<T> Content {
  • trunk/sources/HeuristicLab.Core.Views/3.3/CheckedItemListView.cs

    r12012 r12618  
    3535  [Content(typeof(CheckedItemList<>), true)]
    3636  [Content(typeof(ICheckedItemList<>), true)]
     37  [Content(typeof(ReadOnlyCheckedItemList<>), true)]
    3738  public partial class CheckedItemListView<T> : ItemListView<T> where T : class, IItem {
    3839    public new ICheckedItemList<T> Content {
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs

    r12125 r12618  
    2828using HeuristicLab.Collections;
    2929using HeuristicLab.MainForm;
    30 using HeuristicLab.MainForm.WindowsForms;
    3130using HeuristicLab.PluginInfrastructure;
    3231
     
    3534  [Content(typeof(ItemArray<>), true)]
    3635  [Content(typeof(IItemArray<>), false)]
     36  [Content(typeof(ReadOnlyItemArray<>), true)]
    3737  public partial class ItemArrayView<T> : ItemView where T : class, IItem {
    3838    protected Dictionary<T, List<ListViewItem>> itemListViewItemMapping;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r12125 r12618  
    2929using HeuristicLab.Common;
    3030using HeuristicLab.MainForm;
    31 using HeuristicLab.MainForm.WindowsForms;
    3231using HeuristicLab.PluginInfrastructure;
    3332
     
    3635  [Content(typeof(ItemCollection<>), true)]
    3736  [Content(typeof(IItemCollection<>), false)]
     37  [Content(typeof(ReadOnlyItemCollection<>), true)]
    3838  public partial class ItemCollectionView<T> : ItemView where T : class, IItem {
    3939    protected Dictionary<T, List<ListViewItem>> itemListViewItemMapping;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r12125 r12618  
    3030using HeuristicLab.Common;
    3131using HeuristicLab.MainForm;
    32 using HeuristicLab.MainForm.WindowsForms;
    3332using HeuristicLab.PluginInfrastructure;
    3433
     
    3736  [Content(typeof(ItemList<>), true)]
    3837  [Content(typeof(IItemList<>), false)]
     38  [Content(typeof(ReadOnlyItemList<>), true)]
    3939  public partial class ItemListView<T> : ItemView where T : class, IItem {
    4040    protected Dictionary<T, List<ListViewItem>> itemListViewItemMapping;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemSetView.cs

    r12012 r12618  
    2828  [Content(typeof(ItemSet<>), true)]
    2929  [Content(typeof(IItemSet<>), false)]
     30  [Content(typeof(ReadOnlyItemSet<>), true)]
    3031  public partial class ItemSetView<T> : ItemCollectionView<T> where T : class, IItem {
    3132    protected bool draggedItemsAlreadyContained;
Note: See TracChangeset for help on using the changeset viewer.