KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > ide > dialogs > IElementFilter


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

11 package org.eclipse.ui.internal.ide.dialogs;
12
13 import java.util.Collection JavaDoc;
14
15 import org.eclipse.core.runtime.IProgressMonitor;
16
17 /**
18  * The IElementFilter is a interface that defines
19  * the api for filtering the current selection of
20  * a ResourceTreeAndListGroup in order to find a
21  * subset to update as the result of a type filtering.
22  * This is meant as an internal class and is used exlcusively
23  * by the import dialog.
24  */

25
26 public interface IElementFilter {
27
28     public void filterElements(Collection JavaDoc elements, IProgressMonitor monitor)
29             throws InterruptedException JavaDoc;
30
31     public void filterElements(Object JavaDoc[] elements, IProgressMonitor monitor)
32             throws InterruptedException JavaDoc;
33
34 }
35
Popular Tags