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 02:32 Go to next message
moha gobi is currently offline moha gobi
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 01:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25999
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?
>
Re: Existing Java Source Code to EMF model [message #1053460 is a reply to message #1053458] Mon, 06 May 2013 02:08 Go to previous messageGo to next message
moha gobi is currently offline moha gobi
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 02:12 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25999
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?
Previous Topic:Transient eOpposite of a persistent eRef?
Next Topic:EMF editor using remote model through RMI
Goto Forum:
  


Current Time: Wed Aug 20 12:54:21 EDT 2014

Powered by FUDForum. Page generated in 0.01576 seconds