Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content Assist - disable options
Content Assist - disable options [message #1746229] Tue, 25 October 2016 17:21 Go to next message
Roman Delph is currently offline Roman DelphFriend
Messages: 5
Registered: August 2015
Junior Member
Hi guys .
The code completion proposal should include some options as non-active options (i.e. cannot click/add them;)
The options should be in the end of the list and greyed out.
How can i disable options in content proposal?
I could not find solution of this area but i guess i should use class ConfigurableCompletionProposal.
It would be a nice to see some code example.
Thanks.
Re: Content Assist - disable options [message #1746245 is a reply to message #1746229] Tue, 25 October 2016 20:36 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11087
Registered: July 2009
Senior Member
i dont know if this is possible in jface. i did not find anything in CompletionProposalPopup at a first glance) did you see other eclipse editors supporting that feature e.g. JDT?

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Previous Topic:How can I get theGenModelURI for a grammar in the same eclipse instance
Next Topic:Xtext error recovery
Goto Forum:
  


Current Time: Tue Aug 22 21:14:58 GMT 2017

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

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