Changeset 10556 for branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionEnsembleSolutionView.cs
- Timestamp:
- 03/05/14 17:36:03 (11 years ago)
- Location:
- branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
-
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionEnsembleSolutionView.cs
r7259 r10556 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2013 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 } 33 33 34 protected override void SetEnabledStateOfControls() { 35 base.SetEnabledStateOfControls(); 36 //loading of problemdata is currently not support for ensemble solutions 37 loadProblemDataButton.Enabled = false; 38 loadProblemDataButton.Visible = false; 39 } 40 34 41 public new RegressionEnsembleSolution Content { 35 42 get { return (RegressionEnsembleSolution)base.Content; } … … 47 54 var droppedData = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat); 48 55 if (droppedData is IValueParameter) droppedData = ((IValueParameter)droppedData).Value; 56 if (droppedData is IRegressionProblem) droppedData = ((IRegressionProblem)droppedData).ProblemData; 49 57 50 58 RegressionEnsembleProblemData ensembleProblemData = droppedData as RegressionEnsembleProblemData; 51 RegressionProblemData problemData = droppedData asRegressionProblemData;59 IRegressionProblemData problemData = droppedData as IRegressionProblemData; 52 60 if (ensembleProblemData != null) { 53 61 Content.ProblemData = (RegressionEnsembleProblemData)ensembleProblemData.Clone();
Note: See TracChangeset
for help on using the changeset viewer.