Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/25/10 02:34:23 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • continued work on adapting and refactoring HeuristicLab.Data according to the changes in HeuristicLab.Core
  • unified visual appearance of views
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Operators.Views/3.3/OperatorView.cs

    r2664 r2676  
    3737  [Content(typeof(Operator), true)]
    3838  public partial class OperatorView : NamedItemView {
    39     public Operator OperatorBase {
     39    public Operator Operator {
    4040      get { return (Operator)base.Item; }
    4141      set { base.Item = value; }
     
    5252    /// </summary>
    5353    /// <param name="item">The item that should be displayed.</param>
    54     public OperatorView(Operator operatorBase)
     54    public OperatorView(Operator op)
    5555      : this() {
    56       OperatorBase = operatorBase;
     56      Operator = op;
    5757    }
    5858
    5959    protected override void OnObjectChanged() {
    6060      base.OnObjectChanged();
    61       if (OperatorBase == null) {
     61      if (Operator == null) {
    6262        parameterCollectionView.NamedItemCollection = null;
    6363      } else {
    64         parameterCollectionView.NamedItemCollection = ((IOperator)OperatorBase).Parameters;
     64        parameterCollectionView.NamedItemCollection = ((IOperator)Operator).Parameters;
    6565      }
    6666    }
Note: See TracChangeset for help on using the changeset viewer.