Changeset 11009 for branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs
- Timestamp:
- 06/12/14 13:26:18 (10 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Views merged: 10540-10541,10941
- Property svn:mergeinfo changed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/RegressionSolutionView.cs
r10538 r11009 20 20 #endregion 21 21 22 using System;23 22 using System.Windows.Forms; 24 using HeuristicLab.Common;25 23 using HeuristicLab.Core; 26 24 using HeuristicLab.MainForm; 27 using HeuristicLab.PluginInfrastructure;28 25 29 26 namespace HeuristicLab.Problems.DataAnalysis.Views { … … 54 51 } 55 52 #endregion 56 57 protected override bool CheckCompatibilityOfProblemData(IDataAnalysisProblemData problemData) {58 IRegressionProblemData regressionProblemData = problemData as IRegressionProblemData;59 if (regressionProblemData == null) {60 ErrorHandling.ShowErrorDialog(this, new ArgumentException("The problem data is no regression problem data. Instead a " + problemData.GetType().GetPrettyName() + " was provided."));61 return false;62 }63 64 if (!regressionProblemData.TargetVariable.Equals(Content.ProblemData.TargetVariable)) {65 string message = "The target variables are not matching. Old target variable: '"66 + Content.ProblemData.TargetVariable67 + "'. New targetvariable: '" + regressionProblemData.TargetVariable + "'";68 ErrorHandling.ShowErrorDialog(this, new InvalidOperationException(message));69 return false;70 }71 72 return base.CheckCompatibilityOfProblemData(problemData);73 }74 53 } 75 54 }
Note: See TracChangeset
for help on using the changeset viewer.