Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/10 18:32:57 (15 years ago)
Author:
epitzer
Message:

update to new PluginInfrastructure (#802)

Location:
branches/Persistence Test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Persistence Test

  • branches/Persistence Test/HeuristicLab.DataAnalysis/3.3/DatasetView.cs

    r1529 r2744  
    3737      : base() {
    3838      InitializeComponent();
    39       DiscoveryService discovery = new DiscoveryService();
    40       IDatasetManipulator[] manipuators = discovery.GetInstances<IDatasetManipulator>();
    4139      contextMenuStrip.Items.Add(new ToolStripSeparator());
    42       foreach(IDatasetManipulator manipulator in manipuators) {
     40      foreach (IDatasetManipulator manipulator in ApplicationManager.Manager.GetInstances<IDatasetManipulator>()) {
    4341        contextMenuStrip.Items.Add(new ToolStripButton(manipulator.Action,null , delegate(object source, EventArgs args)
    4442          {
  • branches/Persistence Test/HeuristicLab.DataAnalysis/3.3/HeuristicLabDataAnalysisPlugin.cs

    r1914 r2744  
    2626
    2727namespace HeuristicLab.DataAnalysis {
    28   [ClassInfo(Name = "HeuristicLab.DataAnalysis-3.3")]
    29   [PluginFile(Filename = "HeuristicLab.DataAnalysis-3.3.dll", Filetype = PluginFileType.Assembly)]
    30   [Dependency(Dependency = "HeuristicLab.Core-3.3")]
    31   [Dependency(Dependency = "HeuristicLab.Data-3.3")]
    32   [Dependency(Dependency = "HeuristicLab.Operators-3.3")]
    33   [Dependency(Dependency = "HeuristicLab.Persistence-3.3")]
     28  [Plugin("HeuristicLab.DataAnalysis-3.3")]
     29  [PluginFile("HeuristicLab.DataAnalysis-3.3.dll", PluginFileType.Assembly)]
     30  [PluginDependency("HeuristicLab.Core-3.3")]
     31  [PluginDependency("HeuristicLab.Data-3.3")]
     32  [PluginDependency("HeuristicLab.Operators-3.3")]
     33  [PluginDependency("HeuristicLab.Persistence-3.3")]
    3434  public class HeuristicLabDataAnalysisPlugin : PluginBase {
    3535  }
Note: See TracChangeset for help on using the changeset viewer.