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
25 * considered. 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
31 * considered. 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
37 * interfaces should be considered. Equivalent to
38 * <code>CONSIDER_CLASSES | CONSIDER_INTERFACES</code>.
40 public static final int CONSIDER_TYPES = CONSIDER_CLASSES
41 | CONSIDER_INTERFACES;
44 * Search scope constant (bit mask) indicating that binaries should be
45 * considered. Used when opening certain kinds of selection dialogs.
47 public static final int CONSIDER_BINARIES = 1 << 3;
50 * Search scope constant (bit mask) indicating that external JARs should be
51 * considered. Used when opening certain kinds of selection dialogs.
53 public static final int CONSIDER_EXTERNAL_JARS = 1 << 4;
56 * Search scope constant (bit mask) indicating that required projects should
57 * be considered. Used when opening certain kinds of selection dialogs.
61 public static final int CONSIDER_REQUIRED_PROJECTS = 1 << 5;