1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Comment adjustment.

This commit is contained in:
Sergey Prigogin 2011-03-06 23:54:12 +00:00
parent 7d376a5e01
commit d37532a23c
3 changed files with 20 additions and 16 deletions

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - Initial implementation * Andrew Ferguson (Symbian) - Initial implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index.provider; package org.eclipse.cdt.core.index.provider;
@ -23,12 +23,13 @@ import org.eclipse.core.runtime.CoreException;
*/ */
public interface IIndexProvider { public interface IIndexProvider {
/** /**
* This method is called to attach the index provider to the project specified. If the provider determines that it doesn't * This method is called to attach the index provider to the project specified. If the provider
* and will never provide indexes for the specified project, then it should return false to opt-out of being queried for * determines that it doesn't and will never provide indexes for the specified project, then it
* that project. * should return false to opt-out of being queried for that project.
* <p> * <p>
* The method will only be called once per project per eclipse session. This method will be called when a project is deleted * The method will only be called once per project per eclipse session. This method will be
* and a new project of the same name added. It also may be called lazily (at the point of first logical index use). * 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 * @param project
*/ */
public boolean providesFor(ICProject project) throws CoreException; public boolean providesFor(ICProject project) throws CoreException;

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - Initial implementation * Andrew Ferguson (Symbian) - Initial implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.index.provider; package org.eclipse.cdt.core.index.provider;
@ -15,7 +15,7 @@ import org.eclipse.core.runtime.IPath;
/** /**
* Describes a PDOM format file in the local file system. * Describes a PDOM format file in the local file system.
* @since 4.0.0 * @since 4.0
*/ */
public interface IPDOMDescriptor { public interface IPDOMDescriptor {
/** /**

View file

@ -6,7 +6,7 @@
* http://www.eclipse.org/legal/epl-v10.html * http://www.eclipse.org/legal/epl-v10.html
* *
* Contributors: * Contributors:
* Andrew Ferguson (Symbian) - Initial implementation * Andrew Ferguson (Symbian) - Initial implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.internal.core.index.provider; package org.eclipse.cdt.internal.core.index.provider;
@ -27,9 +27,12 @@ import org.eclipse.core.runtime.CoreException;
*/ */
public interface IIndexFragmentProvider extends IIndexProvider { 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 * @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; IIndexFragment[] getIndexFragments(ICConfigurationDescription config) throws CoreException;
} }