Bug 113333 [api][content assist] API for setMessage in ContentAssistant without cycling mode enabled
Version: 3.2.0 Build id: N20051018-0010 I would like to change the behavior of ContentAssistant#setMessage (or add a new method) such that a message is displayed at the bottom of the pop up also if ContentAssistant#setCyclingMode is set to false. I also whould like to have something like ContentAssistant#clearMessage or ContentAssistant#setMessage(null) which should result in removing the label at the bottom of the pop up. At the moment I use setMessage("") which does not remove the label. Thanks.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ContentAssistProcessor.java
for (Iterator it= fCategories.iterator(); it.hasNext();) {
			CompletionProposalCategory category= (CompletionProposalCategory) it.next();
			if (category.isIncluded() && category.hasComputers(fPartition))
				included.add(category);
		}
		return included;
	}
	private List getSeparateCategories() {
		ArrayList sorted= new ArrayList();
		for (Iterator it= fCategories.iterator(); it.hasNext();) {
			CompletionProposalCategory category= (CompletionProposalCategory) it.next();
			if (category.isSeparateCommand() && category.hasComputers(fPartition))
				sorted.add(category);
		}
		Collections.sort(sorted, ORDER_COMPARATOR);
		return sorted;
	}
	
	private String createEmptyMessage() {
		final MessageFormat format= new MessageFormat(JavaTextMessages.ContentAssistProcessor_empty_message);
		Object[] args= {getCategoryLabel(fRepetition)};
		String message= format.format(args);
		return message;
	}
	
	private String createIterationMessage() {
		final MessageFormat format= new MessageFormat(JavaTextMessages.ContentAssistProcessor_toggle_affordance_update_message);
		String current= getCategoryLabel(fRepetition);
		String next= getCategoryLabel(fRepetition + 1);
		Object[] args= { current, fIterationGesture, next };