Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/10 04:37:49 (14 years ago)
Author:
swagner
Message:

Operator architecture refactoring (#95)

  • implemented reviewers' comments
  • added additional plugins HeuristicLab.Evolutionary, HeuristicLab.Permutation, HeuristicLab.Selection, and HeuristicLab.Routing.TSP
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs

    r2727 r2790  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    6666    protected override void DeregisterContentEvents() {
    6767      Content.OperatorGraphChanged -= new EventHandler(Content_OperatorGraphChanged);
    68       Content.Initialized -= new EventHandler(Content_Initialized);
     68      Content.Prepared -= new EventHandler(Content_Prepared);
    6969      Content.Started -= new EventHandler(Content_Started);
    7070      Content.Stopped -= new EventHandler(Content_Stopped);
     
    8181      base.RegisterContentEvents();
    8282      Content.OperatorGraphChanged += new EventHandler(Content_OperatorGraphChanged);
    83       Content.Initialized += new EventHandler(Content_Initialized);
     83      Content.Prepared += new EventHandler(Content_Prepared);
    8484      Content.Started += new EventHandler(Content_Started);
    8585      Content.Stopped += new EventHandler(Content_Stopped);
     
    118118        operatorGraphView.Content = Content.OperatorGraph;
    119119    }
    120     protected virtual void Content_Initialized(object sender, EventArgs e) {
     120    protected virtual void Content_Prepared(object sender, EventArgs e) {
    121121      if (InvokeRequired)
    122         Invoke(new EventHandler(Content_Initialized), sender, e);
     122        Invoke(new EventHandler(Content_Prepared), sender, e);
    123123      else {
    124124        operatorGraphView.Enabled = true;
     
    178178    }
    179179    protected virtual void resetButton_Click(object sender, EventArgs e) {
    180       Content.Initialize();
     180      Content.Prepare();
    181181    }
    182182    #endregion
Note: See TracChangeset for help on using the changeset viewer.