Ignore:
Timestamp:
02/18/11 10:55:20 (9 years ago)
Author:
mkommend
Message:

#1418: Adapted views to new symbolic expression tree encoding.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionView.cs

    r5473 r5513  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using System.Windows.Forms;
    2324using HeuristicLab.MainForm;
    2425using HeuristicLab.MainForm.WindowsForms;
    2526using HeuristicLab.PluginInfrastructure;
    26 using System.Collections.Generic;
    27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Formatters;
    2827
    2928namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views {
    3029  [View("SymbolicExpression View")]
    31   [Content(typeof(SymbolicExpressionTree), false)]
     30  [Content(typeof(ISymbolicExpressionTree), false)]
    3231  public partial class SymbolicExpressionView : AsynchronousContentView {
    3332
     
    4544      int selectedIndex = -1;
    4645      foreach (ISymbolicExpressionTreeStringFormatter formatter in formatters) {
    47         if (formatter is SymbolicExpressionTreeStringFormatter)
     46        if (formatter is ISymbolicExpressionTreeStringFormatter)
    4847          selectedIndex = treeFormattersList.Count;
    4948        treeFormattersList.Add(formatter);
Note: See TracChangeset for help on using the changeset viewer.