Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 325694

Summary: [call hierarchy] Delete key should remove element from view instead of deleting it
Product: [Eclipse Project] JDT Reporter: Andrey Loskutov <loskutov>
Component: UIAssignee: Dani Megert <daniel_megert>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, raksha.vasisht, remy.suen
Version: 3.7   
Target Milestone: 3.7 M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Andrey Loskutov CLA 2010-09-19 05:09:56 EDT
Call hierarchy could be extended in the way that it's behavior matches the "standart" behavior of the search view.

1) "Delete" action deletes the Java element from the *code*. This is VERY inconvenient. Expected: as in the Search view, the *search result* is removed from view. Additionally, "del" keybinding should be used by the "remove from view" context menu.

2) There is no way to open multiple call hierarchies at same time. Expected: as in the Search view, "Pin this view" button should be available at the view toolbar.
Comment 1 Dani Megert CLA 2010-09-20 03:42:50 EDT
(In reply to comment #0)
> Call hierarchy could be extended in the way that it's behavior matches the
> "standart" behavior of the search view.
> 
> 1) "Delete" action deletes the Java element from the *code*. This is VERY
> inconvenient. Expected: as in the Search view, the *search result* is removed
> from view. Additionally, "del" keybinding should be used by the "remove from
> view" context menu.
I agree. Actually we discussed this in the team already.

 
> 2) There is no way to open multiple call hierarchies at same time. Expected: as
> in the Search view, "Pin this view" button should be available at the view
> toolbar.
See bug 304135.
Comment 2 Dani Megert CLA 2010-09-20 09:05:59 EDT
Fixed in HEAD.
Available in builds >= N20100920-2000.
Comment 3 Dani Megert CLA 2010-09-20 09:06:33 EDT
Created attachment 179242 [details]
Fix
Comment 4 Raksha Vasisht CLA 2010-10-26 02:19:22 EDT
Verified for 3.7 M3 with I20101025-1800.