Summary: | Add view filter that filters types as defined on the 'Type Filters' preference page | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Alex Blewitt <alex.blewitt> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | ASSIGNED --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | daniel_megert |
Version: | 4.3 | Keywords: | helpwanted |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Alex Blewitt
2012-10-16 17:45:32 EDT
I'm against hard-coding the *.internal.* pattern. The correct approach here is to hide things based on the access restrictions which Eclipse already sets on the libraries when using PDE and which each project can define by itself. By default those are set to 'discouraged' for internal Eclipse dependencies and not hidden but you can simply change this on the 'Type Filters' preference page. Unfortunately this does currently not work for 'Open Type' (see bug 392135). Now, of course this does not yet solve your problem. What we need is a view filter (org.eclipse.jdt.ui.javaElementFilters)that applies the 'Type Filters' on the view. This filter would be added to all our JDT views (Package Explorer, Packages view, Types view etc.). |