X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/IJavaElementSearchConstants.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/IJavaElementSearchConstants.java new file mode 100644 index 0000000..699d33e --- /dev/null +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/ui/IJavaElementSearchConstants.java @@ -0,0 +1,63 @@ +/******************************************************************************* + * Copyright (c) 2000, 2004 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package net.sourceforge.phpdt.ui; + +/** + * Search scope constants for Java selection dialogs. + *

+ * This interface declares constants only; it is not intended to be implemented. + *

+ * + * @see JavaUI + */ +public interface IJavaElementSearchConstants { + + /** + * Search scope constant (bit mask) indicating that classes should be + * considered. Used when opening certain kinds of selection dialogs. + */ + public static final int CONSIDER_CLASSES = 1 << 1; + + /** + * Search scope constant (bit mask) indicating that interfaces should be + * considered. Used when opening certain kinds of selection dialogs. + */ + public static final int CONSIDER_INTERFACES = 1 << 2; + + /** + * Search scope constant (bit mask) indicating that both classes and + * interfaces should be considered. Equivalent to + * CONSIDER_CLASSES | CONSIDER_INTERFACES. + */ + public static final int CONSIDER_TYPES = CONSIDER_CLASSES + | CONSIDER_INTERFACES; + + /** + * Search scope constant (bit mask) indicating that binaries should be + * considered. Used when opening certain kinds of selection dialogs. + */ + public static final int CONSIDER_BINARIES = 1 << 3; + + /** + * Search scope constant (bit mask) indicating that external JARs should be + * considered. Used when opening certain kinds of selection dialogs. + */ + public static final int CONSIDER_EXTERNAL_JARS = 1 << 4; + + /** + * Search scope constant (bit mask) indicating that required projects should + * be considered. Used when opening certain kinds of selection dialogs. + * + * @since 2.0 + */ + public static final int CONSIDER_REQUIRED_PROJECTS = 1 << 5; + +}