KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > ui > dialogs > ITypeInfoFilterExtension


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.jdt.ui.dialogs;
12
13 /**
14  * A filter to select {@link ITypeInfoRequestor} objects.
15  * <p>
16  * The interface should be implemented by clients wishing to provide special
17  * filtering to the type selection dialog.
18  * </p>
19  *
20  * @since 3.2
21  */

22 public interface ITypeInfoFilterExtension {
23     
24     /**
25      * Returns whether the given type makes it into the list or
26      * not.
27      *
28      * @param typeInfoRequestor the <code>ITypeInfoRequestor</code> to
29      * used to access data for the type under inspection
30      *
31      * @return whether the type is selected or not
32      */

33     public boolean select(ITypeInfoRequestor typeInfoRequestor);
34     
35 }
36
Popular Tags