Changeset 234
- Timestamp:
- 05/12/08 10:37:56 (17 years ago)
- Location:
- trunk/sources/HeuristicLab.DataAnalysis
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DataAnalysis/DatasetView.cs
r233 r234 23 23 using System.Windows.Forms; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.PluginInfrastructure; 25 26 26 27 namespace HeuristicLab.DataAnalysis { … … 39 40 : base() { 40 41 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 } 41 49 } 42 50 -
trunk/sources/HeuristicLab.DataAnalysis/HeuristicLab.DataAnalysis.csproj
r30 r234 60 60 </Compile> 61 61 <Compile Include="HeuristicLabDataAnalysisPlugin.cs" /> 62 <Compile Include="IDatasetManipulator.cs" /> 62 63 <Compile Include="Properties\AssemblyInfo.cs" /> 63 64 <Compile Include="Regression.cs" /> 64 65 <Compile Include="Statistics.cs" /> 66 <Compile Include="SvmExporter.cs"> 67 <SubType>Form</SubType> 68 </Compile> 65 69 </ItemGroup> 66 70 <ItemGroup> … … 87 91 <SubType>Designer</SubType> 88 92 </EmbeddedResource> 93 <EmbeddedResource Include="SvmExporter.resx"> 94 <DependentUpon>SvmExporter.cs</DependentUpon> 95 <SubType>Designer</SubType> 96 </EmbeddedResource> 89 97 </ItemGroup> 90 98 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Note: See TracChangeset
for help on using the changeset viewer.