TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.hyades.ui.internal.util
Class JavaSearchScope

java.lang.Object
  extended by org.eclipse.hyades.ui.internal.util.JavaSearchScope
All Implemented Interfaces:
org.eclipse.hyades.ui.util.IDisposable, org.eclipse.jdt.core.search.IJavaSearchScope

public class JavaSearchScope
extends java.lang.Object
implements org.eclipse.jdt.core.search.IJavaSearchScope, org.eclipse.hyades.ui.util.IDisposable

Implementation of the IJavaSearchScope.


Field Summary
 
Fields inherited from interface org.eclipse.jdt.core.search.IJavaSearchScope
APPLICATION_LIBRARIES, JAR_FILE_ENTRY_SEPARATOR, REFERENCED_PROJECTS, SOURCES, SYSTEM_LIBRARIES
 
Constructor Summary
JavaSearchScope()
          Constructor for ResourceSearchJavaScope.
 
Method Summary
 boolean addJavaElement(org.eclipse.jdt.core.IJavaElement element)
          Adds a Java element to this scope.
 boolean addProjectAndJarPath(org.eclipse.core.runtime.IPath path)
          Adds the project and the jar paths.
 boolean addResource(org.eclipse.core.resources.IResource resource)
          Adds a resource to this scope.
 boolean addResource(java.lang.String resource)
          Adds a resource to this scope.
 void dispose()
           
 boolean encloses(org.eclipse.jdt.core.IJavaElement element)
           
 boolean encloses(java.lang.String resourcePath)
           
 org.eclipse.core.runtime.IPath[] enclosingProjectsAndJars()
           
 boolean includesBinaries()
          Deprecated.  
 boolean includesClasspaths()
          Deprecated.  
 void setIncludesBinaries(boolean includesBinaries)
          Deprecated.  
 void setIncludesClasspaths(boolean includesClasspaths)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaSearchScope

public JavaSearchScope()
Constructor for ResourceSearchJavaScope.

Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable
See Also:
IDisposable.dispose()

addJavaElement

public boolean addJavaElement(org.eclipse.jdt.core.IJavaElement element)
Adds a Java element to this scope.

Parameters:
element -
Returns:
true if the element was added or false otherwise.

addResource

public boolean addResource(org.eclipse.core.resources.IResource resource)
Adds a resource to this scope.

Parameters:
IResource - resource
Returns:
true if the resource was added or false otherwise.

addResource

public boolean addResource(java.lang.String resource)
Adds a resource to this scope.

Parameters:
String - resource
Returns:
true if the resource was added or false otherwise.

addProjectAndJarPath

public boolean addProjectAndJarPath(org.eclipse.core.runtime.IPath path)
Adds the project and the jar paths.

Parameters:
path -
Returns:
true if the resource was added or false otherwise.

encloses

public boolean encloses(org.eclipse.jdt.core.IJavaElement element)
Specified by:
encloses in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.encloses(IJavaElement)

encloses

public boolean encloses(java.lang.String resourcePath)
Specified by:
encloses in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.encloses(String)

enclosingProjectsAndJars

public org.eclipse.core.runtime.IPath[] enclosingProjectsAndJars()
Specified by:
enclosingProjectsAndJars in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.enclosingProjectsAndJars()

includesBinaries

public boolean includesBinaries()
Deprecated. 

Specified by:
includesBinaries in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.includesBinaries()

includesClasspaths

public boolean includesClasspaths()
Deprecated. 

Specified by:
includesClasspaths in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.includesClasspaths()

setIncludesBinaries

public void setIncludesBinaries(boolean includesBinaries)
Deprecated. 

Specified by:
setIncludesBinaries in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.setIncludesBinaries(boolean)

setIncludesClasspaths

public void setIncludesClasspaths(boolean includesClasspaths)
Deprecated. 

Specified by:
setIncludesClasspaths in interface org.eclipse.jdt.core.search.IJavaSearchScope
See Also:
IJavaSearchScope.setIncludesClasspaths(boolean)

TPTP 4.6.0 Platform Project
Internal API Specification