Last change
on this file since 3456 was
3393,
checked in by swagner, 14 years ago
|
Changed items and views according to the refactoring of HeuristicLab.Collections (#977)
|
File size:
1003 bytes
|
Line | |
---|
1 | using HeuristicLab.Collections;
|
---|
2 | using HeuristicLab.MainForm;
|
---|
3 |
|
---|
4 | namespace HeuristicLab.Core.Views {
|
---|
5 | [View("ScopeList View")]
|
---|
6 | [Content(typeof(ScopeList), true)]
|
---|
7 | [Content(typeof(IItemList<IScope>), false)]
|
---|
8 | public partial class ScopeListView : ItemListView<IScope> {
|
---|
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";
|
---|
15 | itemsGroupBox.Text = "Scopes";
|
---|
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>
|
---|
23 | public ScopeListView(IItemList<IScope> content)
|
---|
24 | : this() {
|
---|
25 | Content = content;
|
---|
26 | }
|
---|
27 | }
|
---|
28 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.