Hi,
I guess what you really want is to postpone the whole indexer during project creation, right?
If so, we do exactly this by using the following code:
final IndexerSetupParticipant indexerParticipant = new IndexerSetupParticipant() {
@Override
public boolean postponeIndexerSetup(ICProject cProject) {
return true; // implement your condition as long as project creation and setup is pending
}
};
CCorePlugin.getIndexManager().addIndexerSetupParticipant(indexerParticipant);
// create and setup your project
CCorePlugin.getIndexManager().removeIndexerSetupParticipant(indexerParticipant);
HTH,
Walter
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Yevgeny Shifrin
Sent: Dienstag, 20. März 2012 12:44
To: CDT General developers list. (cdt-dev@xxxxxxxxxxx)
Subject: [cdt-dev] stopping Eclipse C++ project indexing programmatically
Hi,
We created programmatically Eclipse C++ project. We would like to stop indexer job (if started). Could someone please point us to relevant API (or code) for
performing this action?
Thanks a lot,
Yevgeny
This e-mail message is intended for the recipient only and contains information which is CONFIDENTIAL and which may be proprietary to ECI Telecom. If you have received this transmission in error, please inform us by e-mail, phone or fax, and then delete
the original and all copies thereof.