Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/14/19 08:05:26 (6 years ago)
Author:
gkronber
Message:

#2971: merged r16658 from trunk to branch

Location:
branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views

  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj

    r16643 r16685  
    103103      <Private>False</Private>
    104104    </Reference>
     105    <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
     106      <SpecificVersion>False</SpecificVersion>
     107      <HintPath>..\..\..\..\trunk\bin\HEAL.Attic.dll</HintPath>
     108    </Reference>
    105109    <Reference Include="HeuristicLab.Algorithms.DataAnalysis-3.4">
     110      <SpecificVersion>False</SpecificVersion>
    106111      <HintPath>..\..\..\..\trunk\bin\HeuristicLab.Algorithms.DataAnalysis-3.4.dll</HintPath>
    107112      <Private>False</Private>
     
    615620    </EmbeddedResource>
    616621  </ItemGroup>
    617   <ItemGroup>
    618     <PackageReference Include="HEAL.Attic">
    619       <Version>1.0.0-pre03</Version>
    620     </PackageReference>
    621   </ItemGroup>
    622622  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    623623  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Plugin.cs.frame

    r16638 r16685  
    3131  [PluginDependency("HeuristicLab.Algorithms.DataAnalysis", "3.4")]
    3232  [PluginDependency("HeuristicLab.Analysis", "3.3")]
     33  [PluginDependency("HeuristicLab.Attic", "1.0")]
    3334  [PluginDependency("HeuristicLab.Collections", "3.3")]
    3435  [PluginDependency("HeuristicLab.Common", "3.3")]
     
    4344  [PluginDependency("HeuristicLab.Optimization.Views","3.3")]
    4445  [PluginDependency("HeuristicLab.Optimizer", "3.3")]
    45   [PluginDependency("HeuristicLab.Persistence", "3.3")]
    4646  [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")]
    4747  [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")]
  • branches/2971_named_intervals/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs

    r16638 r16685  
    2525using System.Linq;
    2626using System.Windows.Forms;
     27using HEAL.Attic;
    2728using HeuristicLab.Core;
    2829using HeuristicLab.Core.Views;
    2930using HeuristicLab.MainForm;
    3031using HeuristicLab.Optimization;
    31 using HeuristicLab.Persistence.Default.Xml;
    3232using HeuristicLab.PluginInfrastructure;
    3333
     
    126126      if (loadProblemDataFileDialog.ShowDialog(this) != DialogResult.OK) return;
    127127      try {
    128         object hlFile = XmlParser.Deserialize(loadProblemDataFileDialog.FileName);
     128        var ser = new ProtoBufSerializer();
     129        object hlFile = ser.Deserialize(loadProblemDataFileDialog.FileName);
    129130
    130131        IDataAnalysisProblemData problemData = null;
     
    145146          solution.Name += " with loaded problemData";
    146147        MainFormManager.MainForm.ShowContent(solution);
    147       }
    148       catch (InvalidOperationException invalidOperationException) {
     148      } catch (InvalidOperationException invalidOperationException) {
    149149        ErrorHandling.ShowErrorDialog(this, invalidOperationException);
    150       }
    151       catch (ArgumentException argumentException) {
     150      } catch (ArgumentException argumentException) {
    152151        ErrorHandling.ShowErrorDialog(this, argumentException);
    153152      }
     
    235234        Content.Filename = string.Empty;
    236235        MainFormManager.GetMainForm<HeuristicLab.MainForm.WindowsForms.MainForm>().UpdateTitle();
    237       }
    238       catch (InvalidOperationException invalidOperationException) {
     236      } catch (InvalidOperationException invalidOperationException) {
    239237        ErrorHandling.ShowErrorDialog(this, invalidOperationException);
    240       }
    241       catch (ArgumentException argumentException) {
     238      } catch (ArgumentException argumentException) {
    242239        ErrorHandling.ShowErrorDialog(this, argumentException);
    243240      }
Note: See TracChangeset for help on using the changeset viewer.