Free cookie consent management tool by TermsFeed Policy Generator

Changeset 234 for trunk


Ignore:
Timestamp:
05/12/08 10:37:56 (16 years ago)
Author:
gkronber
Message:

implemented #143

Location:
trunk/sources/HeuristicLab.DataAnalysis
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAnalysis/DatasetView.cs

    r233 r234  
    2323using System.Windows.Forms;
    2424using HeuristicLab.Core;
     25using HeuristicLab.PluginInfrastructure;
    2526
    2627namespace HeuristicLab.DataAnalysis {
     
    3940      : base() {
    4041      InitializeComponent();
     42      DiscoveryService discovery = new DiscoveryService();
     43      IDatasetManipulator[] manipuators = discovery.GetInstances<IDatasetManipulator>();
     44      contextMenuStrip.Items.Add(new ToolStripSeparator());
     45      foreach(IDatasetManipulator manipulator in manipuators) {
     46        contextMenuStrip.Items.Add(new ToolStripButton(manipulator.Action,null , delegate(object source, EventArgs args)
     47          { manipulator.Execute(Dataset); }));
     48      }
    4149    }
    4250
  • trunk/sources/HeuristicLab.DataAnalysis/HeuristicLab.DataAnalysis.csproj

    r30 r234  
    6060    </Compile>
    6161    <Compile Include="HeuristicLabDataAnalysisPlugin.cs" />
     62    <Compile Include="IDatasetManipulator.cs" />
    6263    <Compile Include="Properties\AssemblyInfo.cs" />
    6364    <Compile Include="Regression.cs" />
    6465    <Compile Include="Statistics.cs" />
     66    <Compile Include="SvmExporter.cs">
     67      <SubType>Form</SubType>
     68    </Compile>
    6569  </ItemGroup>
    6670  <ItemGroup>
     
    8791      <SubType>Designer</SubType>
    8892    </EmbeddedResource>
     93    <EmbeddedResource Include="SvmExporter.resx">
     94      <DependentUpon>SvmExporter.cs</DependentUpon>
     95      <SubType>Designer</SubType>
     96    </EmbeddedResource>
    8997  </ItemGroup>
    9098  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset for help on using the changeset viewer.