Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/15/10 01:34:27 (14 years ago)
Author:
mkommend
Message:

implemented first version of View.ReadOnly and adapted some views to the new mechanism (ticket #973)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultCollectionView.cs

    r3274 r3350  
    3030  [Content(typeof(IObservableKeyedCollection<string, IResult>), false)]
    3131  public partial class ResultCollectionView : NamedItemCollectionView<IResult> {
     32    public override bool ReadOnly {
     33      get { return base.ReadOnly; }
     34      set { /*not needed because results are always readonly */}
     35    }
    3236    /// <summary>
    3337    /// Initializes a new instance of <see cref="VariablesScopeView"/> with caption "Variables Scope View".
     
    3741      Caption = "ResultCollection";
    3842      itemsGroupBox.Text = "Results";
     43      base.ReadOnly = true;
    3944    }
    4045    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.