using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HeuristicLab.MainForm;
using HeuristicLab.Core.Views;
using HeuristicLab.Core;
namespace HeuristicLab.Problems.MetaOptimization.Views {
///
/// The visual representation of a .
///
[View("NumericParameterConfiguration View")]
[Content(typeof(NumericParameterConfiguration), true)]
public partial class NumericParameterConfigurationView : NamedItemView {
///
/// Gets or sets the variable to represent visually.
///
/// Uses property of base class .
/// No own data storage present.
public new NumericParameterConfiguration Content {
get { return (NumericParameterConfiguration)base.Content; }
set { base.Content = value; }
}
public NumericParameterConfigurationView() {
InitializeComponent();
}
protected override void OnContentChanged() {
base.OnContentChanged();
if (Content != null) {
itemListView.Content = Content.Ranges;
} else {
itemListView.Content = null;
}
}
protected override void SetEnabledStateOfControls() {
base.SetEnabledStateOfControls();
}
}
}