KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > core > search > AbstractSearchScope


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.internal.core.search;
12
13 import org.eclipse.jdt.core.IJavaElementDelta;
14 import org.eclipse.jdt.core.search.IJavaSearchScope;
15
16 public abstract class AbstractSearchScope implements IJavaSearchScope {
17
18 /**
19  * @see IJavaSearchScope#includesBinaries()
20  * @deprecated
21  */

22 public boolean includesBinaries() {
23     return true;
24 }
25
26 /**
27  * @see IJavaSearchScope#includesClasspaths()
28  * @deprecated
29  */

30 public boolean includesClasspaths() {
31     return true;
32 }
33
34 /* (non-Javadoc)
35  * Process the given delta and refresh its internal state if needed.
36  * Returns whether the internal state was refreshed.
37  */

38 public abstract void processDelta(IJavaElementDelta delta);
39
40 /**
41  * @see IJavaSearchScope#setIncludesBinaries(boolean)
42  * @deprecated
43  */

44 public void setIncludesBinaries(boolean includesBinaries) {
45     // implements interface method
46
}
47
48 /**
49  * @see IJavaSearchScope#setIncludesClasspaths(boolean)
50  * @deprecated
51  */

52 public void setIncludesClasspaths(boolean includesClasspaths) {
53     // implements interface method
54
}
55
56 }
57
Popular Tags