Package org.eclipse.cdt.core.index
Interface IIndexChangeEvent
-
public interface IIndexChangeEventIndexChangeEvents 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 ICProjectgetAffectedProject()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.booleanhasNewFile()Returnstruewhen a new file had been added to the index.booleanisCleared()Returnstruewhen the index for the project was cleared.booleanisReloaded()Returnstruewhen 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()
Returnstruewhen the index for the project was loaded for the first time or reloaded with a different database.
-
isCleared
boolean isCleared()
Returnstruewhen 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()
Returnstruewhen a new file had been added to the index.- Since:
- 5.2
-
-