Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » emf/gmf diagram combine files
emf/gmf diagram combine files [message #1385685] Tue, 10 June 2014 13:38 Go to next message
Justus 2000 is currently offline Justus 2000Friend
Messages: 15
Registered: May 2014
Junior Member
Hi,

I have a Project with diagram. If I look in the workspace of the editor I see two files.

https://dl.dropboxusercontent.com/u/58418042/dmn/combine.png

default file:
<?xml version="1.0" encoding="UTF-8"?>
<dmn:DMN xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dmn="dmn">
  <dmn_elements xsi:type="dmn:Decision" name="test"/>
</dmn:DMN>


diagram file:
<?xml version="1.0" encoding="UTF-8"?>
<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:dmn="dmn" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmi:id="_9AFwMPCiEeOtd7ojXr7zpQ" type="Dmn" name="test.dmn_diagram" measurementUnit="Pixel">
  <children xmi:type="notation:Shape" xmi:id="_G7S1EPCjEeOtd7ojXr7zpQ" type="2001" fontName="Segoe UI">
    <children xmi:type="notation:DecorationNode" xmi:id="_G7VRUPCjEeOtd7ojXr7zpQ" type="5001"/>
    <element xmi:type="dmn:Decision" href="default.dmn#//@dmn_elements.0"/>
    <layoutConstraint xmi:type="notation:Bounds" xmi:id="_G7S1EfCjEeOtd7ojXr7zpQ" x="524" y="109"/>
  </children>
  <styles xmi:type="notation:DiagramStyle" xmi:id="_9AFwMfCiEeOtd7ojXr7zpQ"/>
  <element xmi:type="dmn:DMN" href="default.dmn#/"/>
</notation:Diagram>


One of them store only the name of my shape. Is there a possibility to combine them.


Thanks,
Justus
Re: emf/gmf diagram combine files [message #1385946 is a reply to message #1385685] Thu, 12 June 2014 12:17 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2163
Registered: July 2009
Location: York, UK
Senior Member

Hi Justus,

Please see gmf.diagram's "onefile" attribute in [1].

Cheers,
Dimitris

[1] https://www.eclipse.org/epsilon/doc/articles/eugenia-gmf-tutorial/
Re: emf/gmf diagram combine files [message #1385966 is a reply to message #1385946] Thu, 12 June 2014 13:58 Go to previous message
Justus 2000 is currently offline Justus 2000Friend
Messages: 15
Registered: May 2014
Junior Member
Hi Dimitris,

this is what I was looking for.

Thanks a lot.
Previous Topic:work by EPL (Epsilon Pattern Language)
Next Topic:[EOL] Performance Issue: Object Selection of several types
Goto Forum:
  


Current Time: Thu Apr 25 00:00:51 GMT 2024

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

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

Back to the top