Last change
on this file since 10844 was
10813,
checked in by psteiner, 10 years ago
|
BugFix within the logical conjunction of filters
persistence of filters in content
|
File size:
970 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.ComponentModel;
|
---|
4 | using System.Drawing;
|
---|
5 | using System.Data;
|
---|
6 | using System.Linq;
|
---|
7 | using System.Text;
|
---|
8 | using System.Windows.Forms;
|
---|
9 | using HeuristicLab.Core.Views;
|
---|
10 | using HeuristicLab.Collections;
|
---|
11 | using HeuristicLab.MainForm;
|
---|
12 | using HeuristicLab.Core;
|
---|
13 | using HeuristicLab.DataPreprocessing.Filter;
|
---|
14 |
|
---|
15 | namespace HeuristicLab.DataPreprocessing.Views
|
---|
16 | {
|
---|
17 | [View("CheckedFilterCollection View")]
|
---|
18 | [Content(typeof(ICheckedItemCollection<>), false)]
|
---|
19 | [Content(typeof(CheckedItemCollection<>), false)]
|
---|
20 | public partial class CheckedFilterCollectionView : CheckedItemCollectionView<IFilter>
|
---|
21 | {
|
---|
22 | public CheckedFilterCollectionView()
|
---|
23 | {
|
---|
24 | InitializeComponent();
|
---|
25 | }
|
---|
26 |
|
---|
27 | protected override void addButton_Click(object sender, EventArgs e)
|
---|
28 | {
|
---|
29 | IFilter filter = new ComparisonFilter();
|
---|
30 | Content.Add(filter);
|
---|
31 | Content.SetItemCheckedState(filter, false);
|
---|
32 | }
|
---|
33 |
|
---|
34 | }
|
---|
35 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.