mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Comment adjustment.
This commit is contained in:
parent
7d376a5e01
commit
d37532a23c
3 changed files with 20 additions and 16 deletions
|
@ -23,12 +23,13 @@ import org.eclipse.core.runtime.CoreException;
|
|||
*/
|
||||
public interface IIndexProvider {
|
||||
/**
|
||||
* This method is called to attach the index provider to the project specified. If the provider determines that it doesn't
|
||||
* and will never provide indexes for the specified project, then it should return false to opt-out of being queried for
|
||||
* that project.
|
||||
* This method is called to attach the index provider to the project specified. If the provider
|
||||
* determines that it doesn't and will never provide indexes for the specified project, then it
|
||||
* should return false to opt-out of being queried for that project.
|
||||
* <p>
|
||||
* The method will only be called once per project per eclipse session. This method will be called when a project is deleted
|
||||
* and a new project of the same name added. It also may be called lazily (at the point of first logical index use).
|
||||
* The method will only be called once per project per eclipse session. This method will be
|
||||
* called when a project is deleted and a new project of the same name added. It also may be
|
||||
* called lazily (at the point of first logical index use).
|
||||
* @param project
|
||||
*/
|
||||
public boolean providesFor(ICProject project) throws CoreException;
|
||||
|
|
|
@ -15,7 +15,7 @@ import org.eclipse.core.runtime.IPath;
|
|||
|
||||
/**
|
||||
* Describes a PDOM format file in the local file system.
|
||||
* @since 4.0.0
|
||||
* @since 4.0
|
||||
*/
|
||||
public interface IPDOMDescriptor {
|
||||
/**
|
||||
|
|
|
@ -27,9 +27,12 @@ import org.eclipse.core.runtime.CoreException;
|
|||
*/
|
||||
public interface IIndexFragmentProvider extends IIndexProvider {
|
||||
/**
|
||||
* Returns an array of IIndexFragment objects to add to the specified {@link ICConfigurationDescription}
|
||||
* Returns an array of IIndexFragment objects to add to the specified
|
||||
* {@link ICConfigurationDescription}.
|
||||
*
|
||||
* @param project
|
||||
* @return an array of IIndexFragment objects to add to the specified {@link ICConfigurationDescription}
|
||||
* @return an array of IIndexFragment objects to add to the specified
|
||||
* {@link ICConfigurationDescription}
|
||||
*/
|
||||
IIndexFragment[] getIndexFragments(ICConfigurationDescription config) throws CoreException;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue