Bug 12906 - [Editor Mgmt] If file is already opened in one editor, cannot open in another editor (should give error msg)
Summary: [Editor Mgmt] If file is already opened in one editor, cannot open in another...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Eduardo Pereira CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 12927 13504 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-05 16:47 EST by Jane Fung CLA
Modified: 2002-07-26 15:52 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***