use of org.eclipse.xtext.ide.editor.contentassist.ContentAssistEntry in project xtext-core by eclipse.
the class IdeContentProposalProvider method _createProposals.
protected void _createProposals(final Keyword keyword, final ContentAssistContext context, final IIdeContentProposalAcceptor acceptor) {
boolean _filterKeyword = this.filterKeyword(keyword, context);
if (_filterKeyword) {
final ContentAssistEntry entry = this.proposalCreator.createProposal(keyword.getValue(), context);
if ((entry != null)) {
entry.setKind(ContentAssistEntry.KIND_KEYWORD);
acceptor.accept(entry, this.proposalPriorities.getKeywordPriority(keyword.getValue(), entry));
}
}
}
Aggregations