improved PHP parser
[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 considered.
25          * 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 considered.
31          * 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 interfaces 
37          * should be considered. Equivalent to
38          * <code>CONSIDER_CLASSES | CONSIDER_INTERFACES</code>.
39          */
40         public static final int CONSIDER_TYPES= CONSIDER_CLASSES | CONSIDER_INTERFACES;
41
42         /**
43          * Search scope constant (bit mask) indicating that binaries should be considered.
44          * Used when opening certain kinds of selection dialogs.
45          */
46         public static final int CONSIDER_BINARIES= 1 << 3;
47
48         /**
49          * Search scope constant (bit mask) indicating that external JARs should be considered.
50          * Used when opening certain kinds of selection dialogs.
51          */
52         public static final int CONSIDER_EXTERNAL_JARS= 1 << 4;
53
54         /**
55          * Search scope constant (bit mask) indicating that required projects should be considered.
56          * Used when opening certain kinds of selection dialogs.
57          * 
58          * @since 2.0
59          */     
60         public static final int CONSIDER_REQUIRED_PROJECTS= 1 << 5;
61
62 }