Changeset 2587 for branches/PluginInfrastructure Refactoring/HeuristicLab.SimOpt/3.2/SimOptProblemInjectorView.cs
- Timestamp:
- 01/04/10 18:55:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.SimOpt/3.2/SimOptProblemInjectorView.cs
r1530 r2587 71 71 private void UpdateDataTypeTreeView() { 72 72 dataTypeTreeView.Nodes.Clear(); 73 DiscoveryService discoveryService = new DiscoveryService(); 74 foreach (PluginInfo plugin in discoveryService.Plugins) { 73 foreach (IPluginDescription plugin in ApplicationManager.Manager.Plugins) { 75 74 TreeNode pluginNode = new TreeNode(plugin.Name); 76 75 pluginNode.Tag = null; 77 76 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)) { 80 78 if (!type.IsAbstract) { 81 79 TreeNode itemNode = new TreeNode();
Note: See TracChangeset
for help on using the changeset viewer.