Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321455

Summary: The org.eclipse.gmf.runtime.common.ui.resources.IFileObserver notification is generating more events
Product: [Modeling] GMF-Runtime Reporter: Rekha <nrekha>
Component: GeneralAssignee: Project Inbox <gmf-runtime-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, lj, lozanoj
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Rekha CLA 2010-08-01 05:49:57 EDT
Build Identifier: 3.6 - I20100507

The org.eclipse.gmf.runtime.common.ui.resources.IFileObserver notification has been modified.
A Save on the resource is now being reported as a file change by GMF. This is generating more events than GMF had broadcasted in the past.

Reproducible: Always
Comment 1 Anthony Hunter CLA 2010-09-07 17:17:36 EDT
This was caused by the change in Bugzilla 300100 in IES 3.5 M3 . 

The change is valid, when you save, the file on the filesystem has changed and you are notified through the IFileObserver. 

I debugged two of our GMF Editors. The first editor does not care about these events. The second one does and requires the existing code to be there. 

So this becomes a no plan to fix.

Since you are at IBM, I can send you some code from our editor to work around the issue.
Comment 2 Anthony Hunter CLA 2011-05-17 12:53:25 EDT
(In reply to comment #1)
> So this becomes a no plan to fix.

fixing the status