Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/JobItemListView.cs @ 4170

Last change on this file since 4170 was 4170, checked in by cneumuel, 14 years ago

refactoring of Result-Polling of HiveExperiment, polling is now much faster and code is cleaner (1092#)

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Drawing;
5using System.Data;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using HeuristicLab.Core.Views;
10using HeuristicLab.Core;
11using HeuristicLab.MainForm;
12using HeuristicLab.Optimization;
13using HeuristicLab.PluginInfrastructure;
14
15namespace HeuristicLab.Hive.Experiment.Views {
16  [View("JobItemList View")]
17  [Content(typeof(JobItemList), true)]
18  [Content(typeof(IItemList<JobItem>), false)]
19  public partial class JobItemListView : ItemListView<JobItem> {
20
21    public JobItemListView() {
22      InitializeComponent();
23      itemsGroupBox.Text = "Jobs";
24      this.viewHost.ReadOnly = true;
25    }
26
27    protected override JobItem CreateItem() {
28      return null;
29    }
30
31    protected override void SetEnabledStateOfControls() {
32      base.SetEnabledStateOfControls();
33      this.addButton.Enabled = false;
34      this.moveDownButton.Enabled = false;
35      this.moveUpButton.Enabled = false;
36      this.removeButton.Enabled = false;
37    }
38  }
39}
Note: See TracBrowser for help on using the repository browser.