Bug 142089 - Example editor refreshes unnecessarily when saving
Summary: Example editor refreshes unnecessarily when saving
Status: VERIFIED FIXED
Alias: None
Product: EMF Services
Classification: Modeling
Component: Transaction (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords: example
Depends on:
Blocks:
 
Reported: 2006-05-16 17:04 EDT by Christian Damus CLA
Modified: 2017-02-24 15:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Damus CLA 2006-05-16 17:04:42 EDT
In the EMFT Transaction/Workspace example editor, when I save the editor by pulling down the 'File -> Save' menu, the editor refreshes (reloads from disk) when I return to it.

In handling the resource change event from the workspace, the editor seems to be ignoring the fact that the resource changed only because it saved it, itself.
Comment 1 Christian Damus CLA 2006-05-18 17:17:18 EDT
Ensured that the handleChangedResource() method does nothing if the changed resources collection no longer contains the editor's resource (because it was saved).
Comment 2 Nick Boldt CLA 2008-01-28 16:35:21 EST
Move to verified as per bug 206558.