Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Change of display string in editor after content assist
Change of display string in editor after content assist [message #985825] Fri, 16 November 2012 09:55 Go to next message
Sreekanth SC is currently offline Sreekanth SCFriend
Messages: 14
Registered: January 2011
Junior Member
Hi All,

I have a DSL model(sample.model) which has field which takes reference of the same kind. For eg. 1.model has a field "Next->" which takes B.model.
Based on my xtext grammar, i get to see all the models in the workspace when I do ctrl+space after Next->. So far so good.

When the content is displayed as a list, it display B.model, C.model in the list. After selecting one of the model as next, I want the string displayed in the editor to be something specific what I want and not "Next->B.model".

Any help in this regard is appreciated. If problem not understood, please let me know. Thanks.
Re: Change of display string in editor after content assist [message #985843 is a reply to message #985825] Fri, 16 November 2012 10:58 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 6543
Registered: July 2009
Senior Member
Hmmm,

i did not get your problem. can you give an example grammar and model file to explain what your problem is.

~Christian
Previous Topic:Resolving cross-references in standalone
Next Topic:EclipseCon Boston - Submission Deadline is Monday!
Goto Forum:
  


Current Time: Thu Dec 18 18:36:53 GMT 2014

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

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