|
|
|
Re: Read diagram from a combined file. [message #826377 is a reply to message #826021] |
Thu, 22 March 2012 01:41 |
xiang yuanbo Messages: 8 Registered: March 2012 |
Junior Member |
|
|
Thank you. (2)that's what we currently did:).
Regards, Yuanbo
Nikolai Raitsev wrote on Wed, 21 March 2012 10:54I'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.
Best regards,
Nikolai
[Updated on: Thu, 22 March 2012 01:41] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02975 seconds