01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.ui.internal.ide.dialogs;
11:
12: import java.util.Collection;
13:
14: import org.eclipse.core.runtime.IProgressMonitor;
15:
16: /**
17: * The IElementFilter is a interface that defines
18: * the api for filtering the current selection of
19: * a ResourceTreeAndListGroup in order to find a
20: * subset to update as the result of a type filtering.
21: * This is meant as an internal class and is used exlcusively
22: * by the import dialog.
23: */
24:
25: public interface IElementFilter {
26:
27: public void filterElements(Collection elements,
28: IProgressMonitor monitor) throws InterruptedException;
29:
30: public void filterElements(Object[] elements,
31: IProgressMonitor monitor) throws InterruptedException;
32:
33: }
|