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

Bug 342498

Summary: Pin Call Hierarchy View
Product: [Tools] CDT Reporter: Marc-André Laperle <malaperle>
Component: cdt-source-navAssignee: Marc-André Laperle <malaperle>
Status: RESOLVED FIXED QA Contact: Markus Schorn <mschorn.eclipse>
Severity: enhancement    
Priority: P3 CC: cdtdoug, yevshif
Version: 8.0Flags: mschorn.eclipse: review+
Target Milestone: 8.1.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Pin Call Hierarchy View patch malaperle: iplog-, malaperle: review?

Description Marc-André Laperle CLA 2011-04-11 18:50:57 EDT
I often need to compare call hierarchies between server and clients so I would like to pin a call hierarchy and be able to open another one. JDT also has this feature.
Comment 1 Marc-André Laperle CLA 2011-10-11 01:24:53 EDT
Created attachment 204918 [details]
Pin Call Hierarchy View patch

Hi Markus, would you mind reviewing the patch?

The changes are heavily inspired by JDT. Most of the changes are about:
1. Keeping track of the multiple view parts in a list, updating the list, reusing unpinned view or opening a new one
2. Having a "global" (static) history shared between the views

The patch attached does not contain the icons (copied from JDT) but both code and icons can be obtained through github
https://github.com/MarkZ3/Eclipse-CDT-WIP/tree/bug342498_pin_callhierarchy
Comment 2 Markus Schorn CLA 2011-10-27 06:50:20 EDT
I have reviewed (but not tested) the proposed change and do not see any issues.
This will be a nice enhancement.
Comment 3 Marc-André Laperle CLA 2011-11-12 16:47:28 EST
(In reply to comment #2)
> I have reviewed (but not tested) the proposed change and do not see any issues.
> This will be a nice enhancement.

Thank you for the review. I updated the user documentation and the New and Noteworthy page in the wiki. Committed in master > 20111112.
Comment 4 CDT Genie CLA 2011-11-12 17:23:02 EST
*** cdt git genie on behalf of Marc-Andre Laperle ***

    Bug 342498 - Pin Call Hierarchy View

[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=3108f9efdf3a43479280e6e6b02d107517eed28f