emf_tutorial1 [GMF Samples And Tutorials]
 

To create an EMF model, it is possible to use java interfaces with specific annotations :

Annotations Description
abstract=“true”Creates a abstract class
containment=“true”Express UML2 composition relationships (links with black diamonds). These objects references are saved with the object.
default=ValueDefault value, can be a constant, enumeration.
changeable=“false”A setter for this attribute will not be generated.

Go to GMF Tutorial 1 to see a simple example.

I hope that this material will be helpful for you. If you want to support it, your help is welcome :

 
emf_tutorial1.txt · Last modified: 2011/08/08 20:02 by jfbraz
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki