Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Filtering in Java Views

Applying View Filters

All Java views allow to filter the displayed Java elements. The set of available filters depends on the view.

To filter elements:

  1. On the view toolbar, click the Menu button and choose Filters....
  2. Select or clear the filters that you want to apply to the view (read Filter description to learn about the selected filter's functionality).
  3. Optionally, you can select patterns for filtering the view:
    • Select the Name filter patterns checkbox at the top of the dialog.
    • In the text field below, specify the desired patterns (names matching one of the patterns will be hidden).

Filtering Members

Several Java views (e.g. Outline, Type Hierarchy, Members) offer filtering of members (fields, types and methods). The filters are available as toolbar buttons or as view menu items, depending on the view. There are 3 member filters:

  • Hide Fields: when activated, this filter causes all fields to be removed from the view.
  • Hide Static Fields and Methods: when activated, this filter causes all static members to be removed from the view.
  • Hide Non-Public Members: when activated, this filter causes all non-public members to be removed from the view.
Additionally, the Package Explorer view can display or hide all elements inside compilation units.

To show or hide members in the Package Explorer view, select or clear the Show members in Package Explorer checkbox in the Opens the Appearance preference page Java > Appearance preference page.

Filtering Working Sets

Several Java views (e.g. Package Explorer, Type Hierarchy) offer to filter by one or more working sets. The filters are available in the view menu. Only the elements that are contained in the selected working sets are shown in the view.

Related concepts

Java projects
Working sets

Related reference

Package explorer

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire