Class ExternalExportProjectProvider
java.lang.Object
org.eclipse.cdt.core.index.export.AbstractExportProjectProvider
org.eclipse.cdt.core.index.export.ExternalExportProjectProvider
- All Implemented Interfaces:
IExportProjectProvider
An IExportProjectProvider suitable for indexing an external folder. The arguments understood by this provider
are
- -source what will become the root of the indexed content
- -include any preinclude files to configure the parser with
- -id the id to write to the produce fragment
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class org.eclipse.cdt.core.index.export.AbstractExportProjectProvider
NPM
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates, configures and returns a project for the indexer to index.protected List<IPathEntry>
Get additional raw entries (above those added as part of the ExternalExportProjectProvider functionality)protected org.eclipse.core.resources.IFolder
Returns the project folder the external content is stored inGet a String to String map of properties to store with the index content.getLocationConverter
(ICProject cproject) The location converter to use on export.Methods inherited from class org.eclipse.cdt.core.index.export.AbstractExportProjectProvider
fail, getApplicationArguments, getParameters, getParameters, getParsedArgs, getSingleString, isPresent, setApplicationArguments
-
Field Details
-
OPT_SOURCE
- See Also:
-
OPT_INCLUDE
- See Also:
-
OPT_EXCLUDE
- Since:
- 5.7
- See Also:
-
OPT_FRAGMENT_ID
- See Also:
-
-
Constructor Details
-
ExternalExportProjectProvider
public ExternalExportProjectProvider()
-
-
Method Details
-
createProject
Description copied from interface:IExportProjectProvider
Creates, configures and returns a project for the indexer to index. This routine should not itself index the project, as a reindex will be performed by the framework. May not return null.- Throws:
org.eclipse.core.runtime.CoreException
-
getContentFolder
protected org.eclipse.core.resources.IFolder getContentFolder()Returns the project folder the external content is stored in- Returns:
- the project folder the external content is stored in
-
getAdditionalRawEntries
Get additional raw entries (above those added as part of the ExternalExportProjectProvider functionality)- Returns:
- a list of additional entries to add to the project
-
getLocationConverter
Description copied from interface:IExportProjectProvider
The location converter to use on export. This converter will be called to convert IIndexFileLocation's to an external form. The external form is implementation dependent. -
getExportProperties
Description copied from interface:IExportProjectProvider
Get a String to String map of properties to store with the index content. The export framework may ignore this if the index format does not support this. The PDOM format does support properties.- Returns:
- a Map of String typed key value pairs representing ISV specific properties. This may return null.
-