1 /*******************************************************************************
2 * Copyright (c) 2000, 2004 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.ui;
14 * Search scope constants for Java selection dialogs.
16 * This interface declares constants only; it is not intended to be implemented.
21 public interface IJavaElementSearchConstants {
24 * Search scope constant (bit mask) indicating that classes should be considered.
25 * Used when opening certain kinds of selection dialogs.
27 public static final int CONSIDER_CLASSES= 1 << 1;
30 * Search scope constant (bit mask) indicating that interfaces should be considered.
31 * Used when opening certain kinds of selection dialogs.
33 public static final int CONSIDER_INTERFACES= 1 << 2;
36 * Search scope constant (bit mask) indicating that both classes and interfaces
37 * should be considered. Equivalent to
38 * <code>CONSIDER_CLASSES | CONSIDER_INTERFACES</code>.
40 public static final int CONSIDER_TYPES= CONSIDER_CLASSES | CONSIDER_INTERFACES;
43 * Search scope constant (bit mask) indicating that binaries should be considered.
44 * Used when opening certain kinds of selection dialogs.
46 public static final int CONSIDER_BINARIES= 1 << 3;
49 * Search scope constant (bit mask) indicating that external JARs should be considered.
50 * Used when opening certain kinds of selection dialogs.
52 public static final int CONSIDER_EXTERNAL_JARS= 1 << 4;
55 * Search scope constant (bit mask) indicating that required projects should be considered.
56 * Used when opening certain kinds of selection dialogs.
60 public static final int CONSIDER_REQUIRED_PROJECTS= 1 << 5;