Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » tracing source/code from model developed in euginea based editor
tracing source/code from model developed in euginea based editor [message #523526] Fri, 26 March 2010 17:10 Go to next message
saad bin abid is currently offline saad bin abidFriend
Messages: 60
Registered: October 2009
Location: Ireland
Member
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 17:43 Go to previous message
Christoph Wienands is currently offline Christoph WienandsFriend
Messages: 55
Registered: July 2009
Member
> 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 17:43 Go to previous message
Christoph Wienands is currently offline Christoph WienandsFriend
Messages: 55
Registered: July 2009
Member
> 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
Previous Topic:tracing source/code from model developed in euginea based editor
Next Topic:EVL file not getting called?
Goto Forum:
  


Current Time: Sat Dec 20 20:55:13 GMT 2014

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

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