[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.gmt.amw] Re: XMI id Problem

Hello,

AMW supports Ecore models with or without XMI ids.

This setting is chosen in the 3rd page of the wizard. When selecting the woven models, you have to chose a WModelRef and a woven panel.

To work without XMI ids, you need to choose "ModelRef" and "DefaultWovenPanelExtension". The woven elements will be identified using the EMF default mechanism (for example, "/0/Address/street", or "/0/Person/name"). In this case, there is no problem if your models do not have XMI ids.

However, if you want to use XMI ids, you need to choose "ModelRefXMI" and "XMIWovenPanelExtension". If the Ecore models do not have XMI ids, a pop up window asks to automatically generate them (the first time you create the weaving model). They are generated using the element type plus an index (e.g., "EAttribute0").

Regards,

Marcos.

wg wrote:
Hi
I use Ecore Model Wizard of EMF to create a Model, but after i do that, in the Ecore model file, there is no xmi id, how can i set that, i need these ids für AMW,without this id will amw not work.


Or can you tell me, which Tool did you use to create a Model in Ecore with xmi id.
Thanks


wg