Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Limit proposed Java types to certain packages(XText/XBase)(Limit Proposal to certain packages)
Limit proposed Java types to certain packages(XText/XBase) [message #1745089] Tue, 04 October 2016 19:01 Go to next message
Eclipse UserFriend
Currently I use XMemberFeatureCall in my XText grammar.
action = XMemberFeatureCall

By default i get all the Java Classes and its members in the proposal.
Will I be able to restrict the proposal for XMemberFeatureCall only to certain Java Packages.
Re: Limit proposed Java types to certain packages(XText/XBase) [message #1745094 is a reply to message #1745089] Wed, 05 October 2016 00:16 Go to previous message
Eclipse UserFriend
Hi Sonia,

I believe you should be customizing the proposal provider. You might like to take a look at the following links -

https://eclipse.org/Xtext/documentation/310_eclipse_support.html#content-assist
http://xtextcasts.org/episodes/17-restricting-scope?autoplay=true

Hope this helps. Tx.
Previous Topic:error EXPAND
Next Topic:INode of unresolvable proxy EObjects
Goto Forum:
  


Current Time: Thu Jul 17 03:59:19 EDT 2025

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

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

Back to the top