Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 147781
Collapse All | Expand All

(-)ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java (-1 / +1 lines)
Lines 287-293 Link Here
287
		List descriptors= new ArrayList(fRegistry.getProposalComputerDescriptors(partition));
287
		List descriptors= new ArrayList(fRegistry.getProposalComputerDescriptors(partition));
288
		for (Iterator it= descriptors.iterator(); it.hasNext();) {
288
		for (Iterator it= descriptors.iterator(); it.hasNext();) {
289
			CompletionProposalComputerDescriptor desc= (CompletionProposalComputerDescriptor) it.next();
289
			CompletionProposalComputerDescriptor desc= (CompletionProposalComputerDescriptor) it.next();
290
			if (desc.getCategory() == this)
290
			if (desc.getCategory() == this && (isIncluded() || isSeparateCommand()))
291
				result.addAll(desc.computeContextInformation(context, monitor));
291
				result.addAll(desc.computeContextInformation(context, monitor));
292
			if (fLastError == null)
292
			if (fLastError == null)
293
				fLastError= desc.getErrorMessage();
293
				fLastError= desc.getErrorMessage();

Return to bug 147781