[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Sorting the Result list using Content Assistent

Hi Daniel,

no I'm actually not using ICompletionProposalExtension2. I just looked at the interface and it looks like TemplateProposal implements this interface. But TemplateProposal introduces some new concepts which are not explained. So do you have an example or some more documentation?

I don't understand what I should enter as a value for the templateContext parameter of the TemplateProposal constructer and what is the context used for.

Also I don't understand the contextid and the pattern parameters in the Template constructor. Is the contextid the id from templateContextType?

Regards
Martin

As far as I understand it TemplateProposal
Daniel Megert wrote:
Martin Tauber wrote:
I have created Content Assistent for my TextEditor using IContentAssistProcessor Interface. Everthing works fine. When I press the one of the getCompletionProposalAutoActivationCharacters() the popup occurs with all the choices available in this context.

Nevertheless, in the jdt environment, the content of this popup is sorted and filter as soon as I begin typing. Do I have to programm this myself, or is there just some configuration needed?
Looks like your proposals don't implement ICompletionProposalExtension2.

Dani

Thanks Martin