|
|
|
Re: Ecore UML Profile, adding Ecore annotation [message #492576 is a reply to message #490341] |
Tue, 20 October 2009 19:13 |
Kenn Hussey Messages: 1620 Registered: July 2009 |
Senior Member |
|
|
Karel,
Assuming you've set the 'Ecore Tagged Values' option to 'Process' in the
model wizard, this should just work. If you continue to have issues,
please provide a representative model and we'll look into it.
Kenn
Karel Smutny wrote:
> Thank you.
>
> Just a note: It is definitely not a MagicDraw issue, the
> EAttribute.annotation tag is present in the exported EMF UML2 model. It
> is just not transfered/converted to Ecore annotations during UML2Ecore
> conversion.
>
> K.
>
> Ed Merks wrote:
>> Karel,
>>
>> I'm not sure if this is a Magic Draw issue or a UML importer issue,
>> but it's certainly not a basic EMF issue I can answer. I've added
>> the UMl2 newsgroup to the "to" list of the reply because the UML2
>> project provides the support for UML <-> Ecore importers and
>> exporters, so they might be able to answer.
>>
>>
>> Karel Smutny wrote:
>>> Hello,
>>>
>>> I am experiencing problems with addind Ecore annotations to elements
>>> in UML model (with Ecore profile used).
>>>
>>> I have a class with an attribute with stereotype EAttribute and
>>> defined annotation tag. For UML I use MagicDraw 16.5.
>>>
>>> When I create GenModel from UML model, the annotations are not
>>> present in the converted Ecore model unless they are defined for
>>> EPackage.
>>>
>>> I don't see any annotations defined for e.g. EDataType or EAttribute.
>>>
>>> Do I miss something or the UML to Ecore conversion ignores
>>> annotations on all elements except Packages (with EPackage stereotype).
>>>
>>> Thanks in advance for any clue.
>>> Karel
|
|
|
Powered by
FUDForum. Page generated in 0.04746 seconds