Removed UI.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / ui / filters / JavaFileFilter.java
diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/filters/JavaFileFilter.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/filters/JavaFileFilter.java
deleted file mode 100644 (file)
index d406dc8..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2000, 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials 
- * are made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- * 
- * Contributors:
- *     IBM Corporation - initial API and implementation
- *******************************************************************************/
-package net.sourceforge.phpdt.internal.ui.filters;
-
-import net.sourceforge.phpdt.core.ICompilationUnit;
-
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-
-/**
- * Filters out all compilation units and class files elements.
- */
-public class JavaFileFilter extends ViewerFilter {
-
-       /**
-        * Returns the result of this filter, when applied to the given inputs.
-        * 
-        * @param inputs
-        *            the set of elements to
-        * @return Returns true if element should be included in filtered set
-        */
-       public boolean select(Viewer viewer, Object parent, Object element) {
-               if (element instanceof ICompilationUnit)
-                       return false;
-               // if (element instanceof IClassFile)
-               // return false;
-
-               // if (element instanceof IPackageFragment)
-               // try {
-               // return ((IPackageFragment)element).getNonJavaResources().length > 0;
-               // } catch (JavaModelException ex) {
-               // return true;
-               // }
-               return true;
-       }
-}