Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/10 18:55:46 (14 years ago)
Author:
gkronber
Message:

Fixed projects to work with new plugin infrastructure. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PluginInfrastructure Refactoring/HeuristicLab.SA/3.2/SAEditor.cs

    r2474 r2587  
    117117      IView view = SA.ProblemInjector.CreateView();
    118118      if (view != null)
    119         PluginManager.ControlManager.ShowControl(view);
     119        ControlManager.Manager.ShowControl(view);
    120120    }
    121121    private void viewSolutionGenerationButton_Click(object sender, EventArgs e) {
    122122      IView view = SA.SolutionGenerator.CreateView();
    123123      if (view != null)
    124         PluginManager.ControlManager.ShowControl(view);
     124        ControlManager.Manager.ShowControl(view);
    125125    }
    126126    private void viewAnnealingSchemeButton_Click(object sender, EventArgs e) {
    127127      IView view = SA.AnnealingScheme.CreateView();
    128128      if (view != null)
    129         PluginManager.ControlManager.ShowControl(view);
     129        ControlManager.Manager.ShowControl(view);
    130130    }
    131131    private void viewMutationButton_Click(object sender, EventArgs e) {
    132132      IView view = SA.Mutator.CreateView();
    133133      if (view != null)
    134         PluginManager.ControlManager.ShowControl(view);
     134        ControlManager.Manager.ShowControl(view);
    135135    }
    136136    private void viewEvaluationButton_Click(object sender, EventArgs e) {
    137137      IView view = SA.Evaluator.CreateView();
    138138      if (view != null)
    139         PluginManager.ControlManager.ShowControl(view);
     139        ControlManager.Manager.ShowControl(view);
    140140    }
    141141    private void setProblemInitializationButton_Click(object sender, EventArgs e) {
     
    188188      IEngine clone = (IEngine)SA.Engine.Clone();
    189189      IEditor editor = ((IEditable)clone).CreateEditor();
    190       PluginManager.ControlManager.ShowControl(editor);
     190      ControlManager.Manager.ShowControl(editor);
    191191    }
    192192    #endregion
Note: See TracChangeset for help on using the changeset viewer.