Changeset 2587 for branches/PluginInfrastructure Refactoring/HeuristicLab.AdvancedOptimizationFrontend/3.2/AvailableOperatorsForm.cs
- Timestamp:
- 01/04/10 18:55:46 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.AdvancedOptimizationFrontend/3.2/AvailableOperatorsForm.cs
r1529 r2587 63 63 builtinOperatorsTreeView.TreeViewNodeSorter = nodeSorter; 64 64 65 DiscoveryService discoveryService = new DiscoveryService(); 66 PluginInfo[] plugins = discoveryService.Plugins; 67 foreach(PluginInfo plugin in plugins) { 65 foreach(IPluginDescription plugin in ApplicationManager.Manager.Plugins) { 68 66 TreeNode pluginItem = new TreeNode(); 69 67 pluginItem.Text = plugin.Name; 70 68 pluginItem.Tag = plugin; 71 69 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)) { 74 71 if(!type.IsAbstract) { 75 72 TreeNode operatorItem = new TreeNode();
Note: See TracChangeset
for help on using the changeset viewer.