Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 581362

Summary: Create a filter strategy with excludes
Product: [Technology] NatTable Reporter: Dirk Fauth <dirk.fauth>
Component: GlazedLists ExtensionAssignee: Dirk Fauth <dirk.fauth>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.0.5   
Target Milestone: 2.1.0   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199429
https://git.eclipse.org/c/nattable/org.eclipse.nebula.widgets.nattable.git/commit/?id=1695769432518c10d4e0991d43c0e06e334d7d71
Whiteboard:

Description Dirk Fauth CLA 2023-01-16 08:22:54 EST
The current available IFilterStrategy implementations only allow to define filters. It is possible to add dynamic filters entered by users and it is possible to add static filters that are added programmatically. These two filter types are combined in AND mode and result in removing items from a collection.

There are use cases where you would like to avoid that items can be filtered by a user. For example a user marks some entries in a table he wants to see always, and then applies a filter to find other entries of interest.

There should be an IFilterStrategy that also allows to exclude entries from a filter.
Comment 1 Eclipse Genie CLA 2023-01-16 08:24:41 EST
New Gerrit change created: https://git.eclipse.org/r/c/nattable/org.eclipse.nebula.widgets.nattable/+/199429
Comment 3 Dirk Fauth CLA 2023-03-31 03:48:14 EDT
Fixed with 2.1.0