public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IPath[] indexLocations = this.participant.selectIndexes(this.pattern, this.scope); int length = indexLocations.length; Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; } public String getJobFamily() {
public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IndexLocation[] indexLocations; int length; if (this.participant instanceof JavaSearchParticipant) { indexLocations = ((JavaSearchParticipant)this.participant).selectIndexURLs(this.pattern, this.scope); length = indexLocations.length; } else { IPath[] paths = this.participant.selectIndexes(this.pattern, this.scope); length = paths.length; indexLocations = new IndexLocation[paths.length]; for (int i = 0, len = paths.length; i < len; i++) { indexLocations[i] = new FileIndexLocation(paths[i].toFile(), true); } } Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; }
public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IndexLocation[] indexLocations; int length; if (this.participant instanceof JavaSearchParticipant) { indexLocations = ((JavaSearchParticipant)this.participant).selectIndexURLs(this.pattern, this.scope); length = indexLocations.length; } else { IPath[] paths = this.participant.selectIndexes(this.pattern, this.scope); length = paths.length; indexLocations = new IndexLocation[paths.length]; for (int i = 0, len = paths.length; i < len; i++) { indexLocations[i] = new FileIndexLocation(paths[i].toFile(), true); } } Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; }
public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IndexLocation[] indexLocations; int length; if (this.participant instanceof JavaSearchParticipant) { indexLocations = ((JavaSearchParticipant)this.participant).selectIndexURLs(this.pattern, this.scope); length = indexLocations.length; } else { IPath[] paths = this.participant.selectIndexes(this.pattern, this.scope); length = paths.length; indexLocations = new IndexLocation[paths.length]; for (int i = 0, len = paths.length; i < len; i++) { indexLocations[i] = new FileIndexLocation(paths[i].toFile(), true); } } Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; } public String getJobFamily() {
public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IndexLocation[] indexLocations; int length; if (this.participant instanceof JavaSearchParticipant) { indexLocations = ((JavaSearchParticipant)this.participant).selectIndexURLs(this.pattern, this.scope); length = indexLocations.length; } else { IPath[] paths = this.participant.selectIndexes(this.pattern, this.scope); length = paths.length; indexLocations = new IndexLocation[paths.length]; for (int i = 0, len = paths.length; i < len; i++) { indexLocations[i] = new FileIndexLocation(paths[i].toFile(), true); } } Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; } public String getJobFamily() {
public Index[] getIndexes(IProgressMonitor progressMonitor) { // acquire the in-memory indexes on the fly IndexLocation[] indexLocations; int length; if (this.participant instanceof JavaSearchParticipant) { indexLocations = ((JavaSearchParticipant)this.participant).selectIndexURLs(this.pattern, this.scope); length = indexLocations.length; } else { IPath[] paths = this.participant.selectIndexes(this.pattern, this.scope); length = paths.length; indexLocations = new IndexLocation[paths.length]; for (int i = 0, len = paths.length; i < len; i++) { indexLocations[i] = new FileIndexLocation(paths[i].toFile(), true); } } Index[] indexes = JavaModelManager.getIndexManager().getIndexes(indexLocations, progressMonitor); this.areIndexesReady = indexes.length == length; return indexes; } public String getJobFamily() {