Skip to content

Conversation

@ptziegler
Copy link
Contributor

This moves the duplicate code of the E3.x and E4.x based FilteredTree class and moves it into an AbstractFilteredViewerComposite class located in the JFace component.

The base class is currently only implementing a tree-based filter, but is structured in such a way that it can easily be extended to also support e.g. table-based filters.

Due to being unused, the following fields and methods have been marked as deprecated:

  • filterToolBar
  • clearButtonControl
  • updateToolbar(boolean)

Contributes to
#2567

This moves the duplicate code of the E3.x and E4.x based FilteredTree
class and moves it into an AbstractFilteredViewerComposite class located
in the JFace component.

The base class is currently only implementing a tree-based filter, but
is structured in such a way that it can easily be extended to also
support e.g. table-based filters.

Due to being unused, the following fields and methods have been marked
as deprecated:
- filterToolBar
- clearButtonControl
- updateToolbar(boolean)

Contributes to
eclipse-platform#2567
@ptziegler
Copy link
Contributor Author

This diff is already pretty big, so I think it's better to separate the refactoring from the FilteredTable implementation.

@github-actions
Copy link
Contributor

Test Results

 1 818 files  ±0   1 818 suites  ±0   1h 34m 30s ⏱️ + 2m 40s
 7 733 tests ±0   7 505 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 360 runs  ±0  23 611 ✅ ±0  749 💤 ±0  0 ❌ ±0 

Results for commit 8684065. ± Comparison against base commit f5f10d1.

@vogella
Copy link
Contributor

vogella commented Jan 15, 2025

LGTM, also passes all the tests, thanks @ptziegler

@vogella vogella merged commit 176f503 into eclipse-platform:master Jan 15, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants