699d33e2a2cbea79d0efdb620c2945e7d3284293
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / IJavaElementSearchConstants.java
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
7  * 
8  * Contributors:
9  *     IBM Corporation - initial API and implementation
10  *******************************************************************************/
11 package net.sourceforge.phpdt.ui;
12
13 /**
14  * Search scope constants for Java selection dialogs.
15  * <p>
16  * This interface declares constants only; it is not intended to be implemented.
17  * </p>
18  * 
19  * @see JavaUI
20  */
21 public interface IJavaElementSearchConstants {
22
23         /**
24          * Search scope constant (bit mask) indicating that classes should be
25          * considered. Used when opening certain kinds of selection dialogs.
26          */
27         public static final int CONSIDER_CLASSES = 1 << 1;
28
29         /**
30          * Search scope constant (bit mask) indicating that interfaces should be
31          * considered. Used when opening certain kinds of selection dialogs.
32          */
33         public static final int CONSIDER_INTERFACES = 1 << 2;
34
35         /**
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>.
39          */
40         public static final int CONSIDER_TYPES = CONSIDER_CLASSES
41                         | CONSIDER_INTERFACES;
42
43         /**
44          * Search scope constant (bit mask) indicating that binaries should be
45          * considered. Used when opening certain kinds of selection dialogs.
46          */
47         public static final int CONSIDER_BINARIES = 1 << 3;
48
49         /**
50          * Search scope constant (bit mask) indicating that external JARs should be
51          * considered. Used when opening certain kinds of selection dialogs.
52          */
53         public static final int CONSIDER_EXTERNAL_JARS = 1 << 4;
54
55         /**
56          * Search scope constant (bit mask) indicating that required projects should
57          * be considered. Used when opening certain kinds of selection dialogs.
58          * 
59          * @since 2.0
60          */
61         public static final int CONSIDER_REQUIRED_PROJECTS = 1 << 5;
62
63 }