/** * Notifies the computers in this category of a proposal computation session end. */ public void sessionEnded() { List descriptors= new ArrayList(fRegistry.getProposalComputerDescriptors()); for (Iterator it= descriptors.iterator(); it.hasNext();) { CompletionProposalComputerDescriptor desc= (CompletionProposalComputerDescriptor) it.next(); if (desc.getCategory() == this) desc.sessionEnded(); if (fLastError == null) fLastError= desc.getErrorMessage(); } }
/** * Notifies the computers in this category of a proposal computation session end. */ public void sessionEnded() { fNeedsSortingAfterFiltering= false; List<CompletionProposalComputerDescriptor> descriptors= new ArrayList<>(fRegistry.getProposalComputerDescriptors()); for (CompletionProposalComputerDescriptor desc : descriptors) { if (desc.getCategory() == this) desc.sessionEnded(); if (fLastError == null) fLastError= desc.getErrorMessage(); } }
/** * Notifies the computers in this category of a proposal computation session end. */ public void sessionEnded() { fNeedsSortingAfterFiltering= false; List<CompletionProposalComputerDescriptor> descriptors= new ArrayList<>(fRegistry.getProposalComputerDescriptors()); for (CompletionProposalComputerDescriptor desc : descriptors) { if (desc.getCategory() == this) desc.sessionEnded(); if (fLastError == null) fLastError= desc.getErrorMessage(); } }