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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs

    r2713 r2727  
    3434  /// </summary>
    3535  [Content(typeof(Variable), true)]
     36  [Content(typeof(IVariable), false)]
    3637  public partial class VariableView : NamedItemView {
    3738    protected TypeSelectorDialog typeSelectorDialog;
     
    4243    /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.
    4344    /// No own data storage present.</remarks>
    44     public new Variable Content {
    45       get { return (Variable)base.Content; }
     45    public new IVariable Content {
     46      get { return (IVariable)base.Content; }
    4647      set { base.Content = value; }
    4748    }
     
    5960    /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    6061    /// <param name="variable">The variable to represent visually.</param>
    61     public VariableView(Variable variable)
     62    public VariableView(IVariable content)
    6263      : this() {
    63       Content = variable;
     64      Content = content;
    6465    }
    6566
Note: See TracChangeset for help on using the changeset viewer.