| How to only load from model types declared in the same file? [message #640035] |
Thu, 18 November 2010 13:32  |
Eclipse User |
|
|
|
Hi,
I've been working off adapting the project that came with the new XText project wizard and I've defined a filetype and derived a model from my grammar (for starters).
I've created some types derived from the grammar and I've littered the grammar with references to types declared elsewhere in the grammar.
The problem is that I can refer to types declared in different model files. I wish to only allow references to instances of model types declared in the same file (or via reference from the main file to external files).
What is the configuration option to prevent unwanted model leakage?
Thanks,
Chris
|
|
|
|
Powered by
FUDForum. Page generated in 0.03027 seconds