|
|
|
Re: Read diagram from a combined file. [message #826377 is a reply to message #826021] |
Wed, 21 March 2012 21:41  |
Eclipse User |
|
|
|
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: Wed, 21 March 2012 21:41] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03315 seconds