[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: UUID generation

Ed,

thanks, but where can i configure the uml tool to use this kind of 
implementation. Currently, all elements have only these xmi:id attributes, 
but these couldn't be accessed from within my jet2 transformation via 
EcoreUtil.getID().

Thx
Timothy

"Ed Merks" <Ed.Merks@xxxxxxxxx> schrieb im Newsbeitrag 
news:gbl4dp$860$1@xxxxxxxxxxxxxxxxxxxx
> Timothy,
>
> You need to use an XMIResourceImpl for which useUUIDs() is specialized to 
> return true.  UML and GMF both have resource factories that return such 
> resource implementations already...
>
>
> Timothy Marc wrote:
>> Hi all,
>>
>> i've modeled a simple class diagramm with papyrus and wanted the editor 
>> to
>> use the useUUID() method from XMIResource (i'm not sure whether this is 
>> the
>> right class). I need those UUIDs for traceability during a JET2/MTL
>> M2C-Transformation, ut didn't found any possibility to turn this on.
>>
>> Any help would be appreciated.
>>
>> Thx
>> Timothy
>>
>>
>>