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.jdt.ui.dialogs;
11:
12: /**
13: * A filter to select {@link ITypeInfoRequestor} objects.
14: * <p>
15: * The interface should be implemented by clients wishing to provide special
16: * filtering to the type selection dialog.
17: * </p>
18: *
19: * @since 3.2
20: */
21: public interface ITypeInfoFilterExtension {
22:
23: /**
24: * Returns whether the given type makes it into the list or
25: * not.
26: *
27: * @param typeInfoRequestor the <code>ITypeInfoRequestor</code> to
28: * used to access data for the type under inspection
29: *
30: * @return whether the type is selected or not
31: */
32: public boolean select(ITypeInfoRequestor typeInfoRequestor);
33:
34: }
|