Free cookie consent management tool by TermsFeed Policy Generator

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

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

Operator architecture refactoring (#95)

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