Bug 12906

Summary: [Editor Mgmt] If file is already opened in one editor, cannot open in another editor (should give error msg)
Product: [Eclipse Project] Platform Reporter: Jane Fung <jcyfung>
Component: UIAssignee: Eduardo Pereira <eduardo_pereira>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: n.a.edgar, ryan_cooper, support
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jane Fung CLA 2002-04-05 16:47:48 EST
Make sure you have an assoicate Windows editor for your java file.  If  
not, go to the file explorer, double click on any java file, and select 
WordPad or notepad  as default editor for all java files.               
In the Java Perspective, right click on the Java file --> Open With ..  
System Editor.  A notepad and wordpad window will pop up with the java  
file opened. Close it.                                                  
go to the Java Perspective, open a java file by simply double clicking  
on it.  The file is now opened in the workbench.                        
Now right click on the Java file --> Open With .. System Editor.        
Nothing happens.  The workbench should be warning message saying that   
you may overwrite changes... and do you want to continue?  or error     
message saying that theh should close all file first.                   
We believe it's a safety feature where WSAD doesn't allow external      
editing while the file is already opened in WSAD. However, there should 
be warning
Comment 1 DJ Houghton CLA 2002-04-05 17:17:23 EST
Moving to Platform/UI for comment.
Comment 2 Nick Edgar CLA 2002-04-11 11:24:06 EDT
*** Bug 13504 has been marked as a duplicate of this bug. ***
Comment 3 Nick Edgar CLA 2002-07-23 09:57:04 EDT
Should warn if the open editor has unsaved changes, otherwise no warning is 
needed.  The text editor's warning when you come back to the file is 
sufficient.
Comment 4 Eduardo Pereira CLA 2002-07-25 14:16:58 EDT
Fix in WorkbenchPage and messages.properties.
Released only in 201 stream.
Comment 5 Eduardo Pereira CLA 2002-07-26 12:41:57 EDT
Released in the HEAD stream as well.
Comment 6 Eduardo Pereira CLA 2002-07-26 12:45:27 EDT
Fix released in both streams (201 and HEAD)
Comment 7 Nick Edgar CLA 2002-07-26 15:52:08 EDT
*** Bug 12927 has been marked as a duplicate of this bug. ***