Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Modify save behavior in generated GMF editor
Modify save behavior in generated GMF editor [message #159532] Sun, 11 November 2007 22:12 Go to next message
fchen is currently offline fchenFriend
Messages: 22
Registered: July 2009
Junior Member
Hi,

I would like to modify the generated GMF editor in a way that it will
silently save without prompt if the only changes are the position and
notation related. If there are semantic changes then resume the default
behavior. Any suggestion how this can be done? Thanks.
Re: Modify save behavior in generated GMF editor [message #159748 is a reply to message #159532] Mon, 12 November 2007 19:39 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Feng,

Generated ???DocumentProvider should listen for any notifications from EMF
objects (inside ResourceSetModificationListener). You can modify generated
code to save Editor if corresponding notification received.

-----------------
Alex Shatalin
Previous Topic:Border items keeping moving
Next Topic:Nested Containment in GMFMap definition
Goto Forum:
  


Current Time: Sat Apr 20 01:48:06 GMT 2024

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

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

Back to the top