mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 20:35:38 +02:00
Comment adjustment.
This commit is contained in:
parent
7d376a5e01
commit
d37532a23c
3 changed files with 20 additions and 16 deletions
|
@ -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;
|
||||||
|
|
||||||
|
@ -16,19 +16,20 @@ import org.eclipse.core.runtime.CoreException;
|
||||||
/**
|
/**
|
||||||
* An IIndexProvider implementation provides additional indexing information for CDT projects
|
* An IIndexProvider implementation provides additional indexing information for CDT projects
|
||||||
* This interface only exists to hold commonality from sub-interfaces.
|
* This interface only exists to hold commonality from sub-interfaces.
|
||||||
*
|
*
|
||||||
* @noextend This interface is not intended to be extended by clients.
|
* @noextend This interface is not intended to be extended by clients.
|
||||||
* @noimplement This interface is not intended to be implemented by clients.
|
* @noimplement This interface is not intended to be implemented by clients.
|
||||||
* @since 4.0
|
* @since 4.0
|
||||||
*/
|
*/
|
||||||
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;
|
||||||
|
|
|
@ -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 {
|
||||||
/**
|
/**
|
||||||
|
@ -24,10 +24,10 @@ public interface IPDOMDescriptor {
|
||||||
* @return an absolute location of an existing file
|
* @return an absolute location of an existing file
|
||||||
*/
|
*/
|
||||||
IPath getLocation();
|
IPath getLocation();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An index location converter suitable of translating the internal
|
* An index location converter suitable of translating the internal
|
||||||
* formatted path representations to index locations representing the
|
* formatted path representations to index locations representing the
|
||||||
* current content location.
|
* current content location.
|
||||||
* @return an index location converter
|
* @return an index location converter
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ import org.eclipse.core.runtime.CoreException;
|
||||||
* The ICProject IIndex is a logical index composed of potentially many
|
* The ICProject IIndex is a logical index composed of potentially many
|
||||||
* IIndexFragments. An IIndexFragmentProvider is a source of IIndexFragments.
|
* IIndexFragments. An IIndexFragmentProvider is a source of IIndexFragments.
|
||||||
* <p>
|
* <p>
|
||||||
*
|
*
|
||||||
* <p>
|
* <p>
|
||||||
* IndexProviders are registered via the extension point
|
* IndexProviders are registered via the extension point
|
||||||
* <code>org.eclipse.cdt.core.CIndex</code>
|
* <code>org.eclipse.cdt.core.CIndex</code>
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue