Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322610 - [EditorMgmt] Editor's isSaveAsAllowed not called when clicking nodes in NavigatorViewer
Summary: [EditorMgmt] Editor's isSaveAsAllowed not called when clicking nodes in Navig...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 21:45 EDT by Janusz Dalecki CLA
Modified: 2021-11-26 07:45 EST (History)
2 users (show)

See Also:


Attachments
zip file containing project that demonstrates the problem (65.85 KB, text/xml)
2010-08-12 21:45 EDT, Janusz Dalecki CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janusz Dalecki CLA 2010-08-12 21:45:59 EDT
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
Comment 1 Remy Suen CLA 2010-11-09 10:11:24 EST
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?
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:30:13 EDT
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.
Comment 3 Eclipse Genie CLA 2021-11-26 07:45:45 EST
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.