Changeset 8490 for branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/TimeSeriesPrognosisSolutionView.cs
- Timestamp:
- 08/14/12 15:26:54 (12 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/TimeSeriesPrognosisSolutionView.cs
r8481 r8490 25 25 26 26 namespace 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() { 31 31 InitializeComponent(); 32 32 } 33 33 34 public new RegressionSolutionBaseContent {35 get { return ( RegressionSolutionBase)base.Content; }34 public new TimeSeriesPrognosisSolution Content { 35 get { return (TimeSeriesPrognosisSolution)base.Content; } 36 36 set { base.Content = value; } 37 37 } … … 43 43 44 44 var dropData = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat); 45 if (dropData is RegressionProblemData) validDragOperation = true;45 if (dropData is ITimeSeriesPrognosisProblemData) validDragOperation = true; 46 46 else if (dropData is IValueParameter) { 47 47 var param = (IValueParameter)dropData; 48 if (param.Value is RegressionProblemData) validDragOperation = true;48 if (param.Value is ITimeSeriesPrognosisProblemData) validDragOperation = true; 49 49 } 50 50 }
Note: See TracChangeset
for help on using the changeset viewer.