Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.search
Interface ICSearchScope


public interface ICSearchScope


Method Summary
 boolean encloses(ICElement element)
          Checks whether this scope encloses the given element.
 boolean encloses(String resourcePath)
          Checks whether the resource at the given path is enclosed by this scope.
 IPath[] enclosingProjects()
          Returns the paths to the enclosing projects for this search scope.
 

Method Detail

encloses

boolean encloses(String resourcePath)
Checks whether the resource at the given path is enclosed by this scope.

Parameters:
resourcePath - if the resource is contained in
Returns:
whether the resource is enclosed by this scope

encloses

boolean encloses(ICElement element)
Checks whether this scope encloses the given element.

Parameters:
element - the given element
Returns:
true if the element is in this scope

enclosingProjects

IPath[] enclosingProjects()
Returns the paths to the enclosing projects for this search scope.

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.