Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/24/09 14:21:54 (15 years ago)
Author:
epitzer
Message:

Streamline formatter configuration interface. Source types are already embedded in formatter generic type. (#548)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence.GUI/3.3/PersistenceConfigurationForm.cs

    r1642 r1654  
    376376      if (formatterGrid == null || decomposerList == null)
    377377        return null;
    378       var formatters = new Dictionary<Type, IFormatter>();
     378      var formatters = new List<IFormatter>();
    379379      foreach (DataGridViewRow row in formatterGrid.Rows) {
    380380        if (row.Cells["Type"].Value != null &&
     
    382382             row.Cells["Formatter"].Value != null &&
    383383             (bool)row.Cells["Active"].Value == true) {
    384           formatters.Add(
    385             typeNameTable[(string)row.Cells["Type"].Value],
    386             formatterTable[(string)row.Cells["Formatter"].Value]);
     384          formatters.Add(formatterTable[(string)row.Cells["Formatter"].Value]);
    387385        }
    388386      }
Note: See TracChangeset for help on using the changeset viewer.