Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/10 18:55:46 (14 years ago)
Author:
gkronber
Message:

Fixed projects to work with new plugin infrastructure. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PluginInfrastructure Refactoring/HeuristicLab.AdvancedOptimizationFrontend/3.2/AvailableOperatorsForm.cs

    r1529 r2587  
    6363      builtinOperatorsTreeView.TreeViewNodeSorter = nodeSorter;
    6464
    65       DiscoveryService discoveryService = new DiscoveryService();
    66       PluginInfo[] plugins = discoveryService.Plugins;
    67       foreach(PluginInfo plugin in plugins) {
     65      foreach(IPluginDescription plugin in ApplicationManager.Manager.Plugins) {
    6866        TreeNode pluginItem = new TreeNode();
    6967        pluginItem.Text = plugin.Name;
    7068        pluginItem.Tag = plugin;
    7169
    72         Type[] operators = discoveryService.GetTypes(typeof(IOperator), plugin);
    73         foreach(Type type in operators) {
     70        foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(IOperator), plugin)) {
    7471          if(!type.IsAbstract) {
    7572            TreeNode operatorItem = new TreeNode();
Note: See TracChangeset for help on using the changeset viewer.