Skip to main content


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: 14665
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?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Xtext error recovery
Next Topic:How can I get theGenModelURI for a grammar in the same eclipse instance
Goto Forum:
  


Current Time: Fri Apr 26 11:20:25 GMT 2024

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

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

Back to the top