blob: 104dc190c4315824d0301b7f3437e17ffd8d7054 [file] [log] [blame]
package org.eclipse.ui.internal.dialogs;
/*
* Copyright (c) 2002 IBM Corp. All rights reserved.
* This file is 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
*/
import java.util.Collection;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* The IElementFilter is a interface that defines
* the api for filtering the current selection of
* a ResourceTreeAndListGroup in order to find a
* subset to update as the result of a type filtering.
* This is meant as an internal class and is used exlcusively
* by the import dialog.
*/
public interface IElementFilter {
public void filterElements(Collection elements, IProgressMonitor monitor)
throws InterruptedException;
public void filterElements(Object[] elements, IProgressMonitor monitor)
throws InterruptedException;
}