Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » AbstractEMFOperation is not making the document dirty
AbstractEMFOperation is not making the document dirty [message #129700] Fri, 25 May 2007 03:32 Go to next message
Eclipse UserFriend
Originally posted by: umamahesh.pramati.com

Hi,

I am using AbstractEMFOperation to make changes in my model but this is
not making my editor dirty. And same operation using the Popup action
"Delete from Model" is working fine. Is there difference between these two
operations. Can any one guide me to follow correct procedure?

Thanks,
Uma Mahesh
Re: AbstractEMFOperation is not making the document dirty [message #130097 is a reply to message #129700] Fri, 25 May 2007 09:52 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Uma,

Should be no differences. Generated ???DocumentProvider.ResourceSetModificationListener
is listening for changes in Resource.modified property. Any changes made
by your command should cause setting Resource.modified == true (see "((Resource)
value).setTrackingModification(true)" call in ???DocumentProvider). So I
suggest you to debug ???DocumentProvider.ResourceSetModificationListener
to see the reason.

-----------------
Alex Shatalin
Previous Topic:Combining figures in gmf
Next Topic:diagram editor 4 GMF ... exists?
Goto Forum:
  


Current Time: Wed Jul 03 10:23:49 GMT 2024

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

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

Back to the top