Bug 149986 - DiagramDocumentEditor not able to handle refactor/rename when multiple editors are open on same file
Summary: DiagramDocumentEditor not able to handle refactor/rename when multiple editor...
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 1.0.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-07-07 10:55 EDT by Maneesh CLA
Modified: 2010-07-19 12:26 EDT (History)
0 users

See Also:


Attachments
A patch for this problem (5.59 KB, patch)
2006-07-07 10:56 EDT, Maneesh CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maneesh CLA 2006-07-07 10:55:34 EDT
If there is a refactoring participant fixing the uri of the resource on file names, then the following scenario fails.

Create a diagram file,
Open the diagram editor on this file.
Using Window > new Editor create multiple editors to the same file.
Using Java Package Explorer, rename the file.
Start closing the editors, and exceptions are thrown.
Comment 1 Maneesh CLA 2006-07-07 10:56:21 EDT
Created attachment 45926 [details]
A patch for this problem
Comment 2 Anthony Hunter CLA 2006-07-11 11:11:18 EDT
Committed patch to R1_0_maintenance
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:26:19 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug