Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/14/12 15:26:54 (12 years ago)
Author:
mkommend
Message:

#1081: Updated TimeSeriesPrognosisSolutionView.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/TimeSeriesPrognosisSolutionView.cs

    r8481 r8490  
    2525
    2626namespace HeuristicLab.Problems.DataAnalysis.Views {
    27   [View("RegressionSolution View")]
    28   [Content(typeof(RegressionSolutionBase), false)]
    29   public partial class RegressionSolutionView : DataAnalysisSolutionView {
    30     public RegressionSolutionView() {
     27  [View("TimeSeriesPrognosisSolution View")]
     28  [Content(typeof(TimeSeriesPrognosisSolution), false)]
     29  public partial class TimeSeriesPrognosisSolutionView : RegressionSolutionView {
     30    public TimeSeriesPrognosisSolutionView() {
    3131      InitializeComponent();
    3232    }
    3333
    34     public new RegressionSolutionBase Content {
    35       get { return (RegressionSolutionBase)base.Content; }
     34    public new TimeSeriesPrognosisSolution Content {
     35      get { return (TimeSeriesPrognosisSolution)base.Content; }
    3636      set { base.Content = value; }
    3737    }
     
    4343
    4444      var dropData = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat);
    45       if (dropData is RegressionProblemData) validDragOperation = true;
     45      if (dropData is ITimeSeriesPrognosisProblemData) validDragOperation = true;
    4646      else if (dropData is IValueParameter) {
    4747        var param = (IValueParameter)dropData;
    48         if (param.Value is RegressionProblemData) validDragOperation = true;
     48        if (param.Value is ITimeSeriesPrognosisProblemData) validDragOperation = true;
    4949      }
    5050    }
Note: See TracChangeset for help on using the changeset viewer.