Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to create a new DataType for EMF/Ecore in UML
How to create a new DataType for EMF/Ecore in UML [message #825269] Tue, 20 March 2012 17:16
Christoph Reuteler is currently offline Christoph ReutelerFriend
Messages: 7
Registered: March 2012
Junior Member

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:
<<datatype>Point <<javaclass>>org.eclipse....Point.

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

Previous Topic:Problem with UML2MatchEngine
Next Topic:Convert Java Source Code to XMI via UML2
Goto Forum:

Current Time: Mon Jun 25 12:20:55 GMT 2018

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

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

Back to the top