|How to create a new DataType for EMF/Ecore in UML [message #825269]
||Tue, 20 March 2012 17:16
| Christoph Reuteler
Registered: March 2012
Am trying to define a new DataType in a class diagram (UML-Tool: Visual Paradigm)as explained in the book "EMF Eclipse Modeling Framework", page 131. For example:
When i import the UML model in Eclipse and try to generate the genmodel i get a error message:
-The required feature 'eAttributeType' of 'platform:/resource/test/model.ecore#//test Point/orgeclipsedraw2dgeometryPoint' must be set model.
I have changed the sterotypes as following:
<<primitive>> <<EDataType>> Point and the attribute as above.
Now there is no error message but in the ecore file the Instance Type Name is Point
instead of org.eclipse...Point.
Dos anybody know how to define the UML attribute?
Thanks a lot
Powered by FUDForum
. Page generated in 0.01647 seconds