Bug 17699

Summary: Java Editor: Local Histroy menu entries are enabled for read-only files
Product: [Eclipse Project] JDT Reporter: Dirk Baeumer <dirk_baeumer>
Component: UIAssignee: Erich Gamma <erich_gamma>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P2    
Version: 2.0   
Target Milestone: 2.0 F2   
Hardware: Other   
OS: Linux-GTK   
Whiteboard:

Description Dirk Baeumer CLA 2002-05-24 11:03:13 EDT
F1 
 
- make file read-only 
- open it 
- observe: context menu contains Local History actions. Only compare makes 
  sense for read-only files
Comment 1 Dirk Baeumer CLA 2002-05-29 08:21:00 EDT
This is not only a problem in the Java Editor. It occurs in all views that show 
Java elements. For exmaple:

- make file read-only
- open context menu in packages view
  observe: local history actions are enabled.

Best to fix in JavaHistroyAction. This should also fix the problem in the Java 
editor.
Comment 2 Andre Weinand CLA 2002-05-29 12:46:21 EDT
fixed for 20020530
Comment 3 Erich Gamma CLA 2002-06-02 17:35:58 EDT
pls verify
Comment 4 Erich Gamma CLA 2002-06-04 10:00:41 EDT
.
Comment 5 Erich Gamma CLA 2002-06-04 10:03:09 EDT
.