| /******************************************************************************* |
| * Copyright (c) 2000, 2009 IBM Corporation and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * IBM Corporation - initial API and implementation |
| *******************************************************************************/ |
| package org.eclipse.wst.jsdt.ui; |
| |
| /** |
| * |
| * Provisional API: This class/interface is part of an interim API that is still under development and expected to |
| * change significantly before reaching stability. It is being made available at this early stage to solicit feedback |
| * from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken |
| * (repeatedly) as the API evolves. |
| */ |
| public interface IJavaScriptElementSearchConstants { |
| |
| /** |
| * Search scope constant 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 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 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. |
| * |
| * |
| */ |
| public static final int CONSIDER_REQUIRED_PROJECTS= 1 << 5; |
| |
| /** |
| * Search scope constant indicating that annotation types should be considered. |
| * Used when opening certain kinds of selection dialogs. |
| * |
| * |
| */ |
| public static final int CONSIDER_ANNOTATION_TYPES= 1 << 6; |
| |
| /** |
| * Search scope constant indicating that enums should be considered. |
| * Used when opening certain kinds of selection dialogs. |
| * |
| * |
| */ |
| public static final int CONSIDER_ENUMS= 1 << 7; |
| |
| /** |
| * Search scope constant indicating that classes, interfaces, annotations |
| * and enums should be considered. |
| * |
| * |
| */ |
| public static final int CONSIDER_ALL_TYPES= 1 << 8; |
| |
| /** |
| * Search scope constant indicating that only classes and interfaces |
| * should be considered. |
| * |
| * |
| */ |
| public static final int CONSIDER_CLASSES_AND_INTERFACES= 1 << 9; |
| |
| /** |
| * Search scope constant indicating that only classes and enumeration types |
| * should be considered. |
| * |
| * |
| */ |
| public static final int CONSIDER_CLASSES_AND_ENUMS= 1 << 10; |
| } |