Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/28/14 12:52:24 (10 years ago)
Author:
sbreuer
Message:
  • deleted unused method
  • refactored filter logic
  • added filter changed event
  • changed datagridview validation (cannot modify, if filter is active)
  • update datagridview if preview is active
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IFilterLogic.cs

    r10844 r10900  
    2020#endregion
    2121
     22using System;
    2223using System.Collections.Generic;
    2324using HeuristicLab.DataPreprocessing.Filter;
     
    2526  public interface IFilterLogic {
    2627    bool[] GetFilterResult(IList<IFilter> filters, bool isAndCombination);
     28    /// <summary>
     29    /// Return an array which indicates whether the corresponding row should be filtered (true) or kept (false)
     30    /// </summary>
     31    /// <param name="filters"></param>
     32    /// <param name="isAndCombination"></param>
     33    /// <returns></returns>
    2734    bool[] Preview(IList<IFilter> filters, bool isAndCombination);
    2835    void Apply(IList<IFilter> filters, bool isAndCombination);
    2936    IPreprocessingData PreprocessingData { get; }
    3037    void Reset();
     38    bool IsFiltered();
     39
     40    event EventHandler FilterChanged;
    3141  }
    3242}
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IFilteredPreprocessingData.cs

    r10783 r10900  
    1111    void PersistFilter();
    1212    void ResetFilter();
     13    bool IsFiltered { get; }
     14
     15    event EventHandler FilterChanged;
    1316   }
    1417}
Note: See TracChangeset for help on using the changeset viewer.