[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform] Content Assistant question: How do I force a selection programmatically?

Hi,

My approach is to return a list of proposals, which has only 1 item, and force Eclipse's content assistant mechanism to choose that item, so that the method org.eclipse.jface.text.contentassist.CompletionProposalPopup.insertProposal(ICompletionProposal p, char trigger, int stateMask, final int offset) gets executed and does its magic.

How would I do that?  Thanks.