Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/11/13 15:51:16 (11 years ago)
Author:
ascheibe
Message:

#1886 improved RunCollectionModifierExecutable and added a new view for it

Location:
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching.Views/3.3
Files:
2 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching.Views/3.3/CreateRunCollectionModifierTasksMenuItem.cs

    r10113 r10121  
    4545    public override void Execute() {
    4646      IContentView activeView = MainFormManager.MainForm.ActiveView as IContentView;
    47       using (RunCollectionModifierTasksConfigurator configurator = new RunCollectionModifierTasksConfigurator()) {
    48         configurator.Content = activeView.Content as IOptimizer;
    49         configurator.ShowDialog();
    50       }
     47      IOptimizer opt = activeView.Content as IOptimizer;
     48      RunCollectionModifierExecutable runCollectionModifierExecutable = new RunCollectionModifierExecutable();
     49      runCollectionModifierExecutable.RunCollection.AddRange(opt.Runs);
     50      MainFormManager.MainForm.ShowContent(runCollectionModifierExecutable);
    5151    }
    5252  }
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching.Views/3.3/HeuristicLab.Analysis.SolutionCaching.Views-3.3.csproj

    r10115 r10121  
    136136  <ItemGroup>
    137137    <Compile Include="CreateRunCollectionModifierTasksMenuItem.cs" />
     138    <Compile Include="RunCollectionModifierExecutableView.cs">
     139      <SubType>UserControl</SubType>
     140    </Compile>
     141    <Compile Include="RunCollectionModifierExecutableView.Designer.cs">
     142      <DependentUpon>RunCollectionModifierExecutableView.cs</DependentUpon>
     143    </Compile>
    138144    <Compile Include="PermutationSolutionCacheView.cs">
    139145      <SubType>UserControl</SubType>
     
    141147    <Compile Include="RealVectorSolutionCacheView.cs">
    142148      <SubType>UserControl</SubType>
    143     </Compile>
    144     <Compile Include="RunCollectionModifierTasksConfigurator.cs">
    145       <SubType>Form</SubType>
    146     </Compile>
    147     <Compile Include="RunCollectionModifierTasksConfigurator.Designer.cs">
    148       <DependentUpon>RunCollectionModifierTasksConfigurator.cs</DependentUpon>
    149149    </Compile>
    150150    <Compile Include="SolutionCacheView.cs">
Note: See TracChangeset for help on using the changeset viewer.