Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Customizing saving Model to XMI via XMISaveImpl options
Customizing saving Model to XMI via XMISaveImpl options [message #986938] Thu, 22 November 2012 07:44 Go to previous message
Alexander Unsonamed is currently offline Alexander Unsonamed
Messages: 10
Registered: October 2012
Junior Member
Is there any possibility to extract model to XMI file with the following option:

<root>
...
  <box xmi:type="mymodel:Box" xmi:id="_123wefwefwjefgeg" name="GreatBox">
    <title>_k84xEzSoEeKTvczlP0YbOQ</title>
  </box>
</root>
...
<title xmi:id="_k84xEzSoEeKTvczlP0YbOQ" name="SomeTitle" elementType="NORMAL"/>


Instead of the following:
<root>
...
  <box xmi:type="mymodel:Box" xmi:id="_123wefwefwjefgeg" name="GreatBox" title="_k84xEzSoEeKTvczlP0YbOQ"/>
</root>
...
<title xmi:id="_k84xEzSoEeKTvczlP0YbOQ" name="SomeTitle" elementType="NORMAL"/>



I tried to play with Containment option of Box.title attr in Ecore model, but it seem's that I need to extends XMISaveImpl and change smth there.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[CDO/SWT.Virtual] Virtual tables and CDOPrefetch
Next Topic:getting editing domain from resource set
Goto Forum:
  


Current Time: Sat May 25 09:43:17 EDT 2013

Powered by FUDForum. Page generated in 0.01599 seconds