Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 10:31:40 (14 years ago)
Author:
gkronber
Message:

Copied refactored plugin infrastructure from branch and merged changeset r2586:2589 from branch into the trunk. #799

Location:
trunk/sources/HeuristicLab.ES/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ES/3.2/ESEditor.cs

    r2474 r2591  
    199199      IView view = ES.ProblemInjector.CreateView();
    200200      if (view != null)
    201         PluginManager.ControlManager.ShowControl(view);
     201        ControlManager.Manager.ShowControl(view);
    202202    }
    203203    private void viewSolutionGenerationButton_Click(object sender, EventArgs e) {
    204204      IView view = ES.SolutionGenerator.CreateView();
    205205      if (view != null)
    206         PluginManager.ControlManager.ShowControl(view);
     206        ControlManager.Manager.ShowControl(view);
    207207    }
    208208    private void viewMutationButton_Click(object sender, EventArgs e) {
    209209      IView view = ES.Mutator.CreateView();
    210210      if (view != null)
    211         PluginManager.ControlManager.ShowControl(view);
     211        ControlManager.Manager.ShowControl(view);
    212212    }
    213213    private void viewEvaluationButton_Click(object sender, EventArgs e) {
    214214      IView view = ES.Evaluator.CreateView();
    215215      if (view != null)
    216         PluginManager.ControlManager.ShowControl(view);
     216        ControlManager.Manager.ShowControl(view);
    217217    }
    218218    private void viewRecombinationButton_Click(object sender, EventArgs e) {
    219219      IView view = ES.Recombinator.CreateView();
    220220      if (view != null)
    221         PluginManager.ControlManager.ShowControl(view);
     221        ControlManager.Manager.ShowControl(view);
    222222    }
    223223    private void setProblemInitializationButton_Click(object sender, EventArgs e) {
     
    238238      IEngine clone = (IEngine)ES.Engine.Clone();
    239239      IEditor editor = ((IEditable)clone).CreateEditor();
    240       PluginManager.ControlManager.ShowControl(editor);
     240      ControlManager.Manager.ShowControl(editor);
    241241    }
    242242    #endregion
  • trunk/sources/HeuristicLab.ES/3.2/HeuristicLabESPlugin.cs

    r2474 r2591  
    2929  /// Plugin class for HeuristicLab.ES plugin.
    3030  /// </summary>
    31   [ClassInfo(Name = "HeuristicLab.ES-3.2")]
    32   [PluginFile(Filename = "HeuristicLab.ES-3.2.dll", Filetype = PluginFileType.Assembly)]
    33   [Dependency(Dependency = "HeuristicLab.Common-3.2")]
    34   [Dependency(Dependency = "HeuristicLab.Core-3.2")]
    35   [Dependency(Dependency = "HeuristicLab.Data-3.2")]
    36   [Dependency(Dependency = "HeuristicLab.Logging-3.2")]
    37   [Dependency(Dependency = "HeuristicLab.Operators-3.2")]
    38   [Dependency(Dependency = "HeuristicLab.Random-3.2")]
    39   [Dependency(Dependency = "HeuristicLab.Selection-3.2")]
    40   [Dependency(Dependency = "HeuristicLab.SequentialEngine-3.2")]
    41   [Dependency(Dependency = "HeuristicLab.RealVector-3.2")]
     31  [Plugin("HeuristicLab.ES-3.2")]
     32  [PluginFile("HeuristicLab.ES-3.2.dll", PluginFileType.Assembly)]
     33  [PluginDependency("HeuristicLab.Common-3.2")]
     34  [PluginDependency("HeuristicLab.Core-3.2")]
     35  [PluginDependency("HeuristicLab.Data-3.2")]
     36  [PluginDependency("HeuristicLab.Logging-3.2")]
     37  [PluginDependency("HeuristicLab.Operators-3.2")]
     38  [PluginDependency("HeuristicLab.Random-3.2")]
     39  [PluginDependency("HeuristicLab.Selection-3.2")]
     40  [PluginDependency("HeuristicLab.SequentialEngine-3.2")]
     41  [PluginDependency("HeuristicLab.RealVector-3.2")]
    4242  public class HeuristicLabESPlugin : PluginBase {
    4343  }
Note: See TracChangeset for help on using the changeset viewer.