Changeset 17145


Ignore:
Timestamp:
07/22/19 12:09:38 (5 weeks ago)
Author:
mkommend
Message:

#2971: Corrected naming of IntervalCollection and according view.

Location:
branches/2971_named_intervals
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/IntervalCollectionView.Designer.cs

    r16930 r17145  
    7373      this.groupBox1.TabIndex = 1;
    7474      this.groupBox1.TabStop = false;
    75       this.groupBox1.Text = "Interval Boundaries";
     75      this.groupBox1.Text = "Intervals";
    7676      //
    7777      // NamedIntervalsView
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/IntervalCollectionView.cs

    r16927 r17145  
    2828namespace HeuristicLab.Problems.DataAnalysis.Views {
    2929
    30   [View("NamedIntervals View")]
     30  [View("IntervalCollection View")]
    3131  [Content(typeof(IntervalCollection), true)]
    3232  public sealed partial class IntervalCollectionView : AsynchronousContentView {
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Interval/IntervalCollection.cs

    r16960 r17145  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
     24using HEAL.Attic;
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Collections;
    28 using HEAL.Attic;
    2927
    3028namespace HeuristicLab.Problems.DataAnalysis {
    31   [Item("NamedIntervals", "Represents variables with their interval ranges.")]
     29  [Item("IntervalCollection", "Represents variables with their interval ranges.")]
    3230  [StorableType("230B4E4B-41E5-4D33-9BC3-E2DAADDCA5AE")]
    3331  public class IntervalCollection : Item {
     
    6361      }
    6462    }
     63    public override IDeepCloneable Clone(Cloner cloner) {
     64      return new IntervalCollection(this, cloner);
     65    }
    6566
    6667    public IntervalCollection(IDictionary<string, Interval> variableIntervals) {
     
    8990      return VariableIntervals;
    9091    }
    91 
    92     public override IDeepCloneable Clone(Cloner cloner) {
    93       return new IntervalCollection(this, cloner);
    94     }
    9592  }
    9693}
Note: See TracChangeset for help on using the changeset viewer.