Free cookie consent management tool by TermsFeed Policy Generator

Changeset 17599


Ignore:
Timestamp:
06/15/20 15:58:21 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • added a simple form control for JsonInterface to use it without CLI
Location:
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/HeuristicLab.JsonInterface.App.csproj

    r17464 r17599  
    4343    <Reference Include="HEAL.Attic, Version=1.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    4444      <HintPath>..\packages\HEAL.Attic.1.4.0\lib\net461\HEAL.Attic.dll</HintPath>
     45      <Private>False</Private>
    4546    </Reference>
    4647    <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
     
    5354      <HintPath>..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath>
    5455    </Reference>
     56    <Reference Include="System.Windows.Forms" />
    5557    <Reference Include="System.Xml.Linq" />
    5658    <Reference Include="System.Data.DataSetExtensions" />
     
    6466    <None Include="packages.config" />
    6567    <None Include="Plugin.cs.frame" />
     68    <Compile Include="JsonInterfaceForm.cs">
     69      <SubType>Form</SubType>
     70    </Compile>
     71    <Compile Include="JsonInterfaceForm.Designer.cs">
     72      <DependentUpon>JsonInterfaceForm.cs</DependentUpon>
     73    </Compile>
     74    <Compile Include="Properties\Resources.Designer.cs">
     75      <AutoGen>True</AutoGen>
     76      <DesignTime>True</DesignTime>
     77      <DependentUpon>Resources.resx</DependentUpon>
     78    </Compile>
    6679    <Compile Include="Runner.cs" />
    6780    <Compile Include="Plugin.cs" />
     
    7285      <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project>
    7386      <Name>HeuristicLab.Collections-3.3</Name>
     87      <Private>False</Private>
     88    </ProjectReference>
     89    <ProjectReference Include="..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj">
     90      <Project>{0e27a536-1c4a-4624-a65e-dc4f4f23e3e1}</Project>
     91      <Name>HeuristicLab.Common.Resources-3.3</Name>
     92      <Private>False</Private>
    7493    </ProjectReference>
    7594    <ProjectReference Include="..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj">
    7695      <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project>
    7796      <Name>HeuristicLab.Common-3.3</Name>
     97      <Private>False</Private>
    7898    </ProjectReference>
    7999    <ProjectReference Include="..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj">
    80100      <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project>
    81101      <Name>HeuristicLab.Core-3.3</Name>
     102      <Private>False</Private>
    82103    </ProjectReference>
    83104    <ProjectReference Include="..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj">
    84105      <Project>{06D4A186-9319-48A0-BADE-A2058D462EEA}</Project>
    85106      <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4</Name>
     107      <Private>False</Private>
    86108    </ProjectReference>
    87109    <ProjectReference Include="..\HeuristicLab.JsonInterface\HeuristicLab.JsonInterface.csproj">
    88110      <Project>{0e3aab5e-f152-44e0-a054-4d9a83ecee08}</Project>
    89111      <Name>HeuristicLab.JsonInterface</Name>
     112      <Private>False</Private>
    90113    </ProjectReference>
    91114    <ProjectReference Include="..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj">
    92115      <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project>
    93116      <Name>HeuristicLab.Optimization-3.3</Name>
     117      <Private>False</Private>
    94118    </ProjectReference>
    95119    <ProjectReference Include="..\HeuristicLab.ParallelEngine\3.3\HeuristicLab.ParallelEngine-3.3.csproj">
    96120      <Project>{00814351-4AB8-4088-9B99-F62787B89E93}</Project>
    97121      <Name>HeuristicLab.ParallelEngine-3.3</Name>
     122      <Private>False</Private>
    98123    </ProjectReference>
    99124    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    100125      <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
    101126      <Name>HeuristicLab.PluginInfrastructure-3.3</Name>
     127      <Private>False</Private>
    102128    </ProjectReference>
    103129    <ProjectReference Include="..\HeuristicLab.Problems.DataAnalysis.Symbolic.Regression\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4.csproj">
    104130      <Project>{5AC82412-911B-4FA2-A013-EDC5E3F3FCC2}</Project>
    105131      <Name>HeuristicLab.Problems.DataAnalysis.Symbolic.Regression-3.4</Name>
     132      <Private>False</Private>
    106133    </ProjectReference>
    107134    <ProjectReference Include="..\HeuristicLab.Problems.DataAnalysis.Symbolic\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj">
    108135      <Project>{3d28463f-ec96-4d82-afee-38be91a0ca00}</Project>
    109136      <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name>
     137      <Private>False</Private>
    110138    </ProjectReference>
    111139    <ProjectReference Include="..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj">
    112140      <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project>
    113141      <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name>
     142      <Private>False</Private>
    114143    </ProjectReference>
    115144    <ProjectReference Include="..\HeuristicLab.Problems.Instances\3.3\HeuristicLab.Problems.Instances-3.3.csproj">
    116145      <Project>{3540E29E-4793-49E7-8EE2-FEA7F61C3994}</Project>
    117146      <Name>HeuristicLab.Problems.Instances-3.3</Name>
     147      <Private>False</Private>
    118148    </ProjectReference>
    119149    <ProjectReference Include="..\HeuristicLab.SequentialEngine\3.3\HeuristicLab.SequentialEngine-3.3.csproj">
    120150      <Project>{DC3D7072-7999-4719-B65D-3997744D5DC1}</Project>
    121151      <Name>HeuristicLab.SequentialEngine-3.3</Name>
     152      <Private>False</Private>
    122153    </ProjectReference>
    123154  </ItemGroup>
    124   <ItemGroup />
     155  <ItemGroup>
     156    <EmbeddedResource Include="JsonInterfaceForm.resx">
     157      <DependentUpon>JsonInterfaceForm.cs</DependentUpon>
     158    </EmbeddedResource>
     159    <EmbeddedResource Include="Properties\Resources.resx">
     160      <Generator>ResXFileCodeGenerator</Generator>
     161      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
     162    </EmbeddedResource>
     163  </ItemGroup>
    125164  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    126165  <PropertyGroup>
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/Plugin.cs.frame

    r17442 r17599  
    2020#endregion
    2121
     22using System.Windows.Forms;
    2223using HeuristicLab.PluginInfrastructure;
    2324
     
    4041      if(args.Length == 4 && args[1] is OpenArgument && args[2] is OpenArgument && (args[3] is StringArgument || args[3] is OpenArgument)) {
    4142        Runner.Run(args[1].Value.ToString(), args[2].Value.ToString(), args[3].Value.ToString());
     43      } else {
     44        JsonInterfaceForm form = new JsonInterfaceForm();
     45        Application.Run(form);
    4246      }
    4347    }
Note: See TracChangeset for help on using the changeset viewer.