Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Question about notation model saving
Question about notation model saving [message #186108] Fri, 09 May 2008 16:33 Go to next message
Eclipse UserFriend
Originally posted by: zzhangh.cn.ibm.com

Hi,
I have a Diagram object and it has two Node objects as children, when I
save the diagram to an xml file using resource.save(), only the Diagram
it self gets saved (in the xml file, I only found the diagram's tag). Is
it normal, and using what options can I have all 3 Views in the xml file?

Regards,
Hao
Re: Question about notation model saving [message #186289 is a reply to message #186108] Mon, 12 May 2008 11:03 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Hao,

Try calling Diagram.persistChildren() before save().

-----------------
Alex Shatalin
Previous Topic:Need Reference for cutomizing preferenceStore
Next Topic:Help: how to create a node programmatically??????
Goto Forum:
  


Current Time: Fri Apr 26 11:48:28 GMT 2024

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

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

Back to the top