|Re: Read diagram from a combined file. [message #826377 is a reply to message #826021]
||Thu, 22 March 2012 01:41
| xiang yuanbo
Registered: March 2012
Thank you. (2)that's what we currently did:).|
Nikolai Raitsev wrote on Wed, 21 March 2012 10:54
I'm not the Graphiti-Guru, but I think it's possible.
1.) Its easy, if you use EMF for your Domain Objects/Model: look at Graphiti chess example, its works "out of the box"
2.) Its more complicated, if you use Non-EMF-Domain Objects/Model: I would make it in a follow way:
- Create Initial file with diagram and objects file
- Store diagram file and objects file in a two different files temporary
- Open your graphiti editor initially with this two files
- On save-actions write your temporary objects file (the diagram file writes automatically by graphiti) and merge boths (diagram and objects) in your target file.
[Updated on: Thu, 22 March 2012 01:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01956 seconds