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

Bug 219335

Summary: [filters] replace implicit rule for empty classpath containers with filter
Product: [Eclipse Project] JDT Reporter: Eugene Kuleshov <ekuleshov>
Component: UIAssignee: Martin Aeschlimann <martinae>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, martinae, mik.kersten
Version: 3.4Flags: daniel_megert: review+
Target Milestone: 3.4 RC1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch
none
additional patch none

Description Eugene Kuleshov CLA 2008-02-18 13:15:59 EST
Package Explorer view has an implicit rule that hides all empty classpath containers and jar folders like "Referenced Libraries". This rule is interfering with tools like Mylyn that applies its own task-focused filtering and even non-empty "Referenced Libraries" folder isn't shown when Mylyn filtering is on.

One way to address this issue would be to replace implicit rule for "Referenced Libraries" and other empty classpath folders with an explicit filter. That filter will be visible in view menu / Filters... and also can be disabled/enabled by Mylyn using filter API.
Comment 1 Martin Aeschlimann CLA 2008-05-07 08:54:54 EDT
Created attachment 99062 [details]
patch
Comment 2 Martin Aeschlimann CLA 2008-05-07 08:55:32 EDT
Dani, can you review?
Comment 3 Dani Megert CLA 2008-05-07 09:58:36 EDT
Patch looks is good. Maybe we could now always show the 'Referenced Libraries' node.
Comment 4 Martin Aeschlimann CLA 2008-05-07 10:07:07 EDT
Created attachment 99074 [details]
additional patch

Additional patch to show always add the 'References libraries' node, also if project has no libraries. The filter will decide if it is shown or not.
Comment 5 Martin Aeschlimann CLA 2008-05-07 10:08:16 EDT
patches released > 20080507