- Timestamp:
- 01/04/10 18:55:46 (15 years ago)
- Location:
- branches/PluginInfrastructure Refactoring/HeuristicLab.SA/3.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PluginInfrastructure Refactoring/HeuristicLab.SA/3.2/HeuristicLabSAPlugin.cs
r2474 r2587 27 27 /// Plugin class for HeuristicLab.SA plugin. 28 28 /// </summary> 29 [ ClassInfo(Name ="HeuristicLab.SA-3.2")]30 [PluginFile( Filename = "HeuristicLab.SA-3.2.dll", Filetype =PluginFileType.Assembly)]31 [ Dependency(Dependency ="HeuristicLab.Common-3.2")]32 [ Dependency(Dependency ="HeuristicLab.Core-3.2")]33 [ Dependency(Dependency ="HeuristicLab.Data-3.2")]34 [ Dependency(Dependency ="HeuristicLab.Operators-3.2")]35 [ Dependency(Dependency ="HeuristicLab.Random-3.2")]36 [ Dependency(Dependency ="HeuristicLab.Selection-3.2")]37 [ Dependency(Dependency ="HeuristicLab.Logging-3.2")]38 [ Dependency(Dependency ="HeuristicLab.SequentialEngine-3.2")]39 [ Dependency(Dependency ="HeuristicLab.Selection.OffspringSelection-3.2")]40 [ Dependency(Dependency ="HeuristicLab.Evolutionary-3.2")]29 [Plugin("HeuristicLab.SA-3.2")] 30 [PluginFile("HeuristicLab.SA-3.2.dll", PluginFileType.Assembly)] 31 [PluginDependency("HeuristicLab.Common-3.2")] 32 [PluginDependency("HeuristicLab.Core-3.2")] 33 [PluginDependency("HeuristicLab.Data-3.2")] 34 [PluginDependency("HeuristicLab.Operators-3.2")] 35 [PluginDependency("HeuristicLab.Random-3.2")] 36 [PluginDependency("HeuristicLab.Selection-3.2")] 37 [PluginDependency("HeuristicLab.Logging-3.2")] 38 [PluginDependency("HeuristicLab.SequentialEngine-3.2")] 39 [PluginDependency("HeuristicLab.Selection.OffspringSelection-3.2")] 40 [PluginDependency("HeuristicLab.Evolutionary-3.2")] 41 41 public class HeuristicLabSAPlugin : PluginBase { 42 42 } -
branches/PluginInfrastructure Refactoring/HeuristicLab.SA/3.2/SAEditor.cs
r2474 r2587 117 117 IView view = SA.ProblemInjector.CreateView(); 118 118 if (view != null) 119 PluginManager.ControlManager.ShowControl(view);119 ControlManager.Manager.ShowControl(view); 120 120 } 121 121 private void viewSolutionGenerationButton_Click(object sender, EventArgs e) { 122 122 IView view = SA.SolutionGenerator.CreateView(); 123 123 if (view != null) 124 PluginManager.ControlManager.ShowControl(view);124 ControlManager.Manager.ShowControl(view); 125 125 } 126 126 private void viewAnnealingSchemeButton_Click(object sender, EventArgs e) { 127 127 IView view = SA.AnnealingScheme.CreateView(); 128 128 if (view != null) 129 PluginManager.ControlManager.ShowControl(view);129 ControlManager.Manager.ShowControl(view); 130 130 } 131 131 private void viewMutationButton_Click(object sender, EventArgs e) { 132 132 IView view = SA.Mutator.CreateView(); 133 133 if (view != null) 134 PluginManager.ControlManager.ShowControl(view);134 ControlManager.Manager.ShowControl(view); 135 135 } 136 136 private void viewEvaluationButton_Click(object sender, EventArgs e) { 137 137 IView view = SA.Evaluator.CreateView(); 138 138 if (view != null) 139 PluginManager.ControlManager.ShowControl(view);139 ControlManager.Manager.ShowControl(view); 140 140 } 141 141 private void setProblemInitializationButton_Click(object sender, EventArgs e) { … … 188 188 IEngine clone = (IEngine)SA.Engine.Clone(); 189 189 IEditor editor = ((IEditable)clone).CreateEditor(); 190 PluginManager.ControlManager.ShowControl(editor);190 ControlManager.Manager.ShowControl(editor); 191 191 } 192 192 #endregion
Note: See TracChangeset
for help on using the changeset viewer.