Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [XPand dev] Tracing model access
[XPand dev] Tracing model access [message #531285] Tue, 04 May 2010 12:41 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: May 2010
Junior Member

in the course of my current project I'm faced with the problem to trace any access that occurs in the context of a model to text transformation. My aim is to collect any model-elements that are involved during the evaluation of an expression Statement. For instance a feature call that accesses a certain property of a model element should result in the model-element being added to the involved elements list.

I'm curious if anyone could point me in the right direction regarding the classes that have to be modified in order to achieve the aforementioned issue. Right now I hook into the expressionStatement evaluation and have access to both, the ExpressionStatement as well as the XPandExecutionContext. I can easily evaluate the expression of the expression statement but am unsure how to retrieve the involved model-elements. It's kinda tough to work through the source-code, since I couldn't find any information on this topic. I'd appreciate any help or comments on this topic.

Re: [XPand dev] Tracing model access [message #531295 is a reply to message #531285] Tue, 04 May 2010 13:13 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 11958
Registered: July 2009
Senior Member
Hello Christian,

did you have a look at the tracing support of the xtend std lib. the old (oaw) documentation can be found here html/contents/ch06.html googleling for oaw tracing might bring some some hints / samples.


Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :

[Updated on: Tue, 04 May 2010 13:21]

Report message to a moderator

Previous Topic:Access to GMF domain file for C++/Java Code Generation
Next Topic:EMF, oAW and "Code Composer Studio 4" (CCS4)
Goto Forum:

Current Time: Tue May 22 04:36:25 GMT 2018

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

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

Back to the top