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.SimOpt/3.2/SimOptProblemInjectorView.cs

    r1530 r2587  
    7171    private void UpdateDataTypeTreeView() {
    7272      dataTypeTreeView.Nodes.Clear();
    73       DiscoveryService discoveryService = new DiscoveryService();
    74       foreach (PluginInfo plugin in discoveryService.Plugins) {
     73      foreach (IPluginDescription plugin in ApplicationManager.Manager.Plugins) {
    7574        TreeNode pluginNode = new TreeNode(plugin.Name);
    7675        pluginNode.Tag = null;
    7776
    78         Type[] types = discoveryService.GetTypes(typeof(IObjectData), plugin);
    79         foreach (Type type in types) {
     77        foreach (Type type in ApplicationManager.Manager.GetTypes(typeof(IObjectData), plugin)) {
    8078          if (!type.IsAbstract) {
    8179            TreeNode itemNode = new TreeNode();
Note: See TracChangeset for help on using the changeset viewer.