private void internalRunVirtual(ProgressMonitor monitor) throws CoreException, InterruptedException { if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.clear(fTicket); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); fViewer.setHistoryResult(fTicket, matchingTypes); if ((fMode & INDEX) == 0) return; Set filteredMatches= new HashSet(matchingTypes.length * 2); for (int i= 0; i < matchingTypes.length; i++) { filteredMatches.add(matchingTypes[i]); } TypeNameMatch[] result= getSearchResult(filteredMatches, monitor); if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.setSearchResult(fTicket, result); } private IStatus canceled(Exception e, boolean removePendingItems) {
private void internalRunVirtual(ProgressMonitor monitor) throws CoreException, InterruptedException { if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.clear(fTicket); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); fViewer.setHistoryResult(fTicket, matchingTypes); if ((fMode & INDEX) == 0) return; Set filteredMatches= new HashSet(matchingTypes.length * 2); for (int i= 0; i < matchingTypes.length; i++) { filteredMatches.add(matchingTypes[i]); } TypeNameMatch[] result= getSearchResult(filteredMatches, monitor); if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.setSearchResult(fTicket, result); } private IStatus canceled(Exception e, boolean removePendingItems) {
private void internalRunVirtual(ProgressMonitor monitor) throws CoreException, InterruptedException { if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.clear(fTicket); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); fViewer.setHistoryResult(fTicket, matchingTypes); if ((fMode & INDEX) == 0) return; Set filteredMatches= new HashSet(matchingTypes.length * 2); for (int i= 0; i < matchingTypes.length; i++) { filteredMatches.add(matchingTypes[i]); } TypeNameMatch[] result= getSearchResult(filteredMatches, monitor); if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.setSearchResult(fTicket, result); } private IStatus canceled(Exception e, boolean removePendingItems) {
private void internalRunVirtual(ProgressMonitor monitor) throws CoreException, InterruptedException { if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.clear(fTicket); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); fViewer.setHistoryResult(fTicket, matchingTypes); if ((fMode & INDEX) == 0) return; Set filteredMatches= new HashSet(matchingTypes.length * 2); for (int i= 0; i < matchingTypes.length; i++) { filteredMatches.add(matchingTypes[i]); } TypeNameMatch[] result= getSearchResult(filteredMatches, monitor); if (monitor.isCanceled()) throw new OperationCanceledException(); fViewer.setSearchResult(fTicket, result); } private IStatus canceled(Exception e, boolean removePendingItems) {
Set filteredMatches= new HashSet(); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); if (matchingTypes.length > 0) { Arrays.sort(matchingTypes, new TypeInfoComparator(fLabelProvider, fFilter));
Set filteredMatches= new HashSet(); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); if (matchingTypes.length > 0) { Arrays.sort(matchingTypes, new TypeInfoComparator(fLabelProvider, fFilter));
Set filteredMatches= new HashSet(); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); if (matchingTypes.length > 0) { Arrays.sort(matchingTypes, new TypeInfoComparator(fLabelProvider, fFilter));
Set filteredMatches= new HashSet(); TypeNameMatch[] matchingTypes= fHistory.getFilteredTypeInfos(fFilter); if (matchingTypes.length > 0) { Arrays.sort(matchingTypes, new TypeInfoComparator(fLabelProvider, fFilter));
: new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter); fExpectedItemCount= fHistoryMatches.length; fTable.setItemCount(fHistoryMatches.length); } else { fNextElement= 0; TypeNameMatch[] historyItems= fHistory.getFilteredTypeInfos(filter); if (historyItems.length == 0) { shortenTable();
: new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter); fExpectedItemCount= fHistoryMatches.length; fTable.setItemCount(fHistoryMatches.length); } else { fNextElement= 0; TypeNameMatch[] historyItems= fHistory.getFilteredTypeInfos(filter); if (historyItems.length == 0) { shortenTable();
: new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter); fExpectedItemCount= fHistoryMatches.length; fTable.setItemCount(fHistoryMatches.length); } else { fNextElement= 0; TypeNameMatch[] historyItems= fHistory.getFilteredTypeInfos(filter); if (historyItems.length == 0) { shortenTable();
: new TypeInfoFilter("*", fSearchScope, fElementKind, fFilterExtension); //$NON-NLS-1$ if (VIRTUAL) { fHistoryMatches= fHistory.getFilteredTypeInfos(filter); fExpectedItemCount= fHistoryMatches.length; fTable.setItemCount(fHistoryMatches.length); } else { fNextElement= 0; TypeNameMatch[] historyItems= fHistory.getFilteredTypeInfos(filter); if (historyItems.length == 0) { shortenTable();