KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > navigator > NonEssentialEmptyPackageFilter


1 /***************************************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved. This program and the
3  * accompanying materials are made available under the terms of the Eclipse Public License v1.0
4  * which accompanies this distribution, and is available at
5  * http://www.eclipse.org/legal/epl-v10.html
6  *
7  * Contributors: IBM Corporation - initial API and implementation
8  **************************************************************************************************/

9 package org.eclipse.jdt.internal.ui.navigator;
10
11 import org.eclipse.jdt.internal.ui.filters.EmptyPackageFilter;
12
13
14
15
16 /**
17  * Filters out all empty package fragments unless the mode of the viewer is set to hierarchical
18  * layout.
19  *
20  * This filter is only applicable to instances of the Common Navigator.
21  */

22 public class NonEssentialEmptyPackageFilter extends NonEssentialElementsFilter {
23   
24     public NonEssentialEmptyPackageFilter() {
25         super(new EmptyPackageFilter());
26     }
27 }
28
Popular Tags