Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » AbstractEMFOperation is not making the document dirty
AbstractEMFOperation is not making the document dirty [message #129700] Thu, 24 May 2007 23: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 05:52 Go to previous message
Eclipse UserFriend
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 16 23:28:05 EDT 2025

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

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

Back to the top