Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/30/10 05:05:19 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • worked on content definitions of views
  • corrected bug in cloning of CombinedOperator
Location:
trunk/sources/HeuristicLab.Parameters.Views/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ItemParameterView.cs

    r2715 r2727  
    6161    /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    6262    /// <param name="variable">The variable to represent visually.</param>
    63     public ItemParameterView(ItemParameter<T> parameter)
     63    public ItemParameterView(ItemParameter<T> content)
    6464      : this() {
    65       Content = parameter;
     65      Content = content;
    6666    }
    6767
  • trunk/sources/HeuristicLab.Parameters.Views/3.3/ParameterView.cs

    r2714 r2727  
    2727using System.Text;
    2828using System.Windows.Forms;
     29using HeuristicLab.Core;
    2930using HeuristicLab.Core.Views;
    3031using HeuristicLab.MainForm;
     
    3536  /// </summary>
    3637  [Content(typeof(Parameter), true)]
     38  [Content(typeof(IParameter), false)]
    3739  public partial class ParameterView : NamedItemView {
    3840    /// <summary>
     
    4143    /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.
    4244    /// No own data storage present.</remarks>
    43     public new Parameter Content {
    44       get { return (Parameter)base.Content; }
     45    public new IParameter Content {
     46      get { return (IParameter)base.Content; }
    4547      set { base.Content = value; }
    4648    }
     
    5860    /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    5961    /// <param name="variable">The variable to represent visually.</param>
    60     public ParameterView(Parameter parameter)
     62    public ParameterView(IParameter content)
    6163      : this() {
    62       Content = parameter;
     64      Content = content;
    6365    }
    6466
Note: See TracChangeset for help on using the changeset viewer.