Proposal provider for a rule [message #523249] |
Thu, 25 March 2010 12:23  |
Eclipse User |
|
|
|
Hi everybody!
I tried the approach below, but nothing happens... Is there something that I'm doing wrong? The provider for the features, works pretty well...
public class MyDslProposalProvider extends AbstractMyDslProposalProvider {
public void complete_TestProject(
TestProject model,
RuleCall ruleCall,
ContentAssistContext context,
ICompletionProposalAcceptor acceptor) {
acceptor.accept(createCompletionProposal("<testSuite></testSuite>", "TestSuite", null, context));
}
}
Thank you for help!!
|
|
|
Re: Proposal provider for a rule [message #523757 is a reply to message #523249] |
Mon, 29 March 2010 04:24   |
Eclipse User |
|
|
|
Hi Urtzi,
please ask Xtext related question in the Xtext newsgroup which I've
added to this reply.
There is currently an open bugzilla for the bug that you describe. We'll
fix it before the Helios release.
Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Am 25.03.10 17:23, schrieb Urtzi Odriozola:
> Hi everybody!
>
> I tried the approach below, but nothing happens... Is there something
> that I'm doing wrong? The provider for the features, works pretty well...
>
>
> public class MyDslProposalProvider extends AbstractMyDslProposalProvider {
> public void complete_TestProject(
> TestProject model, RuleCall ruleCall, ContentAssistContext context,
> ICompletionProposalAcceptor acceptor) {
>
> acceptor.accept(createCompletionProposal("<testSuite></testSuite >",
> "TestSuite", null, context));
> }
> }
>
> Thank you for help!!
|
|
|
|
Powered by
FUDForum. Page generated in 0.02907 seconds