|
Re: createProposals gets called twice within same context [message #1753413 is a reply to message #1753412] |
Mon, 06 February 2017 07:55 |
Uli Merkel Messages: 250 Registered: June 2013 |
Senior Member |
|
|
Hi Markus,
what you have done is just modifying the very basic function which is called in multiple context.
usually, you just override a very special routine in the proposal provider which starts with "complete" like:
override completeMergefile_Name(EObject model, Assignment assignment,
ContentAssistContext context, ICompletionProposalAcceptor acceptor) {
completeRuleCall(((assignment.getTerminal()as RuleCall)), context, acceptor);
for (String fileId : LxtCore::getListFileIds) {
acceptor.accept(createCompletionProposal(fileId , context))
}
}
[Updated on: Mon, 06 February 2017 07:56] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04596 seconds