Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Diagram saving problems
Diagram saving problems [message #637437] Fri, 05 November 2010 13:56 Go to next message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member


Hello,


i have integrated GMF and EMF in a multipage editor according to this reference http:// www.eclipse.org/articles/article.php?file=Article-Integratin g-EMF-GMF-Editors/index.html but when i did so, I got some trouble in saving my diagram, when i drag&drop an elment (figure) from the palette, the state dirty of the diagram doesn't change and i have to change the figure property to get the dirty state but in the EMF page its working pretty fine,

Any Ideas?

Thanks
Re: Diagram saving problems [message #638205 is a reply to message #637437] Wed, 10 November 2010 13:35 Go to previous messageGo to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi elhamlaoui,

I've got same problem: I've fixed the various problems unifying the TransactionalEditingDomain, as I read in http://www.eclipse.org/articles/Article-Integrating-EMF-GMF- Editors/index.html#upgrading_the_editing_domain

More, pay attention at the method "createEditingDomain()" in [XXXModel]DocumentProvider: by default, your diagram create the editingDomain by itself, maybe you have to modify this.

Hope this helps, regards

Giovanni.
Re: Diagram saving problems [message #640600 is a reply to message #638205] Mon, 22 November 2010 15:28 Go to previous message
Elhamlaoui Mahmoud is currently offline Elhamlaoui MahmoudFriend
Messages: 268
Registered: March 2010
Senior Member
thanks Giovanni,

i found this issue, that helps to solve the majority of the problems in the article : https://subversion.cs.uu.nl/viewvc/staff.martijn.alive/Misc/ Alive.txt?view=markup&pathrev=277 according to the topicmap example
hope it helps
Previous Topic:Voting on GMF Bugs
Next Topic:Square displayed in a list compartment
Goto Forum:
  


Current Time: Thu Apr 18 19:22:45 GMT 2024

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

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

Back to the top