Bug 245105

Summary: [CommonNavigator] commonFilters should not be enabled/visible when their navigatorContent is disabled
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: aleherb+eclipse, francisu, markus.kell.r
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=550385
https://bugs.eclipse.org/bugs/show_bug.cgi?id=549953
https://bugs.eclipse.org/bugs/show_bug.cgi?id=550379
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 295136    

Description Dani Megert CLA 2008-08-25 08:01:49 EDT
R3.4 and 3.5 M1.

The Project Explorer offers a filter for Java output folders (which is even on by default). This is wrong because users that decide not to see Java elements will still not see the output folder(s).

The content provider for Java elements should filter the output folders and the filter should be removed.
Comment 1 Dani Megert CLA 2008-08-25 08:19:05 EDT
Well, actually the current solution is OK because it allows to show the output folders while still in Java mode.

The problem (and the trigger for this bug is): I wanted to disable Java elements in the Project Explorer and edit some files in the Java output folder. Unfortunately the folder was not visible.

I think the correct solution is to bind filters to content providers (aka navigatorContent) and only enable them when the corresponding content provider is enabled.
Comment 2 Francis Upton IV CLA 2010-03-12 03:05:54 EST
See also bug 295136.

This will also have the effect of not creating code in a plugin for those NCEs that are not active which can help performance in some cases.
Comment 3 Francis Upton IV CLA 2010-03-24 11:42:20 EDT
*** Bug 306922 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2010-03-24 12:32:35 EDT
*** Bug 306922 has been marked as a duplicate of this bug. ***
Comment 5 Eclipse Genie CLA 2021-08-13 03:48:50 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.