Bug 147377 [Field Assist] - open proposal popup should close when there are no valid proposals left
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/ContentProposalAdapter.java
item.setImage(getImage(current));
				item.setData(current);
			} else {
				
			}
		}
		/*
		 * Caches the specified proposals and repopulates the table if it has
		 * been created.
		 */
		private void setProposals(IContentProposal[] newProposals) {
			if (newProposals == null || newProposals.length == 0) {
				newProposals = getEmptyProposalArray();
			}
			this.proposals = newProposals;
			
			if (isValid()) {
				final int newSize = newProposals.length;
				if (USE_VIRTUAL) {
					
					
					proposalTable.setItemCount(newSize);
					proposalTable.clearAll();
				} else {
					
					proposalTable.setRedraw(false);
					proposalTable.setItemCount(newSize);
					TableItem[] items = proposalTable.getItems();
					for (int i = 0; i < items.length; i++) {
						TableItem item = items[i];