Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Content assistant
Content assistant [message #775059] Thu, 05 January 2012 08:30
Matthieu Coriton is currently offline Matthieu CoritonFriend
Messages: 1
Registered: January 2012
Junior Member
Hello,

We are using XText to develop a java like editor. We currently faced a problem :
In my understanding if I have two editors opened (let's say A.foo and B.foo), they both use two resources sets containing initially A and B.

When linking is done and eObjects resolved, resources sets contain A and B and all referenced eObjects.
If A references B, resource set containing A contains also a on-disk copy of B.

If B is modified, saved and build triggered, it seems that the on-disk copy of B representation is not modified. This is where my problem occurs.

In the example below :
B b = new B();
b.|

where | is the cursor. I trigger the content assistant, my content assistant get the type of B, and list all methods/fields of B. But my content assistant only lists fields/methods at the time of the last linking.

Can anyone help?

Sincerely,

Matthieu
Previous Topic:How to infer Java enum
Next Topic:Multiple input model files - alternative solution?
Goto Forum:
  


Current Time: Fri Sep 20 02:41:13 GMT 2024

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

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

Back to the top