Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/31/13 10:17:37 (11 years ago)
Author:
gkronber
Message:

#1270 made changes as suggested in the review comments

  • initially select default string formatter in the symbolic expression view
  • renamed smalltalk formatter and fixed the namespace
  • fixed namespace of GraphViz formatter
  • removed unused usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionView.cs

    r9456 r9821  
    3131  [Content(typeof(ISymbolicExpressionTree), false)]
    3232  public partial class SymbolicExpressionView : AsynchronousContentView {
    33 
    34     List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>();
     33    private readonly List<ISymbolicExpressionTreeStringFormatter> treeFormattersList = new List<ISymbolicExpressionTreeStringFormatter>();
    3534
    3635    public new ISymbolicExpressionTree Content {
     
    4847      }
    4948      if (formattersComboBox.Items.Count > 0)
    50         formattersComboBox.SelectedIndex = 0;
     49        formattersComboBox.SelectedIndex = treeFormattersList.FindIndex(0, treeFormattersList.Count, (f) => f.Name.Contains("Default"));
    5150      else
    5251        formattersComboBox.SelectedIndex = -1;
Note: See TracChangeset for help on using the changeset viewer.