Bug 125655 - Enhance Call Hierachy w/ Control Flow Hierarchy mode
Summary: Enhance Call Hierachy w/ Control Flow Hierarchy mode
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2006-01-29 16:32 EST by calvin CLA
Modified: 2009-08-30 02:40 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description calvin CLA 2006-01-29 16:32:17 EST
I think the call hierarchy feature should be enhanced to add Condition hierarchy capability. This way you could quickly see all the possible conditions in control flow that could lead to a method call.

At each node of the tree you would be shown
-       The type of control flow element (if statement, while loop, for loop, exception catch, etc.) Using text or any icon or both.
-       The condition (example: "index != -1", booleanVarble", "preference.isEnabled()")
-       The method and Class in which this control flow element appears

It may be better if there is a pane bellow the tree that shows the condition snippet since they may be too large to fit into a line of text in the tree. Also, java code coloring preferences could be applied to the conditions in a condition snippet pane.

It would be nice if you could easily switch between call hierarchy view and control flow hierarchy view. Enhancing the call hierarchy view to have an alternate viewing mode called "Control Flow Hierarchy".

I suggest that if there are nested conditions in a single method and the parent node is expanded all condition nodes that apply to that single method should be displayed (obviously I think).

There are some tricky cases such as returns before a method call modifying the control flow structure but nothing too complex I think.
Comment 1 Martin Aeschlimann CLA 2006-01-31 04:59:32 EST
Would be nice to see such a feature in an experimental plugin. We don't have the resources at the moment to invest more in the call hierarchy view.
Setting to later.
Comment 2 Eclipse Webmaster CLA 2009-08-30 02:40:06 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.