Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 10:31:40 (14 years ago)
Author:
gkronber
Message:

Copied refactored plugin infrastructure from branch and merged changeset r2586:2589 from branch into the trunk. #799

Location:
trunk/sources/HeuristicLab.GP/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP/3.3/FunctionTreeView.cs

    r2237 r2591  
    4747      rootNode.Tag = functionTree;
    4848      treeNodeContextMenu.MenuItems.Clear();
    49       DiscoveryService discoveryService = new DiscoveryService();
    50       IFunctionTreeSerializer[] exporters = discoveryService.GetInstances<IFunctionTreeSerializer>();
    51       foreach (IFunctionTreeSerializer exporter in exporters) {
     49      foreach (IFunctionTreeSerializer exporter in ApplicationManager.Manager.GetInstances<IFunctionTreeSerializer>()) {
    5250        string result;
    5351        // register a menu item for the exporter
  • trunk/sources/HeuristicLab.GP/3.3/HeuristicLabGPPlugin.cs

    r2222 r2591  
    2626
    2727namespace HeuristicLab.GP {
    28   [ClassInfo(Name = "HeuristicLab.GP-3.3")]
    29   [PluginFile(Filename = "HeuristicLab.GP-3.3.dll", Filetype = PluginFileType.Assembly)]
    30   [Dependency(Dependency = "HeuristicLab.GP.Interfaces-3.3")]
    31   [Dependency(Dependency = "HeuristicLab.Random-3.2")]
     28  [Plugin("HeuristicLab.GP-3.3")]
     29  [PluginFile("HeuristicLab.GP-3.3.dll", PluginFileType.Assembly)]
     30  [PluginDependency("HeuristicLab.GP.Interfaces-3.3")]
     31  [PluginDependency("HeuristicLab.Random-3.2")]
    3232  public class HeuristicLabGPPlugin : PluginBase {
    3333  }
Note: See TracChangeset for help on using the changeset viewer.