Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » No XMI-ID in GMF Diagram File(The diagram file does not contain a xmi:id for the diagram)
No XMI-ID in GMF Diagram File [message #898971] Sun, 29 July 2012 17:57
Thorsten Koch is currently offline 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>
Previous Topic:diagram editor for dynamic objects
Next Topic:Different figure for super- and subtype
Goto Forum:
  


Current Time: Sun Sep 21 16:08:55 GMT 2014

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

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