Community
Participate
Working Groups
Created attachment 176515 [details] zip file containing project that demonstrates the problem Editor's isSaveAsAllowed() method is not called when clicking nodes in NavigatorViewer. This is causing problems as the "Save As..." button in toolbar is not enabled/disabled properly. Steps to reproduce the problem: 1) Create c:\tmp folder and create in it two text files with extension .jd (file1.jd, file2.jd etc - using notepad.exe or something like that - content of the files does not matter, can be empty) 2) Unzip the project and run it ( by default it will show the content of "c:\tmp" folder- you can change it editing ApplicationWorkbenchAdvisor class). 3) Open both files by double clicking them (their editors will be shown as tab views in editor area). 4) Select the button "Link with Editor" (so it is on) in Navigator View toolbar 5) The when you start clicking on the tab views the isSaveAsAllowed() method is called as expected - I have put a call to beep to make audio sound whenever isSaveAsAllowed is called. 6) When you start clicking on the nodes in NavigatorViewer the correct editor tab is activated but the method isSaveAsAllowed() of the editor is not called. Regards, Janusz
Cannot reproduce the problem with 'Package Explorer' or the 'Navigator'. The problem manifests itself with the 'Project Explorer' though. That is the view you are having problems with, correct?
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.