Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Core.Views/3.3/ScopeListView.cs @ 2936

Last change on this file since 2936 was 2924, checked in by swagner, 14 years ago

Operator architecture refactoring (#95)

  • implemented reviewers' comments on version r2917.
File size: 1015 bytes
RevLine 
[2818]1using HeuristicLab.Collections;
[2655]2using HeuristicLab.MainForm;
3
4namespace HeuristicLab.Core.Views {
[2917]5  [View("ScopeList View")]
[2655]6  [Content(typeof(ScopeList), true)]
[2727]7  [Content(typeof(IObservableList<IScope>), false)]
[2687]8  public partial class ScopeListView : ItemListView<IScope> {
[2655]9    /// <summary>
10    /// Initializes a new instance of <see cref="VariablesScopeView"/> with caption "Variables Scope View".
11    /// </summary>
12    public ScopeListView() {
13      InitializeComponent();
14      Caption = "ScopeList";
[2924]15      itemsGroupBox.Text = "Scopes";
[2655]16    }
17    /// <summary>
18    /// Initializes a new instance of <see cref="VariablesScopeView"/> with
19    /// the given <paramref name="scope"/>.
20    /// </summary>
21    /// <remarks>Calls <see cref="VariablesScopeView()"/>.</remarks>
22    /// <param name="scope">The scope whose variables should be represented visually.</param>
[2727]23    public ScopeListView(IObservableList<IScope> content)
[2655]24      : this() {
[2727]25      Content = content;
[2655]26    }
27  }
28}
Note: See TracBrowser for help on using the repository browser.