Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Existing Java Source Code to EMF model(Is there a way to generate emf model from existing java source code?)
Existing Java Source Code to EMF model [message #1053412] Sun, 05 May 2013 06:32 Go to next message
moha gobi is currently offline moha gobiFriend
Messages: 2
Registered: May 2013
Junior Member
Hi All, I am new to EMF.
Can somebody tell me How to create an EMF model from existing java source code?
Is there any plugin available in eclipse
for automatic generation of annotation in the source code?
Re: Existing Java Source Code to EMF model [message #1053458 is a reply to message #1053412] Mon, 06 May 2013 05:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Moha,

You can create an Ecore model only by annotating the Java source. If you
just want an EMF model to represent the source code itself, i.e., and
instance of a Java model, Modisco has facilities for that.

On 06/05/2013 3:36 AM, moha gobi wrote:
> Hi All, I am new to EMF.
> Can somebody tell me How to create an EMF model from existing java
> source code?
> Is there any plugin available in eclipse
> for automatic generation of annotation in the source code?
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Existing Java Source Code to EMF model [message #1053460 is a reply to message #1053458] Mon, 06 May 2013 06:08 Go to previous messageGo to next message
moha gobi is currently offline moha gobiFriend
Messages: 2
Registered: May 2013
Junior Member
Thanks for reply Ed. I am trying to annotate the given source code. Is it possible to do that using any tool?
Re: Existing Java Source Code to EMF model [message #1053461 is a reply to message #1053460] Mon, 06 May 2013 06:12 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
Moha,

No, it would be nice if there was a fancy wizard that help with the
annotations, but we've never had time for the fancy tools; although
Xcore is a big improvement, it doesn't help reverse engineer an Ecore
model from Java source.


On 06/05/2013 8:08 AM, moha gobi wrote:
> Thanks for reply Ed. I am trying to annotate the given source code. Is
> it possible to do that using any tool?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Transient eOpposite of a persistent eRef?
Next Topic:EMF editor using remote model through RMI
Goto Forum:
  


Current Time: Tue Apr 16 21:51:00 GMT 2024

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

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

Back to the top