|Easy way to get cross references? [message #894484]
||Mon, 09 July 2012 11:58
| Hannes Müller
Registered: June 2012
I am working on the validation of my xtext model. Right now I want to check if "I am an original entity" and if so: I want to check if there are cross references in my actually model which reuse "me" (and check those cross references for identical feature values ...). For better understanding: This could e.g. happen in rules like the following:
userStates += [SupportedUserState] ...
Do I have to iterate through all parts of the model which could contain those cross references and check for identical pointer adresses? Or is their a more easy approach?
I just tried out the method eCrossReferences() because of the name but it seems not to be the right method (the docu isn't that big for this method though)...
I would be greateful for any answer
[Updated on: Mon, 09 July 2012 12:11]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01467 seconds