google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Use Ecore object approach in Ecore generator #536

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What improvement do you want to Umple? Describe your vision of the new
functionality in as much detail as you can think of, including using
examples of code.

Original approach in Ecore generator is text-based and try to append elements 
one by one into a string.
Ecore objects such as EPackage, EClass, EAttribute can be used to aid the Ecore 
model generation.
As a result, we do not need to consider syntax of Ecore provided that we have a 
valid mapping from Umple model to Ecore model.

What difficulties (if any) would this new feature help you overcome?

More confidence in generated Ecore model

How big, if any, do you expect the benefits of this to be to the software
engineering community?

It can help generate more native language. Using library provided can also 
guarantee the validity of generated model.

What parts of the system (that you are aware of) would need to change?

Code in Generator_CodeEcore.ump need to be changed

Original issue reported on code.google.com by ckchan.cs on 26 Mar 2014 at 2:58

GoogleCodeExporter commented 9 years ago
We don't want to import the Ecore Library, as it will result in dependencies 
that will be forever hard to track and will bloat our compiler.

Original comment by TimothyCLethbridge on 1 May 2014 at 1:50