Package org.eclipse.cdt.core.index
Interface IIndexChangeEvent
-
public interface IIndexChangeEvent
IndexChangeEvents describe changes to the index.- Since:
- 4.0
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICProject
getAffectedProject()
Returns the project for which the index has changed.Set<IIndexFileLocation>
getFilesCleared()
Returns the set of files that has been cleared in the index.Set<IIndexFileLocation>
getFilesWritten()
Returns the set of files that has been added or updated.boolean
hasNewFile()
Returnstrue
when a new file had been added to the index.boolean
isCleared()
Returnstrue
when the index for the project was cleared.boolean
isReloaded()
Returnstrue
when the index for the project was loaded for the first time or reloaded with a different database.
-
-
-
Method Detail
-
getAffectedProject
ICProject getAffectedProject()
Returns the project for which the index has changed.
-
isReloaded
boolean isReloaded()
Returnstrue
when the index for the project was loaded for the first time or reloaded with a different database.
-
isCleared
boolean isCleared()
Returnstrue
when the index for the project was cleared.
-
getFilesCleared
Set<IIndexFileLocation> getFilesCleared()
Returns the set of files that has been cleared in the index. WhenisCleared()
returnstrue
, the set will be empty.
-
getFilesWritten
Set<IIndexFileLocation> getFilesWritten()
Returns the set of files that has been added or updated. WhenisCleared()
returnstrue
, the files of the set have been written after the index was cleared.
-
hasNewFile
boolean hasNewFile()
Returnstrue
when a new file had been added to the index.- Since:
- 5.2
-
-