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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.