tracing source/code from model developed in euginea based editor [message #523526] |
Fri, 26 March 2010 13:10  |
Eclipse User |
|
|
|
Hello Community,
I am interested in tracing model<-> code inconsistencies in my project.
I have a code base from which i am generating model and displaying that with euginea based editor. In the model nodes I am using "qualified name" attribute which is actually representing string path to a particular file(java class) in the code base.I would like to use this attribute to trace a particular class. I would like to do the following
When I double click any particular node, I want to go to the particular class in a code base.
Can i implement this functionality while developing euginea based graphical editor? or else How can i do it? any pointers?
regards
saad
|
|
|
Re: tracing source/code from model developed in euginea based editor [message #523534 is a reply to message #523526] |
Fri, 26 March 2010 13:43  |
Eclipse User |
|
|
|
> When I double click any particular node, I want to go to the particular
> class in a code base.
>
> Can i implement this functionality while developing euginea based
> graphical editor? or else How can i do it? any pointers?
AFAIK Eugenia does not provide such a functionality via annotations in the
metamodel. Rather, you'll need to figure out how to do this "manually" in
GMF. It it's something that required modifications to gmftool/graph/map/gen,
you can automate these changes via an EOL file so that they are repeatable
over multiple model regenerations (see
http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-poli shing/). Again,
this is more a GMF problem than Eugenia.
Christoph
|
|
|
Re: tracing source/code from model developed in euginea based editor [message #587821 is a reply to message #523526] |
Fri, 26 March 2010 13:43  |
Eclipse User |
|
|
|
> When I double click any particular node, I want to go to the particular
> class in a code base.
>
> Can i implement this functionality while developing euginea based
> graphical editor? or else How can i do it? any pointers?
AFAIK Eugenia does not provide such a functionality via annotations in the
metamodel. Rather, you'll need to figure out how to do this "manually" in
GMF. It it's something that required modifications to gmftool/graph/map/gen,
you can automate these changes via an EOL file so that they are repeatable
over multiple model regenerations (see
http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-poli shing/). Again,
this is more a GMF problem than Eugenia.
Christoph
|
|
|
Powered by
FUDForum. Page generated in 0.03687 seconds