Generate Custom XML from Graphical Diagram [message #693104] |
Tue, 05 July 2011 19:39 |
Daniel Ferreira Jorge Messages: 9 Registered: July 2011 |
Junior Member |
|
|
Hi,
I'm developing a custom graphical editor using EMF, GEF, GMF. This editor is supposed to be similar to a BPMN designer, but for a proprietary BPM system, that does not follow or support any international standards like XPDL, BPEL, etc. Basically what I need to do is a diagram editor that is saved in a custom XML format that is supposed to be imported in that proprietary BPM application. This custom XML format is also proprietary and does not follow any standards.
To to simplify things, I need to create a Custom Graphical XML Editor like that:
1. I have a pallete with a square, a circle and a link.
2. I drag a square, a circle and create a link from the square to the circle.
3. I need to save the "model" in XML like that:
<shapes>
<squareShape id="square01" name="Square 01">
</squareShape>
<circleShape id="circle01" name="Circle 01">
</circleShape>
</shapes>
<links>
<connectionLink id="connection01" name="Connection 01">
<linkFrom>square01</linkFrom>
<linkTo>circle01</linkTo>
</connectionLink>
</links>
I tried to find documentation everywhere regarding this, including the eclipse books about modeling projects, EMF etc and I simply cannot find anything. Maybe someone can enlight me with some tips?
THANK YOU VERY MUCH IN ADVANCE!!
Daniel Ferreira Jorge
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03244 seconds