Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » (no subject)
(no subject) [message #671783] Thu, 19 May 2011 01:25 Go to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
I can't see if it is possible to provide quick fix proposals that are
styled by looking at the API - the acceptor only accepts String...

Is it acheivable with a reasonable amount of work?

Regards
- henrik
(no subject) [message #671872 is a reply to message #671783] Thu, 19 May 2011 08:10 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Henrik,

you could try to override
XtextQuickAssistProcessor#computeQuickAssistProposals(IQuickAssistInvocationContext)
and return something that implements ICompletionProposalExtension6.
Looks like some copy and paste will be necessary - at least at a first
glance.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 19.05.11 03:25, schrieb Henrik Lindberg:
> Hi,
> I can't see if it is possible to provide quick fix proposals that are
> styled by looking at the API - the acceptor only accepts String...
>
> Is it acheivable with a reasonable amount of work?
>
> Regards
> - henrik
Previous Topic:Different UI for coding against my DSL
Next Topic:Load and process models in standalone java application
Goto Forum:
  


Current Time: Thu Apr 25 17:17:33 GMT 2024

Powered by FUDForum. Page generated in 0.02787 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top