No XMI-ID in GMF Diagram File [message #898971] |
Sun, 29 July 2012 17:57 |
Thorsten Koch Messages: 1 Registered: July 2012 |
Junior Member |
|
|
Hello,
currently I am extending an EMF-Model with some additional elements.
For these elements I created a new GMF-Model using the normal wizard. In addition I used the GMF tools to perform a few transformations on the gmf file.
When I create an GMF-File for the new editor I get the following file. Since all other diagram files contain some xmi:ids, I am wondering if my file is correct.
When I delete an element and add another element I get the error: Element not contained in resource. I assume that this error occurs, because of the missing id. Is this assumption correct and how do I correct his.
An example gmf-file is shown below.
Thanks you
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi=.../XMI" xmlns:xsi=".../XMLSchema-instance" xmlns:notation=".../notation">
<notation:Diagram type="Model - New Element Partial Model" measurementUnit="Pixel">
<styles xsi:type="notation:DiagramStyle"/>
<element href="NewProduct.model#/0/@ElementModel/@ownedTrees.0"/>
</notation:Diagram>
</xmi:XMI>
|
|
|
Powered by
FUDForum. Page generated in 0.01919 seconds